|
1 year ago | |
---|---|---|
.. | ||
templates | 1 year ago | |
.helmignore | 1 year ago | |
Chart.yaml | 1 year ago | |
README.md | 1 year ago | |
values.yaml | 1 year ago |
Installs the kube-state-metrics agent.
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
_See helm repo for command documentation._
helm install [RELEASE_NAME] prometheus-community/kube-state-metrics [flags]
See configuration below.
_See helm install for command documentation._
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
_See helm uninstall for command documentation._
helm upgrade [RELEASE_NAME] prometheus-community/kube-state-metrics [flags]
_See helm upgrade for command documentation._
You can upgrade in-place:
v3.0.0 includes kube-state-metrics v2.0, see the changelog for major changes on the application-side.
The upgraded chart now the following changes:
See Customizing the Chart Before Installing. To see all configurable options with detailed comments:
helm show values prometheus-community/kube-state-metrics
You can enable kube-state-metrics
endpoint protection using kube-rbac-proxy
. By setting kubeRBACProxy.enabled: true
, this chart will deploy one RBAC proxy container per endpoint (metrics & telemetry).
To authorize access, authenticate your requests (via a ServiceAccount
for example) with a ClusterRole
attached such as:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kube-state-metrics-read
rules:
- apiGroups: [ "" ]
resources: ["services/kube-state-metrics"]
verbs:
- get
See kube-rbac-proxy examples for more details.