forked from kubernetes/kube-state-metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Pod] remove kubctl logic in kube_pod_status_phase
As explained in the doc: "kube-state-metrics exposes raw data unmodified from the Kubernetes API". The goal of this change was to remove the kubctl logic introduced to get the `Unknown` phase in `kube_pod_status_phase` metric. With the introduction of `kube_pod_deleted` metric, it is now possible to get the same result with a promQL query. (more info in this kubernetes#1013). Signed-off-by: cedric lamoriniere <[email protected]>
- Loading branch information
1 parent
2148cb9
commit e78ed79
Showing
2 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters