-
Notifications
You must be signed in to change notification settings - Fork 724
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
Support RevisionHistoryLimit in Deployment and Daemonset for Elastic Agents #5789
Comments
It seems legit. Out of curiosity, could you share what kind of performance issues you are having and what value you want to set? I think by default it's set to 10. |
I mostly want it set to something like 3. We have lots of objects in our cluster, so we try to limit the amount of extraneous things that are stored in etcd. Especially when they don't really serve a function past the last 1 or 2. We don't roll back, we only roll forward, so they serve little function for us. And it makes a better user experience when viewing objects created by the deployment, via kubectl or something like argo. |
@thbkrkr Does/would it make sense to add this for the other kinds ECK supports? i.e. elasticsearch and kibana? Happy to submit PRs for those as well and a new issue |
I don't see a good reason not to do the same for other resources managed by ECK, so yes go for it. |
@thbkrkr Should I add support for them in both api versions where they exist? i.e. both v1 and v1beta1 for APM? Or just the latest version? |
Changing the latest version is enough. |
Proposal
As part of the
agents.agent.k8s.elastic.co
CRD under both deployment and daemonset RevisionHistoryLimit should be supported.Deployment already supports
replicas
,podTemplate
so adding a revisionHistoryLimit seems like a small lift.Use case. Why is this important?
Being able to limit the number of
revisionHistoryLimit
matters for performance purposes, and cleaning up old replicasets, etc.The text was updated successfully, but these errors were encountered: