Created
May 1, 2019 14:59
-
-
Save sbuvaneshkumar/8fb9dae4b1a7b98519ba6d110237c807 to your computer and use it in GitHub Desktop.
Kubernetes issues encountered and fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. error: unable to upgrade connection: pod does not exist | |
$ kubectl exec -it busybox -- sh | |
error: unable to upgrade connection: pod does not exist | |
student@ubuntu:~$ kubectl get nodes -o wide | |
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME | |
ubuntu Ready master 22d v1.13.1 10.0.2.15 <none> Ubuntu 16.04.6 LTS 4.4.0-142-generic docker://18.9.2 | |
worker1 Ready <none> 22d v1.13.1 10.0.2.15 <none> Ubuntu 16.04.6 LTS 4.4.0-142-generic docker://18.9.2 | |
INTERNAL-IP of both master and worker node are same, I had to change the MAC address of worker1 node and also added hostname of worker1 and master node | |
respectfully on both nodes in /etc/hosts file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment