Image Overview: kube-state-metrics-fips

Overview: kube-state-metrics-fips Chainguard Image

Minimal Kube State Metrics Image

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard-private/kube-state-metrics-fips:latest

Usage

To test:

$ docker run cgr.dev/chainguard/kube-state-metrics

There are several methods to deploy the kube-state-metrics, but we will use the helm method.

We should add the prometheus-community Helm repository to our repositories list:

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

Next, we can install the kube-state-metrics with the following command:

helm upgrade --install cg-test \
    prometheus-community/kube-state-metrics \
    --set image.repository=chainguard/kube-state-metrics \
    --set image.registry=cgr.dev \
    --set image.tag=<set to the latest chainguard tag>

Once the kube-state-metrics has been deployed, verify the pods are running:

kubectl get pods -l app.kubernetes.io/name=kube-state-metrics

Last updated: 2024-04-11 12:38