Greetings …
Cluster information:
Learning cluster on Ubuntu 20.04. setup with vagrant
I installed metrics-server following the instruction. Since the master node is tainted, I added a toleration to the deployment. But ‘kubectl top node’ gives only the resource usage on the master node, everything for worker nodes are “Unknown”. I then found the worker nodes are also tainted with the key ‘node.kubernetes.io/unreachable’, so I added that to the toleration as well, My toleration section is now below.
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/unreachable
operator: Exists
But now the metrics-server pod stays in pending status, with no error in the output. So I’m completely puzzled. Can someone more experienced provide some insight what I’m missing?