Skip to content

Commit

Permalink
Merge pull request #7166 from chrischdi/ksm-md-add-replicas-ready-metric
Browse files Browse the repository at this point in the history
✨ Add missing status_replicas_ready metric for MachineDeployments at kube-state-metrics
  • Loading branch information
k8s-ci-robot authored Sep 5, 2022
2 parents 724c76b + 5c345dd commit 9cd41ec
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hack/observability/kube-state-metrics/crd-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,15 @@ spec:
- availableReplicas
nilIsZero: true
type: Gauge
- name: status_replicas_ready
help: The number of ready replicas per machinedeployment.
each:
gauge:
path:
- status
- readyReplicas
nilIsZero: true
type: Gauge
- name: status_replicas_unavailable
help: The number of unavailable replicas per machinedeployment.
each:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@
- availableReplicas
nilIsZero: true
type: Gauge
- name: status_replicas_ready
help: The number of ready replicas per machinedeployment.
each:
gauge:
path:
- status
- readyReplicas
nilIsZero: true
type: Gauge
- name: status_replicas_unavailable
help: The number of unavailable replicas per machinedeployment.
each:
Expand Down

0 comments on commit 9cd41ec

Please sign in to comment.