A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

kube-state-metrics

A simple service that listens to the Kubernetes API server and generates metrics about the state of the objects.

Addon version

0.3.1

Released

2023-09-25

KubeVela

>=v1.7.0

Upstream

https://github.com/kubernetes/kube-state-metrics

Tags

Official, Observability, Kubernetes, Metrics, Prometheus

Source

kubevela/catalog: addons/kube-state-metrics

Install​

With the CLI​

vela addon enable kube-state-metrics

Set parameters as key=value on the same command.

vela addon disable kube-state-metrics

As a component (KubeVela Next)​

Install it from an Application with the addon component, so the addon is declared, versioned and reviewed with the rest of your platform; deleting the Application uninstalls it. Needs the EnableAddonComponent feature gate (alpha, off by default): install or upgrade vela-core with --set featureGates.enableAddonComponent=true.

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: platform
namespace: vela-system
spec:
components:
- name: kube-state-metrics
type: addon
properties:
version: "0.3.1"
properties:
namespace: "o11y-system"

More​

  • Parameters: everything vela addon enable takes.
  • Guide: how to use the addon, from its README.
  • Versions: 5 releases of the addon and what each needs.

Feedback​

Found something wrong, or missing something you need? Tell us in kubevela/catalog: