-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
disable events? #124836
Comments
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
kube-apiserver default event ttl is 1h. So etcd will not be filled up by events unless the recent 1 hour events is with a too large amount.
Another solution is to use separated etcd for events. https://openai.com/index/scaling-kubernetes-to-2500-nodes/ openai blog also include the
|
@pacoxu can i put ttl as 0? really not interested in the events |
You may set it to a quite small duration IIUC.
kubernetes/staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go Lines 1435 to 1438 in 48dbcf6
|
/sig cli |
/kind support https://github.com/kubernetes/kubernetes/blob/master/SUPPORT.md |
@neolit123: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What would you like to be added?
looking at kubectl events I see things like "message": "Started container bla" with "userAgent": "kubelet" and "involvedObject" "kind": "Pod"
is there any config option to prevent these events being sent?
Why is this needed?
etcd can fill up
The text was updated successfully, but these errors were encountered: