Skip to content

Commit

Permalink
Fix docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Feb 16, 2024
1 parent a5fabcf commit 78351e2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/karpenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions hack/docs/metrics_gen_docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions website/content/en/preview/reference/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 78351e2

Please sign in to comment.