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

refactor: server start #1196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

refactor: server start #1196

wants to merge 1 commit into from

Conversation

Tpuljak
Copy link
Member

@Tpuljak Tpuljak commented Oct 3, 2024

Refactor: Server Start

Description

This is a small logical refactor that moves responsibility of starting the FRP connection into their respective components. Additionally, starting the headscale server and local CR is now done in the entrypoint (serve) rather than in the server start method. Since those components are self-contained, they should be started outside of the server and provided as a dependency to the server itself. This will also enable us to connect to external headscale servers since the Daytona server won't manage one by itself.

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

- headscale, local container registry and the api server are responsible for their own FRP connection
- headscale and local CR are started in the entrypoint rather than in the server start method

Signed-off-by: Toma Puljak <[email protected]>
@Tpuljak Tpuljak requested a review from a team as a code owner October 3, 2024 14:32
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.

1 participant