This package provides kube-state-metrics service which listens to Kubernetes API server and generates metrics about the state of Kubernetes objects like Deployments, Nodes, or Pods.
From kube-state-metrics repository:
That kube-state-metrics is about generating metrics from Kubernetes API objects without modification. This ensures, that features provided by kube-state-metrics have the same grade of stability as the Kubernetes API objects themselves. In turn, this means, that kube-state-metrics in certain situations may not show the same values as kubectl, as kubectl applies certain heuristics to display comprehensible messages. kube-state-metrics exposes raw data unmodified from the Kubernetes API, this way users have all the data they require and perform heuristics as they see fit.
- Kubernetes >=
1.25.0
- Kustomize =
v3.5.3
- prometheus-operator
- kube-state-metrics image:
registry.sighup.io/fury/kube-state-metrics/kube-state-metrics:v2.9.2
- kube-state-metrics repository: kube-state-metrics on GH
- kube-rbac-proxy image:
registry.sighup.io/fury/brancz/kube-rbac-proxy:v0.14.2
- kube-rbac-proxy repository: kube-rbac-proxy on Github
Fury distribution kube-state-metrics is deployed with the following configuration:
- Resource limits are
100m
for CPU and150Mi
for memory - Listens on port
8080
- Exposes kubernetes-related metrics on port
8080
and metrics about itself on port8081
- Metrics are scraped by Prometheus with
30s
intervals
You can deploy kube-state-metrics by running the following command:
kustomize build | kubectl apply -f -
For license details please see LICENSE