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

Metics server not working on 1.26+ #1266

Closed
babubalagani opened this issue Jun 2, 2023 · 5 comments
Closed

Metics server not working on 1.26+ #1266

babubalagani opened this issue Jun 2, 2023 · 5 comments
Assignees
Labels
triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@babubalagani
Copy link

I have installed the metrics server using registry.k8s.io/metrics-server/metrics-server:v0.6.3 on kubernetes version 1.26 and i did the below changes on deployment args

  • /metrics-server
  • --kubelet-insecure-tls
  • --kubelet-preferred-address-types=InternalIP

My k8s setup is on virtualBox with 1 master and 2 worker nodes.

i used to get all the times as metrics not available
root@client:/pods# k top pods
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get pods.metrics.k8s.io)
root@client:
/pods# k top nodes
Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io)

Let me know if you any more information

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jun 2, 2023
@mzaian
Copy link

mzaian commented Jun 2, 2023

Hello @babubalagani

please set --kubelet-insecure-tls to --kubelet-insecure-tls=true

@logicalhan
Copy link

/triage accepted
/assign @dgrisonnet

@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 Jun 15, 2023
@logicalhan
Copy link

/type support

@dgrisonnet
Copy link
Member

Hi @babubalagani, have you been able to resolve your issue?

@dgrisonnet
Copy link
Member

Feel free to reopen if you are still facing the issue.

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

No branches or pull requests

5 participants