Enable the Kubernetes Metrics Server with Talos Linux
Find out how to establish a Kubernetes Metrics server on your Talos Linux environment.
Series - Talos Linux Setup
This is useful for when you want to check the CPU and/or memory usage in the terminal with kubectl top
or by exporting the metrics on a dashboard with Prometheus and Grafana.
Tip
You can do this before installing Talos, or if you have already installed it, do it with
talosctl edit machineconfig
.Configuration
This configuration has to be done just on the control plane node in your cluster. It will also enable automatic kubelet certificate rotation. Here is the configuration (click to expand):
|
|
This configuration has to be done on every other node in your cluster. Here is the configuration (click to expand):
|
|
If you find this post helpful, please consider supporting the blog. Your contributions help sustain the development and sharing of great content. Your support is greatly appreciated!
Buy Me a Coffee