Kind: Error shows heapster than metrics-server for kubectl top command

Created on 27 Mar 2020  Â·  3Comments  Â·  Source: kubernetes-sigs/kind

What happened:
Running kubectl top po gives this error.

➜ kubectl top po          
Error from server (NotFound): the server could not find the requested resource (get services http:heapster:)

What you expected to happen:
Output should mention metrics-server than already retired heapster . Is this in kind or upstream kubernetes 1.18 ?

How to reproduce it (as minimally and precisely as possible):

  • Start a new kind cluster ( Currently I'm using version 1.18)
  • On a brand new cluster run kubectl get po

Anything else we need to know?:

Environment:

  • kind version: (use kind version): 0.7.0
  • Kubernetes version: (use kubectl version): 1.18 ( both client and server)
  • Docker version: (use docker info): 18.06.1-ce
  • OS (e.g. from /etc/os-release): Ubuntu 18.04
kinbug triagduplicate

Most helpful comment

metrics server is technically not a required component and not part of the upstream k8s release, we may ship it in the future anyhow though

All 3 comments

This is not a kind issue, you should install the metrics-server
https://github.com/kubernetes-sigs/kind/issues/398#issuecomment-478323664

Closing as duplicate of #398
/close

@aojea: Closing this issue.

In response to this:

This is not a kind issue, you should install the metrics-server
https://github.com/kubernetes-sigs/kind/issues/398#issuecomment-478323664

Closing as duplicate of #398
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

metrics server is technically not a required component and not part of the upstream k8s release, we may ship it in the future anyhow though

Was this page helpful?
0 / 5 - 0 ratings