Open
Description
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:
- spec.template.spec.containers[0].resources.requests: Invalid value: "100m": must be less than or equal to cpu limit of 45m
- spec.template.spec.containers[0].resources.requests: Invalid value: "200Mi": must be less than or equal to memory limit of 59Mi
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.0 -
Metrics 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:
- Kubelet config:
spoiler for Kubelet config:
- Metrics server logs:
spoiler for Metrics Server logs:
- Status of Metrics API:
spolier for Status of Metrics API:
kubectl describe apiservice v1beta1.metrics.k8s.io
/kind bug