Reputation: 141
I am performing test migrations from k8s 1.7 to 1.8. After I upgrade the workers and the controller managers I see that the output of kubectl get nodes
only returns workers. Previously, on k8s 1.7 a kubectl get nodes
would return the workers and the controller managers. I have tried this with the 1.7 and 1.8 version of kubectl.
I am not able to find anything in the 1.8 Changelog that states this output would change.
Is this expected output or is this a bug? I have asked this twice in the Slack channel and have not gotten a reply so I am asking here.
Upvotes: 0
Views: 423
Reputation: 141
I had neglected to setup the kubeconfig flag for the kubelet wrapper in the controller setup. The controller was never registering to the api server. The --api-servers flag was deprecated in 1.8 and requires configuring the server in the kubeconfig file.
Upvotes: 1