Open IQHT-DGH opened 4 months ago
/triage accepted /assign @yangjunmyfm192085
hi, @IQHT-DGH maybe you can check if there are any resource limits like LimitRange configured in the cluster?
Hi,
Thank you for your assistance, at the time of reporting this issue this was a freshly created AKS server where no specific limit ranges have been created by ourselves. Having reviewed the cluster again this morning I am able to see two metrics server pods in the kube-system namespace (although it isn't working correctly, and we'd love to be able to get HPA working) and there are no limit ranges imposed see images from lens...
[cid:544de976-1e0f-4728-8300-465e69fc44ea]
[cid:65509759-5a6a-41b0-9c87-c80211023f80]
Damian Hill
Solution Architect & Tech Lead iQemo
[image]
iQ HealthTech Limited, Hanover House, 5 Hanover Close
Christchurch, BH23 2FA, UK
www.iQHealthTech.comhttp://www.iqhealthtech.com/ | Linkedinhttps://uk.linkedin.com/company/iq-healthtech | Twitterhttps://twitter.com/iqhealthtech
From: JUN YANG @.> Sent: 26 July 2024 12:24 AM To: kubernetes-sigs/metrics-server @.> Cc: Damian Hill @.>; Mention @.> Subject: Re: [kubernetes-sigs/metrics-server] Error when deploying (Issue #1524)
hi, @IQHT-DGHhttps://github.com/IQHT-DGH maybe you can check if there are any resource limits like LimitRange configured in the cluster?
— Reply to this email directly, view it on GitHubhttps://github.com/kubernetes-sigs/metrics-server/issues/1524#issuecomment-2251561491, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVFMUCJADC7U6GSPDP7D4F3ZOGCJRAVCNFSM6AAAAABK2GQZHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGU3DCNBZGE. You are receiving this because you were mentioned.Message ID: @.***>
It looks like the same issue as this one. https://github.com/kubernetes-sigs/metrics-server/issues/1205. Looks like it's AKS related.
I have just created a new AKS Cluster, and upon installing metrics server so that we are able to implement HPA.
Upon running the kubectl command...
It appeared to get almost to the end and the following appeared...
The Deployment "metrics-server" is invalid:
Environment:
Kubernetes distribution (GKE, EKS, Kubeadm, the hard way, etc.): Azure AKS
Container Network Setup (flannel, calico, etc.): Calico
Kubernetes version (use
kubectl version
): 1.29.0Metrics Server manifest kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
Metrics Server manifest
spoiler for Metrics Server manifest:
spoiler for Kubelet config:
spoiler for Metrics Server logs:
spolier for Status of Metrics API:
```sh kubectl describe apiservice v1beta1.metrics.k8s.io ```/kind bug