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

buildState is slow on big deployments #418

Closed
seb4stien opened this issue Mar 8, 2020 · 2 comments
Closed

buildState is slow on big deployments #418

seb4stien opened this issue Mar 8, 2020 · 2 comments

Comments

@seb4stien
Copy link

The buildState is quite slow on big deployments (> 300 apps) due to the getReleaseContext on each release. It can takes a few minutes which has a big impact on CI/CD pipelines (because we have to build the state even for simple changes).

A possible solution could be to retrieve all the contexts per namespace using a query like:

kubectl get secret -l owner=helm -o jsonpath='{range .items[*]}{.metadata.name}"-"{.metadata.labels.HELMSMAN_CONTEXT}"|"{end}'

Do you already have some plan to work on this part? What do you think of this proposal?

@wadi-chemkhi
Copy link

I'm having the same issue... Did you find a temporary workaround @seb4stien ?

@sami-alajrami
Copy link
Contributor

Just for the record, this has been addressed with PR #420

sami-alajrami pushed a commit that referenced this issue Mar 31, 2020
document --context-override fixes #418
mkubaczyk pushed a commit that referenced this issue Aug 18, 2023
mkubaczyk pushed a commit that referenced this issue Aug 18, 2023
document --context-override fixes #418
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

No branches or pull requests

3 participants