You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Helm ls performance degradation with many releases #4821
I don't think any patches were merged that changed how helm ls works internally. A check to confirm would never hurt.
Are you able to identify what API calls are being made between Tiller and the Kubernetes API? That way it'd be easier to identify where we'd need to make changes.
@Stono Can you check how many ConfigMaps you actually have in etcd that belongs to Helm? This command should give you the count:
kubectl -n kube-system get cm --no-headers -l OWNER=TILLER | wc -l
Based on just a quick look at the code, it seems like pretty much all filtering, including the size limit, is enforced in Tiller and not in the ApiServer/etcd. So you could potentially be pulling in a large number of ConfigMaps from the ApiServer.
We are seeing performance degradation over time on older clusters. Every execution of helm upgrade or helm list is churning the API servers and causes 1-2 GB additional RAM use. Chaining command just keeps allocating more RAM. Waiting a decent period of time allows some RAM to be released.
This command a one cluster took a while and there are 3.5k ConfigMaps. Each is 1MB max, so up to 3.5GB data. The most frequently deployed application has >1000 revisions.
$ kubectl -n kube-system get cm --no-headers -l OWNER=TILLER | wc -l
3417
How can we prune ConfigMaps for older revisions of deployments with out deleting deployed, in-production applications?
closing as a duplicate of #4543. Let's keep the discussion in the same ticket as they seem to be both pointing at the same issue @mortent is alluding to.
Activity
bacongobbler commentedon Oct 22, 2018
I don't think any patches were merged that changed how
helm lsworks internally. A check to confirm would never hurt.Are you able to identify what API calls are being made between Tiller and the Kubernetes API? That way it'd be easier to identify where we'd need to make changes.
bacongobbler commentedon Oct 22, 2018
another related issue is #4543, though I don't think anyone from the community has identified the root problem either.
mortent commentedon Oct 23, 2018
@Stono Can you check how many ConfigMaps you actually have in etcd that belongs to Helm? This command should give you the count:
Based on just a quick look at the code, it seems like pretty much all filtering, including the size limit, is enforced in Tiller and not in the ApiServer/etcd. So you could potentially be pulling in a large number of ConfigMaps from the ApiServer.
whereisaaron commentedon Feb 13, 2019
We are seeing performance degradation over time on older clusters. Every execution of
helm upgradeorhelm listis churning the API servers and causes 1-2 GB additional RAM use. Chaining command just keeps allocating more RAM. Waiting a decent period of time allows some RAM to be released.This command a one cluster took a while and there are 3.5k ConfigMaps. Each is 1MB max, so up to 3.5GB data. The most frequently deployed application has >1000 revisions.
How can we prune ConfigMaps for older revisions of deployments with out deleting deployed, in-production applications?
bacongobbler commentedon Feb 13, 2019
closing as a duplicate of #4543. Let's keep the discussion in the same ticket as they seem to be both pointing at the same issue @mortent is alluding to.