Skip to main content
Version: Next 🚧

Installing a metrics server

If you don't have a metrics server in your Kubernetes cluster, the application Pods (instances) report errors when trying to show metrics (RAM, CPU etc). You would do this with the command epinio app show.

To have this command operating correctly you need a metrics server.

Installation​

Follow the documentation for installing a metrics server. The documentation has requirements, installation methods (plain YAML, helm chart, and others), and guidance for more configurations such as high availability and security.

As an example, this command installs a metrics server:

kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
note

This installation method is for simple environments, meaning those which aren't high availability setup, those that aren't large clusters needing custom scaling setups.