Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when deploying #1524

Open
IQHT-DGH opened this issue Jul 13, 2024 · 4 comments
Open

Error when deploying #1524

IQHT-DGH opened this issue Jul 13, 2024 · 4 comments
Assignees
Labels
kind/support Categorizes issue or PR as a support question. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@IQHT-DGH
Copy link

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:

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

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 13, 2024
@dgrisonnet dgrisonnet added kind/support Categorizes issue or PR as a support question. and removed kind/bug Categorizes issue or PR as related to a bug. labels Jul 25, 2024
@dgrisonnet
Copy link
Member

/triage accepted
/assign @yangjunmyfm192085

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jul 25, 2024
@yangjunmyfm192085
Copy link
Contributor

hi, @IQHT-DGH maybe you can check if there are any resource limits like LimitRange configured in the cluster?

@IQHT-DGH
Copy link
Author

IQHT-DGH commented Jul 26, 2024 via email

@yangjunmyfm192085
Copy link
Contributor

It looks like the same issue as this one. #1205.
Looks like it's AKS related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

4 participants