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

CDH: there are 2 process instances of AA, CDH and api-server-rest #1495

Closed
mkulke opened this issue Oct 4, 2023 · 0 comments · Fixed by #1499
Closed

CDH: there are 2 process instances of AA, CDH and api-server-rest #1495

mkulke opened this issue Oct 4, 2023 · 0 comments · Fixed by #1499

Comments

@mkulke
Copy link
Contributor

mkulke commented Oct 4, 2023

We start them via systemd and kata-agent is also starting them, so they'll race for socket resources. I think it's best we let kata-agent spawn the processes, as in the nested kata scenario, and deviate as little as possible in peerpods.

A possible exception is "api-server-rest" since we need to spawn this one in the podns network namespace, which kata-agent is unaware of. There will also be no port contention between those 2 processes, as they are running in different ns namespaces.

In the long run, I think kata-agent should be aware of the podns and have a respective flag, so we don't have to patch the pod spec in agent-protocol-forwarder and only need a single api-server-rest process.

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 a pull request may close this issue.

1 participant