I am hoping to get some help here with my Master Node, I recently rebooted it to see if that would help determine why the worker node could not connect since I could not ping it. after rebooting the Master it started to ping again, kubectl get nodes showed that worker was connected then about 30 seconds later I couldnt ping it again. Rebooted again and same results. I can still use mozilla to pull up webpages I am not sure what I did. I am still new to kubernetes and just trying to setup a cluster to continue learning
My master node and Worker node are VMs running Ubuntu 20.04. below is more details on my ethernet adapters and versions, I am using
I am using flannel as my CNI.
I appreciate any information to fix this.
michael@Kube-Master3:~$ kubectl get node NAME STATUS ROLES AGE VERSION kube-master3 Ready control-plane,master 5d23h v1.23.1 kube-worker1 Ready <none> 108m v1.23.1 michael@Kube-Master3:~$ kubectl get node
NAME STATUS ROLES AGE VERSION kube-master3 Ready control-plane,master 5d23h v1.23.1 kube-worker1 NotReady <none> 109m v1.23.1
michael@Kube-Master3:~$ ip addr show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether ce:4a:82:31:be:e0 brd ff:ff:ff:ff:ff:ff altname enp0s18 inet 192.168.0.64/24 brd 192.168.0.255 scope global noprefixroute ens18 valid_lft forever preferred_lft forever inet6 fe80::cc4a:82ff:fe31:bee0/64 scope link valid_lft forever preferred_lft forever 3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:02:d1:8e:bb brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0 valid_lft forever preferred_lft forever 4: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN group default link/ether 36:d3:7c:03:41:55 brd ff:ff:ff:ff:ff:ff inet 192.168.0.0/32 brd 192.168.0.0 scope global flannel.1 valid_lft forever preferred_lft forever inet6 fe80::34d3:7cff:fe03:4155/64 scope link valid_lft forever preferred_lft forever 5: cni0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000 link/ether 3a:93:bb:b7:21:88 brd ff:ff:ff:ff:ff:ff inet 192.168.0.1/24 brd 192.168.0.255 scope global cni0 valid_lft forever preferred_lft forever inet6 fe80::3893:bbff:feb7:2188/64 scope link valid_lft forever preferred_lft forever 6: vethe7941314@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master cni0 state UP group default link/ether ae:22:95:24:ab:b9 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet6 fe80::ac22:95ff:fe24:abb9/64 scope link valid_lft forever preferred_lft forever 7: vethda174f68@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master cni0 state UP group default link/ether 0a:66:64:35:3e:ee brd ff:ff:ff:ff:ff:ff link-netnsid 1 inet6 fe80::866:64ff:fe35:3eee/64 scope link valid_lft forever preferred_lft forever
michael@Kube-Master3:~$ kubectl version Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:41:01Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:34:54Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"} michael@Kube-Master3:~$ kubeadm version kubeadm version: &version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:39:51Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
ichael@Kube-Master3:~$ docker version Client: Docker Engine - Community Version: 20.10.12 API version: 1.41 Go version: go1.16.12 Git commit: e91ed57 Built: Mon Dec 13 11:45:33 2021 OS/Arch: linux/amd64 Context: default Experimental: true