You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im having the similar issue, and the CPUs is not the problem since I have 16. Any other possible reason? I also fixed some deprecated libraries:
docker.io was already set on hold.
kubernetes-cni was already set on hold.
kubelet was already set on hold.
kubeadm was already set on hold.
kubectl was already set on hold.
+ kubeadm config images pull --kubernetes-version=1.16.0
this version of kubeadm only supports deploying clusters with the control plane version >= 1.29.0. Current version: v1.16.0
To see the stack trace of this error execute with --v=5 or higher
+ NODETYPE=master
+ '[' master == master ']'
+ [[ 1.16.0 == 1.13.* ]]
+ [[ 1.16.0 == 1.14.* ]]
+ [[ 1.16.0 == 1.15.* ]]
+ [[ 1.16.0 == 1.16.* ]]
+ cat
+ cat
+ kubeadm init --config /root/config.yaml
your configuration file uses an old API spec: "kubeadm.k8s.io/v1beta2". Please use kubeadm v1.22 instead and run 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
To see the stack trace of this error execute with --v=5 or higher
+ cd /root
+ mkdir -p .kube
+ cp -i /etc/kubernetes/admin.conf /root/.kube/config
cp: cannot stat '/etc/kubernetes/admin.conf': No such file or directory
+ chown root:root /root/.kube/config
chown: cannot access '/root/.kube/config': No such file or directory
+ export KUBECONFIG=/root/.kube/config
+ KUBECONFIG=/root/.kube/config
+ echo KUBECONFIG=/root/.kube/config
+ kubectl get pods --all-namespaces
E0709 07:11:57.923753 62708 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:57.923975 62708 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:57.925332 62708 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:57.925488 62708 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:57.926733 62708 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?
+ kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/9de10c12c8266b0cfe09bc0d5c969ae28832239f/Documentation/kube-flannel.yml
error: error validating "https://raw.githubusercontent.com/flannel-io/flannel/9de10c12c8266b0cfe09bc0d5c969ae28832239f/Documentation/kube-flannel.yml": error validating data: failed to download openapi: Get "http://localhost:8080/openapi/v2?timeout=32s": dial tcp [::1]:8080: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
+ wait_for_pods_running 8 kube-system
+ NS=kube-system
+ CMD='kubectl get pods --all-namespaces '
+ '[' kube-system '!=' all-namespaces ']'
+ CMD='kubectl get pods -n kube-system '
+ KEYWORD=Running
+ '[' 2 == 3 ']'
+ CMD2='kubectl get pods -n kube-system | grep "Running" | wc -l'
++ eval 'kubectl get pods -n kube-system | grep "Running" | wc -l'
+++ kubectl get pods -n kube-system
+++ grep Running
+++ wc -l
E0709 07:11:58.323240 62745 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:58.323506 62745 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:58.324781 62745 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:58.324960 62745 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
E0709 07:11:58.326226 62745 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?
+ NUMPODS=0
+ echo 'waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]'
waiting for 0/8 pods running in namespace [kube-system] with keyword [Running]
+ '[' 0 -lt 8 ']'
+ sleep 5
The text was updated successfully, but these errors were encountered:
Im having the similar issue, and the CPUs is not the problem since I have 16. Any other possible reason? I also fixed some deprecated libraries:
The text was updated successfully, but these errors were encountered: