Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ports to ai-studio #51

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

lstocchi
Copy link
Collaborator

This PR adds a new property Ports in the ai-studio.yaml files.
This includes the ports used by the every single element within an ai application (model_service, vectordb, ai app).

It will be used by ai-studio to know which port to use when opening an app in the browser or which ports to set in the pod (also if we split the model_services and the ai app in different pods in future).

This is needed bc we now retrieve the ports info from the images exposedPorts property but this can contain ports related to the base image which is something we do not need to handle. E.g. by using the registry.access.redhat.com/ubi9/python-39:latest base image the port 8080 is also exposed.

Copy link
Collaborator

@MichaelClifford MichaelClifford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lstocchi lstocchi merged commit c12f497 into containers:main Feb 19, 2024
1 check passed
@lstocchi lstocchi deleted the addPortsToAiStudio branch February 19, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants