Skip to content

Commit

Permalink
Kube state metrics chart (#426)
Browse files Browse the repository at this point in the history
* Logz.io KSM Chart v4.24.0

- Forked `kube-state-metrics` v4.24.0 Helm chart
  - Added support for Daemonset that will capture metrics on a pod level.
  - Configured Deployment pod that will capture metrics for the rest of the resources.

* Remove -logzio suffix from version

* Add KSM options

- extraArgs
- nodeSelector
- Service annotation for logz.io
  • Loading branch information
ralongit authored Jan 22, 2024
1 parent 73a41eb commit 3da77ce
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions charts/kube-state-metrics/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ replicas: 1
# List of additional cli arguments to configure kube-state-metrics
# for example: --enable-gzip-encoding, --log-file, etc.
# all the possible args can be found here: https://github.com/kubernetes/kube-state-metrics/blob/master/docs/cli-arguments.md
extraArgs: []
extraArgs: ["--metric-labels-allowlist=nodes=[kubernetes.azure.com/scalesetpriority,eks.amazonaws.com/capacityType,cloud.google.com/gke-preemptible]"]

service:
port: 8080
Expand All @@ -33,7 +33,8 @@ service:
# Only allow access to the loadBalancerIP from these IPs
loadBalancerSourceRanges: []
clusterIP: ""
annotations: {}
annotations:
logz.io/app: "kubernetes360"

## Additional labels to add to all resources
customLabels: {}
Expand Down Expand Up @@ -140,8 +141,8 @@ containerSecurityContext: {}

## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}

nodeSelector:
kubernetes.io/os: linux
## Affinity settings for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
affinity: {}
Expand Down

0 comments on commit 3da77ce

Please sign in to comment.