lhornok / kubercertif

Lab kuber
0 stars 0 forks source link

worke node not readey #2

Open lhornok opened 11 months ago

lhornok commented 11 months ago

ubectl get nodes NAME STATUS ROLES AGE VERSION vm1 Ready control-plane 8m49s v1.27.1 vm2 NotReady 2m29s v1.27.1

lhornok commented 11 months ago

kubectl get pod -n kube-system NAME READY STATUS RESTARTS AGE cilium-b89ls 0/1 Init:0/6 2 (53s ago) 3m17s cilium-gc2jk 1/1 Running 0 9m20s cilium-operator-788c7d7585-24f6v 1/1 Running 0 9m20s cilium-operator-788c7d7585-dp5zz 0/1 Running 2 (45s ago) 9m20s coredns-5d78c9869d-9zdg6 1/1 Running 0 9m20s coredns-5d78c9869d-j7vtq 1/1 Running 0 9m20s etcd-vm1 1/1 Running 0 9m35s kube-apiserver-vm1 1/1 Running 0 9m36s kube-controller-manager-vm1 1/1 Running 0 9m33s kube-proxy-65k46 1/1 Running 0 3m17s kube-proxy-j2qm9 1/1 Running 0 9m20s kube-scheduler-vm1 1/1 Running 0 9m33s

lhornok commented 11 months ago

kubectl logs cilium-b89ls -n kube-system Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), clean-cilium-state (init), install-cni-binaries (init) Error from server (BadRequest): container "cilium-agent" in pod "cilium-b89ls" is waiting to start: PodInitializing

lhornok commented 11 months ago

level=info msg="Establishing connection to apiserver" host="https://10.96.0.1:443" subsys=k8s-client level=error msg="Unable to contact k8s api-server" error="Get \"https://10.96.0.1:443/api/v1/namespaces/kube-system\": dial tcp 10.96.0.1:443: connect: connection refused" ipAddr="https://10.96.0.1:443" subsys=k8s-client level=error msg="Start hook failed" error="Get \"https://10.96.0.1:443/api/v1/namespaces/kube-system\": dial tcp 10.96.0.1:443: connect: connection refused" function="client.(*compositeClientset).onStart" subsys=hive level=info msg=Stopping subsys=hive level=info msg="Stopped gops server" address="127.0.0.1:9891" subsys=gops level=info msg="Stop hook executed" duration="311.304µs" function="gops.registerGopsHooks.func2 (cell.go:51)" subsys=hive level=fatal msg="failed to start: Get \"https://10.96.0.1:443/api/v1/namespaces/kube-system\": dial tcp 10.96.0.1:443: connect: connection refused" subsys=cilium-operator-generic