Questions tagged [metrics-server]
58 questions
14
votes
8 answers
Metrics server is currently unable to handle the request
I am new to kubernetes and was trying to apply horizontal pod autoscaling to my existing application. and after following other stackoverflow details - got to know that I need to install metric-server - and I was able to - but some how it's not…

Avinash Jain
- 151
- 1
- 2
- 5
13
votes
2 answers
Kubernetes metrics server not running
I have install metrics server on my local k8s cluster on VirtualBox using https://github.com/kubernetes-sigs/metrics-server#installation
But the metrics server pod is in
metrics-server-844d9574cf-bxdk7 0/1 CrashLoopBackOff 28 12h …

Himadri Ganguly
- 715
- 4
- 11
- 31
7
votes
4 answers
Error from server (NotFound): podmetrics.metrics.k8s.io "mem-example/memory-demo" not found
I am following this tutorial: https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/
I have created the memory pod demo and I am trying to get the metrics from the pod but it is not working.
I installed the metrics server…

Guerrilla
- 13,375
- 31
- 109
- 210
5
votes
2 answers
Kubernetes metrics-server FailedDiscoveryCheck
was hoping to get a little help, my Google-Fu didnt get me much closer. I'm trying to install the metrics server for my fedora-coreos kubernetes 4 node cluster like so:
kubectl apply -f…

Frank S
- 99
- 1
- 3
- 8
5
votes
2 answers
Metrics server not working in Kubernetes cluster
I have set up kubernetes cluster on ubuntu 18+. It's working fine. now i had added metric server but it's not working.
# kubectl get apiservices
v1beta1.metrics.k8s.io kube-system/metrics-server False (FailedDiscoveryCheck) …

Vinit Patel
- 2,408
- 5
- 28
- 53
4
votes
1 answer
metrics-server no metrics known for pod error during deployment
I have a newly created AWS EKS 1.18 Cluster, applications are deployed on it, everything is fine, test and load test are successful, namely, my HPA and metrics-server is working fine.
But when I make a deployment to a service, metrics-server is…

Oguzhan Aygun
- 1,314
- 1
- 10
- 24
4
votes
1 answer
metrics-server with CrashLoopBackOff
I´m not able to run the metrics-server pod, it gets to crashloopbackoff error. Running "kubectl get pods -n kube-system" I see the following output:
NAME READY STATUS RESTARTS AGE
calico-kube-controllers-6b9d4c8765-mht4w 1/1 Running 0…

Daniel
- 41
- 1
- 4
3
votes
2 answers
Can't access default k3s metrics server from Prometheus-Adapter
I have installed Prometheus-adapter along with the default metrics-server that comes with k3s securely on port 443.
Unfortunately, I get no resources when I query custom.metrics.k8s.io
$ kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1" | jq…

realsarm
- 583
- 6
- 11
2
votes
1 answer
k3s - Metrics server doesn't work for worker nodes
I deployed a k3s cluster into 2 raspberry pi 4. One as a master and the second as a worker using the script k3s offered with the following options:
For the master node:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC='server --bind-address…

Assaf Sapir
- 154
- 2
- 13
2
votes
1 answer
Google Kubernetes Engine (GKE) default metrics-server deployment update
The metrics-server-v0.3.6 deployment that is installed into GKE clusters by default is using an outdated version of addon-resizer (addon-resizer:1.8.11-gke.0) that causes CPU utilization and throttling issues. See here
The cluster running is on the…

Luke Rixson
- 607
- 5
- 20
2
votes
0 answers
kubernetes HPA - Unauthorized has prevented the request from succeeding
I am trying to deploy HPA for my application but I have been getting the Unauthorized error
kubectl desribe hpa homekitchen:
Events:
Type Reason Age From Message
---- ------ …

Pranav
- 95
- 7
2
votes
1 answer
metrics-server:v0.4.2 cannot scrape metrics inside AWS kubernetes cluster environment (cannot validate certificate, doesn't contain any IP SANs)
Situation:
The metrics-server deployment image is: k8s.gcr.io/metrics-server/metrics-server:v0.4.2
I have used kops tool to deploy a kubernetes cluster into one AWS account.
The error and reason why it is failing, fetched by
kubectl -n kube-system…

Kristi Jorgji
- 1,154
- 1
- 14
- 39
2
votes
2 answers
How to scrape metrics-server to prometheus outside kubernetes cluster
I have installed kubernetes metrics-server https://github.com/kubernetes-sigs/metrics-server It works fine, I can use "kubectl top pods" & "kubectl top nodes", Now I want to scrape the metrics to prometheus outside kubernetes cluster to be shown on…

Aditia Rahman
- 90
- 2
- 11
2
votes
2 answers
Kubernetes metrics-server doesn't provide all metrics or scale HPA
Following the example here https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-metrics-not-related-to-kubernetes-objects, I have created installed metrics-server and modified it as follows:
…

eomolo
- 61
- 5
2
votes
0 answers
Horizontal pod autoscaler not able to get metrics in minikube deployment
This is an open issue: https://github.com/kubernetes/minikube/issues/9370
Steps to reproduce:
$ minikube start — extra-config=controller-manager.horizontal-pod-autoscaler-upscale-delay=1m —…

Adrián Arroyo Perez
- 375
- 5
- 20