Questions tagged [metrics-server]

58 questions
0
votes
0 answers

kubectl top node show unknown result

Just happen on an alma linux 9.0 server NAME CPU(cores) CPU% MEMORY(bytes) MEMORY% k8s-dev-node1 121m 12% 2595Mi 103% k8s-dev-node10 131m 4% 4994Mi 76% …
0
votes
1 answer

Why isn't Keda's Horizontal Pod Autoscaling (HPA) collecting CPU/Memory metrics in AWS Elastic Kubernetes Service (EKS)?

I ran into this problem and solved it, so this Q&A is here just in case somebody else spent time on sifting through AWS, Keda, and/or Kubernetes' docs trying to deduce this answer My team deployed Keda with the goal of horizontally autoscaling pods…
0
votes
1 answer

Can't query the metrics API

I'm learning to use the metrics server it everything was going ok, I am using Docker for desktop and I installed the metrics server and the "top" command works fine but when I try to query the API using the following command kubectl get --raw…
0
votes
0 answers

Failed to scrape node err="request failed, status: \"404 Not Found\"

I'm trying to get the metrics server up, I followed the instructions mentioned in the Github repository (https://github.com/kubernetes-sigs/metrics-server). I'm getting this error when I see the pod logs I0314 14:35:34.594524 1 serving.go:342]…
0
votes
1 answer

Failed to install metrics-server on minikube

I am trying to install metrics-server on my Kubernetes cluster. But it is not going to READY mode. I am was installed metrics-server in this method kubectl apply -f…
Amjed saleel
  • 348
  • 1
  • 3
  • 15
0
votes
1 answer

Kubernetes monitoring metrics server doesn't start

I have a kubeadm Kubernetes Cluster with One Master and Worker Node. I am trying to install the Kubernetes metrics server but nothing will be collected. The message inside the metrics server is: 17:11:08.680724 1 serving.go:341] Generated…
Cosss
  • 73
  • 9
0
votes
1 answer

Metrics-Server: Node had no addresses that matched types [InternalIP]

I'm using Rancher 2.5.8 to manage my Kubernetes clusters. Today, I created a new cluster and everything worked as expected, except the metrics-server. The status of the metrics-server is always "CrashLoopBackOff" and the logs are telling me the…
Nrgyzer
  • 783
  • 1
  • 14
  • 38
0
votes
0 answers

Kubernetes, minikube and vpa: vpa doesn't scale up to target

before start, i'm running kubernetes on mac. minikube: 1.17.0 metrics-server: 1.8+ vpa: vpa-release-0.8 my issue is vpa doesn't scale up my pod just keep recreating pods. i followed gke vpa example. i set resource requests of deployment cpu: 100m,…
변상현
  • 13
  • 3
0
votes
0 answers

Helm: Conditional deployment of a dependent chart, only install if it has not been installed before

While installing a helm chart a condition for the dependency works well as the following Chart.yaml file. But it doesn't allow to apply the condition based on the existing Kubernetes resource. # Chart.yaml apiVersion: v1 name: my-chart version:…
0
votes
2 answers

Kubernates pod memory limit using metrics

I am trying to fetch the actual and total amount of memory allocated to a pod using API. While I am able to fetch actual memory consumption using metrics server api. How can I fetch total memory assigned to pod using metrics server API? I am…
Peter
  • 405
  • 3
  • 6
  • 14
0
votes
1 answer

4 node(s) didn't match node selector k8s metrics-server

I just installed metrics-server on my kubernetes cluster running $ kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.6/components.yaml But the pod do not boot and I have the following error 0/4 nodes are…
Ajouve
  • 9,735
  • 26
  • 90
  • 137
0
votes
1 answer

Kubernetes without pod metrics

I´m trying to deploy metrics to kubernetes and something really strange is happening, I have one worker and one master. I have the following pods list: NAMESPACE NAME READY STATUS RESTARTS AGE …
Daniel
  • 41
  • 1
  • 4
-1
votes
1 answer

load watcher runs on default port 2020 don't work

i am trying to deploy an image and associated with a service (NodePort), i just create the image and try to use a specific port 2020 like it say here: but i still having problem , did any one can explain to me haw to do it ? i use Kubernetes…
ghost44
  • 17
  • 2
1 2 3
4