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

Support image's own entrypoint and published ports #2672

Open
achimnol opened this issue Aug 8, 2024 · 0 comments
Open

Support image's own entrypoint and published ports #2672

achimnol opened this issue Aug 8, 2024 · 0 comments
Labels
comp:agent Related to Agent component comp:manager Related to Manager component type:feature Add new features urgency:2 With time limit, it should be finished within it; otherwise, resolve it when no other chores.
Milestone

Comments

@achimnol
Copy link
Member

achimnol commented Aug 8, 2024

As a follow-up to #2582 (#1684 and #758), let's support the container image's own entrypoint scripts and published ports natively.

  • Image's own entrypoint
    • Often they execute a service process (e.g., redis/postgres containers) or start other background processes as needed.
    • Since we override the container entrypoint with entrypoint.sh, our entrypoint script should invoke them as a background task.
  • Image's own published ports
    • Since there is no service-port declaration, we could just assume that those are predefined "pre-open" service ports.
    • Pre-open service ports do not have explicit initialization steps managed by Backend.AI kernel runner, but the manager just notifies and registers the TCP ports of the container to the App Proxy for external access.
@achimnol achimnol added type:feature Add new features comp:manager Related to Manager component comp:agent Related to Agent component urgency:2 With time limit, it should be finished within it; otherwise, resolve it when no other chores. labels Aug 8, 2024
@achimnol achimnol added this to the 24.09 milestone Aug 8, 2024
@achimnol achimnol changed the title Support image's own entrypoint and publish ports Support image's own entrypoint and published ports Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:agent Related to Agent component comp:manager Related to Manager component type:feature Add new features urgency:2 With time limit, it should be finished within it; otherwise, resolve it when no other chores.
Projects
None yet
Development

No branches or pull requests

1 participant