diff --git a/charts/karpenter/README.md b/charts/karpenter/README.md index 43743ad8a7cc..54ee4ff8aea8 100644 --- a/charts/karpenter/README.md +++ b/charts/karpenter/README.md @@ -2,7 +2,7 @@ A Helm chart for Karpenter, an open-source node provisioning project built for Kubernetes. -![Version: 0.34.0](https://img.shields.io/badge/Version-0.33.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.33.0](https://img.shields.io/badge/AppVersion-0.33.0-informational?style=flat-square) +![Version: 0.34.0](https://img.shields.io/badge/Version-0.34.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.34.0](https://img.shields.io/badge/AppVersion-0.34.0-informational?style=flat-square) ## Documentation diff --git a/hack/docs/metrics_gen_docs.go b/hack/docs/metrics_gen_docs.go index 5522034f0001..ffc7c07ed852 100644 --- a/hack/docs/metrics_gen_docs.go +++ b/hack/docs/metrics_gen_docs.go @@ -284,6 +284,7 @@ func getIdentMapping(identName string) (string, error) { "consistencySubsystem": "consistency", "batcherSubsystem": "cloudprovider_batcher", "cloudProviderSubsystem": "cloudprovider", + "stateSubsystem": "cluster_state", } if v, ok := identMapping[identName]; ok { return v, nil diff --git a/website/content/en/preview/reference/metrics.md b/website/content/en/preview/reference/metrics.md index 7ec8e338711d..d50ec4f20d84 100644 --- a/website/content/en/preview/reference/metrics.md +++ b/website/content/en/preview/reference/metrics.md @@ -135,6 +135,14 @@ Number of disruption actions performed. Labeled by disruption method. ### `karpenter_consistency_errors` Number of consistency checks that have failed. +## Cluster State Metrics + +### `karpenter_cluster_state_synced` +Returns 1 if cluster state is synced and 0 otherwise. Synced checks that nodeclaims and nodes that are stored in the APIServer have the same representation as Karpenter's cluster state + +### `karpenter_cluster_state_node_count` +Current count of nodes in cluster state + ## Cloudprovider Metrics ### `karpenter_cloudprovider_instance_type_price_estimate`