-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Implement kube_*_labels and kube_*_annotations metrics for pdb #1623
Implement kube_*_labels and kube_*_annotations metrics for pdb #1623
Conversation
This commit introduces kube_*_labels and kube_*_annotations metrics to poddisruptionbudget to keep in consistency with other k8s objects. Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
Hmm, I just realised that there is already a PR from my colleague to achieve the same. |
Hi @arajkumar, it looks that that PR is still a draft. Which one of these two should we close? |
1 similar comment
Hi @arajkumar, it looks that that PR is still a draft. Which one of these two should we close? |
I can close #1620 in favour of this. lgtm |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arajkumar, mrueg, PhilipGough The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
All other allowlist selectors are using plural form of resource name except PDB. Actually it is a typo introduced by PR[1]. [1] kubernetes#1623 Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
What this PR does / why we need it:
This commit introduces kube_labels and kube_annotations metrics to
poddisruptionbudget to keep in consistency with other k8s objects.
Signed-off-by: Arunprasad Rajkumar arajkuma@redhat.com
How does this change affect the cardinality of KSM: (increases, decreases or does not change cardinality)
This change adds 2 new metrics PodDisruptionBudget(PDB) object to get information about labels and annotations.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #