-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[metricbeat] Add kube_daemonset_status_current_number_scheduled to kubernetes.state_daemonset #37329
base: main
Are you sure you want to change the base?
[metricbeat] Add kube_daemonset_status_current_number_scheduled to kubernetes.state_daemonset #37329
Conversation
…bernetes.state_daemonset
This pull request doesn't have a |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
We should also create the issue for the kubernetes integration update under https://github.com/elastic/integrations in order to keep them in sync |
This is actually something that this PR broke. I created the fix just now here: #37333. After that, the file you mentioned should again be update with Edit: the fix was merged, so you can just update your branch and run |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
This pull request is now in conflicts. Could you fix it? 🙏
|
This PR allows to ingest the
kube_daemonset_status_current_number_schedule
metric in thekubernetes.state_daemonset
dataset:Refer to "Use cases" below for the motivation.
Proposed commit message
[metricbeat] Add kube_daemonset_status_current_number_scheduled to kubernetes.state_daemonset
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Use cases
Although the
ready
state may fluctuate frequently (e.g. because ofDaemonSet
upgrades which can take some time on large clusters), the number ofdesired
Pods should always equal the number ofscheduled
Pods. These 2 values should be stable as they depend on the number of K8s nodes in cluster which is usually stable (or label changes, which is not supposed to happen often). Comparing thedesired
number of Pods with thescheduled
can be useful to early detect scheduling issues withDaemonSets
.