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

Ch 19 - Metrics server error when using Vagrant setup from Ch 18 #16

Open
lalanikarim opened this issue May 31, 2021 · 0 comments
Open

Comments

@lalanikarim
Copy link

Unable to work on Ch 19 examples with auto-scaling due to metrics-server errors when using Vagrant setup from Ch 18.

kubectl get nodes

NAME             STATUS   ROLES    AGE   VERSION
kiamol-control   Ready    master   20h   v1.18.5
kiamol-node      Ready    <none>   20h   v1.18.5
kiamol-node2     Ready    <none>   46m   v1.18.5
kiamol-node3     Ready    <none>   46m   v1.18.5

kubectl top nodes

Error from server (ServiceUnavailable): the server is currently unable to handle the request (get nodes.metrics.k8s.io)

kubectl -n kube-system logs -l k8s-app=metrics-server

Error from server (NotFound): the server could not find the requested resource ( pods/log metrics-server-85cdc4cd44-b8frr)

kubectl -n kube-system get all -l k8s-app=metrics-server

NAME                                  READY   STATUS    RESTARTS   AGE
pod/metrics-server-85cdc4cd44-b8frr   1/1     Running   0          4m51s

NAME                             READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/metrics-server   1/1     1            1           16m

NAME                                        DESIRED   CURRENT   READY   AGE
replicaset.apps/metrics-server-85cdc4cd44   1         1         1       4m51s
replicaset.apps/metrics-server-9cf886767    0         0         0       16m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant