2-Olly
Grafana-Stack
Kubernetes-Ext-Olly
Metric Server

Deploy Metric Server in Kubernetes (K8s)

To deploy the Metric Server in your Kubernetes cluster, follow these steps:

kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.1/components.yaml
kubectl get pods -n kube-system
kubectl top nodes
kubectl top pods --all-namespaces

If you encounter any TLS issues, follow these troubleshooting steps:

If getting TLS-related errors:

kubectl logs -n kube-system -l k8s-app=metrics-server
kubectl edit deployment metrics-server -n kube-system
  • Add the following flag to the args section to disable TLS verification (this is necessary in some environments like kind):
args:
- --kubelet-insecure-tls

This will allow the Metric Server to connect without performing TLS verification.


💬 Need a Quick Summary?

Hey! Don't have time to read everything? I get it. 😊
Click below and I'll give you the main points and what matters most on this page.
Takes about 5 seconds • Uses Perplexity AI