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

[PoC] In-code kubectl apply #767

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

[PoC] In-code kubectl apply #767

wants to merge 1 commit into from

Conversation

mikkeloscar
Copy link
Contributor

Proof of Concept of porting the "kubectl apply" code from deployment-service to also utilize it in CLM. Basically this means making the kubectl apply operation via Go instead of calling the external kubectl binary.

The motivation for this change is that we currently restrict how many executions of kubectl apply we do concurrently as it's hard to control the memory. This has the side effect of limiting how many clusters we can process in parallel. The idea is that by having this in go we save memory by not having to run another process and we thus can do more in parallel.

TODO

  • Roll out behind a config-item to test in selected clusters first
  • Check if we still need to control concurrency.

@mikkeloscar mikkeloscar added do-not-merge minor Minor changes, e.g. low risk config updates, changes that do not introduce a new API call. labels May 15, 2024
@mikkeloscar mikkeloscar force-pushed the kubectl-apply branch 2 times, most recently from 20f40d1 to f2cd750 Compare October 24, 2024 14:44
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge minor Minor changes, e.g. low risk config updates, changes that do not introduce a new API call.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant