Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kind 0.13.0 does not work with Colima v0.4.1 #291

Closed
longwuyuan opened this issue May 18, 2022 · 13 comments
Closed

kind 0.13.0 does not work with Colima v0.4.1 #291

longwuyuan opened this issue May 18, 2022 · 13 comments

Comments

@longwuyuan
Copy link

longwuyuan commented May 18, 2022

Hi,

  • Colima On macOS Monterey running on Intel Mac Pro.
% colima version
colima version 0.4.1
git commit: 5d39343b2bdc827e554d78ae306ebc836bf1d02c

runtime: docker
arch: x86_64
client: v20.10.16
server: v20.10.14
  • kind create cluster --name dev works with kind version 0.12.0 but is broken with kind version 0.13.0.

  • kind version 0.13.0 installed by brew.

  • On macOS Monterey on intel-Mac Pro, I am getting the error copy/pasted below, when I tried creating kind cluster ;

% kind create cluster --name dev                                                                                                                                                                                                                      
Creating cluster "dev" ...                                                                                                                                                                                                                            
 ✓ Ensuring node image (kindest/node:v1.24.0) 🖼                                                                                                                                                                                                       
 ✓ Preparing nodes 📦                                                                                                                                                                                                                                 
 ✓ Writing configuration 📜                                                                                                                                                                                                                           
 ✗ Starting control-plane 🕹️                                                                                                                                                                                                                           
ERROR: failed to create cluster: failed to init node with kubeadm: command "docker exec --privileged dev-control-plane kubeadm init --skip-phases=preflight --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1    
Command Output: I0518 14:48:52.440045     241 initconfiguration.go:255] loading configuration from "/kind/kubeadm.conf"                                                                                                                               
W0518 14:48:52.441200     241 initconfiguration.go:332] [config] WARNING: Ignored YAML document with GroupVersionKind kubeadm.k8s.io/v1beta3, Kind=JoinConfiguration                                                                                  
[init] Using Kubernetes version: v1.24.0                                                                                                                                                                                                              
[certs] Using certificateDir folder "/etc/kubernetes/pki"                                                                                                                                                                                             
I0518 14:48:52.449790     241 certs.go:112] creating a new certificate authority for ca                                                                                                                                                               
I0518 14:48:52.564677     241 certs.go:522] validating certificate period for ca certificate                                                                                                                                                          
[certs] Generating "ca" certificate and key                                                                                                                                                                                                           
[certs] Generating "apiserver" certificate and key                                                                                                                                                                                                    
[certs] apiserver serving cert is signed for DNS names [dev-control-plane kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local localhost] and IPs [10.96.0.1 172.18.0.2 127.0.0.1]                               
I0518 14:48:52.806116     241 certs.go:112] creating a new certificate authority for front-proxy-ca                                                                                                                                                   
[certs] Generating "apiserver-kubelet-client" certificate and key                                                                                                                                                                                     
[certs] Generating "front-proxy-ca" certificate and key                                                                                                                                                                                               
I0518 14:48:52.884656     241 certs.go:522] validating certificate period for front-proxy-ca certificate                                                                                                                                              
I0518 14:48:52.929077     241 certs.go:112] creating a new certificate authority for etcd-ca                                                                                                                                                          
[certs] Generating "front-proxy-client" certificate and key                                                                                                                                                                                           
[certs] Generating "etcd/ca" certificate and key                                                                                                                                                                                                      
I0518 14:48:53.019216     241 certs.go:522] validating certificate period for etcd/ca certificate                                                                                                                                                     
[certs] Generating "etcd/server" certificate and key                                                                                                                                                                                                  
[certs] etcd/server serving cert is signed for DNS names [dev-control-plane localhost] and IPs [172.18.0.2 127.0.0.1 ::1]                                                                                                                             
[certs] Generating "etcd/peer" certificate and key                                                                                                                                                                                                    
[certs] etcd/peer serving cert is signed for DNS names [dev-control-plane localhost] and IPs [172.18.0.2 127.0.0.1 ::1]                                                                                                                               
[certs] Generating "etcd/healthcheck-client" certificate and key                                                                                                                                                                                      
I0518 14:48:53.779858     241 certs.go:78] creating new public/private key files for signing service account users                                                                                                                                    
[certs] Generating "apiserver-etcd-client" certificate and key                                                                                                                                                                                        
I0518 14:48:53.921750     241 kubeconfig.go:103] creating kubeconfig file for admin.conf                                                                                                                                                              
[certs] Generating "sa" key and public key                                                                                                                                                                                                            
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"                                                                                                                                                                                                
[kubeconfig] Writing "admin.conf" kubeconfig file                                                                                                                                                                                                     
I0518 14:48:54.067851     241 kubeconfig.go:103] creating kubeconfig file for kubelet.conf                                                                                                                                                            
[kubeconfig] Writing "kubelet.conf" kubeconfig file                                                                                                                                                                                                   
I0518 14:48:54.174499     241 kubeconfig.go:103] creating kubeconfig file for controller-manager.conf                                                                                                                                                 
[kubeconfig] Writing "controller-manager.conf" kubeconfig file                                                                                                                                                                                        
I0518 14:48:54.245908     241 kubeconfig.go:103] creating kubeconfig file for scheduler.conf                                                                                                                                                          
[kubeconfig] Writing "scheduler.conf" kubeconfig file                                                                                                                                                                                                 
I0518 14:48:54.418020     241 kubelet.go:65] Stopping the kubelet                                                                                                                                                                                     
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"                                                                                                                                              
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"                                                                                                                                                                  
[kubelet-start] Starting the kubelet                                                                                                                                                                                                                  
[control-plane] Using manifest folder "/etc/kubernetes/manifests"                                                                                                                                                                                     
[control-plane] Creating static Pod manifest for "kube-apiserver"                                                                                                                                                                                     
I0518 14:48:54.594622     241 manifests.go:99] [control-plane] getting StaticPodSpecs                                                                                                                                                                 
I0518 14:48:54.595608     241 certs.go:522] validating certificate period for CA certificate                                                                                                                                                          
I0518 14:48:54.596559     241 manifests.go:125] [control-plane] adding volume "ca-certs" for component "kube-apiserver"                                                                                                                               
I0518 14:48:54.597303     241 manifests.go:125] [control-plane] adding volume "etc-ca-certificates" for component "kube-apiserver"                                                                                                                    
I0518 14:48:54.597878     241 manifests.go:125] [control-plane] adding volume "k8s-certs" for component "kube-apiserver"                                                                                                                              
I0518 14:48:54.598546     241 manifests.go:125] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-apiserver"                                                                                                        
I0518 14:48:54.599106     241 manifests.go:125] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-apiserver"                                                                                                              
I0518 14:48:54.601317     241 manifests.go:154] [control-plane] wrote static Pod manifest for component "kube-apiserver" to "/etc/kubernetes/manifests/kube-apiserver.yaml"                                                                           
[control-plane] Creating static Pod manifest for "kube-controller-manager"                                                                                                                                                                            
I0518 14:48:54.602573     241 manifests.go:99] [control-plane] getting StaticPodSpecs                                                                                                                                                                 
I0518 14:48:54.603321     241 manifests.go:125] [control-plane] adding volume "ca-certs" for component "kube-controller-manager"                                                                                                                      
I0518 14:48:54.603962     241 manifests.go:125] [control-plane] adding volume "etc-ca-certificates" for component "kube-controller-manager"                                                                                                           
I0518 14:48:54.604584     241 manifests.go:125] [control-plane] adding volume "flexvolume-dir" for component "kube-controller-manager"                                                                                                                
I0518 14:48:54.605270     241 manifests.go:125] [control-plane] adding volume "k8s-certs" for component "kube-controller-manager"                                                                                                                     
I0518 14:48:54.605804     241 manifests.go:125] [control-plane] adding volume "kubeconfig" for component "kube-controller-manager"                                                                                                                    
I0518 14:48:54.606145     241 manifests.go:125] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-controller-manager"                                                                                               
I0518 14:48:54.607050     241 manifests.go:125] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-controller-manager"  
I0518 14:48:54.608263     241 manifests.go:154] [control-plane] wrote static Pod manifest for component "kube-controller-manager" to "/etc/kubernetes/manifests/kube-controller-manager.yaml"
[control-plane] Creating static Pod manifest for "kube-scheduler"                                                          
I0518 14:48:54.609407     241 manifests.go:99] [control-plane] getting StaticPodSpecs                                      
I0518 14:48:54.610139     241 manifests.go:125] [control-plane] adding volume "kubeconfig" for component "kube-scheduler"  
I0518 14:48:54.611067     241 manifests.go:154] [control-plane] wrote static Pod manifest for component "kube-scheduler" to "/etc/kubernetes/manifests/kube-scheduler.yaml"
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"                                          
I0518 14:48:54.613328     241 local.go:65] [etcd] wrote Static Pod manifest for a local etcd member to "/etc/kubernetes/manifests/etcd.yaml"
I0518 14:48:54.614285     241 waitcontrolplane.go:83] [wait-control-plane] Waiting for the API server to be healthy        
I0518 14:48:54.616207     241 loader.go:372] Config loaded from file:  /etc/kubernetes/admin.conf                          
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
I0518 14:48:54.618571     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0518 14:48:55.121656     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:48:55.624731     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:48:56.126713     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:48:56.629190     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:48:57.122068     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:48:57.624521     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:48:58.124363     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:48:58.625204     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:48:59.122137     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:48:59.630607     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:00.123524     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:00.625127     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:01.125363     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:49:01.629345     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:02.127024     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:02.621604     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:03.122505     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:03.628866     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:04.126595     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:04.622130     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:05.123819     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:05.625701     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:06.124491     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:06.622764     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:07.123811     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:07.624150     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:08.123978     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:08.627522     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:09.126193     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:09.629872     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:10.123876     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:10.625084     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:11.128877     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:11.627703     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:49:12.124428     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:12.624164     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:13.129131     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:13.625126     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:14.122782     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:14.624380     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:15.123870     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:15.623146     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:16.128513     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:49:16.622998     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:17.123580     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:17.624289     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:18.125809     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:49:18.624050     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:19.123763     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:19.624624     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:49:20.123789     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:20.622180     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:21.123432     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:21.625026     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:22.126718     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:22.623383     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:23.128880     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:23.623602     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:24.125011     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:24.622857     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:25.124246     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:25.622950     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:26.124875     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:26.624006     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:27.129123     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:27.624795     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:28.127809     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:28.625900     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:29.123432     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:29.622375     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:30.124134     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:30.622320     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:31.122115     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 0 milliseconds
I0518 14:49:31.623458     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:32.125040     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:32.624521     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:33.124000     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:33.623202     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:34.123970     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
[kubelet-check] Initial timeout of 40s passed.
I0518 14:49:34.623851     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.                                                        
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
I0518 14:49:35.124368     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:35.624801     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:36.124040     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:36.623572     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:37.124467     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:37.623083     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:38.128210     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 4 milliseconds
I0518 14:49:38.624678     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:39.122703     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:39.624856     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.                                                        
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
I0518 14:49:40.122859     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:40.621683     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:41.124539     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:41.623037     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:42.126210     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:42.624833     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:43.128277     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 4 milliseconds
I0518 14:49:43.624048     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:44.127290     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:44.623610     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:45.123677     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:49:45.625030     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:46.122156     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:46.625986     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:49:47.123991     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:47.623584     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:48.125545     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:48.623985     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:49.126570     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:49.625968     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.                                                        
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
I0518 14:49:50.123303     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:49:50.625061     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:49:51.127339     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:51.623292     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:52.125904     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:52.622785     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:53.127378     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:53.623952     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:49:54.121199     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 0 milliseconds                                                                                                                        
I0518 14:49:54.623527     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:55.123876     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:55.623145     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:49:56.121865     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:49:56.626265     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:57.127161     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:57.621792     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:49:58.125569     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:58.622262     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:49:59.123906     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:49:59.623162     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:00.125100     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:00.623496     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:01.130937     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 6 milliseconds                                                                                                                        
I0518 14:50:01.623679     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:02.123783     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:02.622898     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:03.124605     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:03.623740     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:04.129395     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:04.625349     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:05.123996     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:05.623520     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:06.128057     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:06.626462     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:07.124234     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:07.623731     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:08.124244     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:08.625427     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:09.123889     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:09.624716     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
[kubelet-check] It seems like the kubelet isn't running or healthy.                                                                                                                                                                                   
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.                                                         
I0518 14:50:10.124551     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:10.623150     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:11.124802     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:50:11.624061     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:12.127415     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 4 milliseconds
I0518 14:50:12.625318     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:13.129480     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:13.626215     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:50:14.124812     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:14.627816     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 4 milliseconds
I0518 14:50:15.124533     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:15.622884     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:16.124977     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:16.625453     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:17.122164     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:17.625704     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:50:18.128460     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:50:18.625369     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:19.128931     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:50:19.622930     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                               [65/1404]
I0518 14:50:20.123773     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:20.621345     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:21.123514     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:21.623430     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:22.122556     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:22.622615     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:23.123096     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:23.624285     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:24.124438     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:24.625924     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:25.123145     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:25.623806     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:26.122802     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:26.622847     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:27.124944     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:27.623514     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:28.129246     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:28.624489     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:29.127494     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:29.626443     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:30.123166     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:30.625101     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:31.122607     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:31.622074     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:32.122791     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:32.624530     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:33.125324     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:33.625422     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:34.127032     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:34.626052     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:35.123682     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:35.623330     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:36.127088     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:36.623170     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:37.126861     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:37.625603     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:38.123782     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:38.624356     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:39.128349     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:39.625296     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:40.123992     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:40.623107     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:41.127555     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:41.623187     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:42.127252     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:42.623141     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds                                                                                                                        
I0518 14:50:43.127039     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:43.625735     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:44.125636     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds                                                                                                                        
I0518 14:50:44.624918     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds                                                                                                                        
I0518 14:50:45.122409     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:45.625773     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
I0518 14:50:46.122037     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:46.625557     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:47.121448     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:47.623531     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:48.123260     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:48.621401     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 1 milliseconds
I0518 14:50:49.123285     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 2 milliseconds
I0518 14:50:49.626765     241 round_trippers.go:553] GET https://dev-control-plane:6443/healthz?timeout=10s  in 3 milliseconds
[kubelet-check] It seems like the kubelet isn't running or healthy.                                                        
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp [::1]:10248: connect: connection refused.
                                                                                                                                                                                                                                                      
Unfortunately, an error has occurred:                                                                                                                                                                                                                 
        timed out waiting for the condition                                                                                                                                                                                                           

This error is likely caused by:
        - The kubelet is not running
        - The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)           

If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:                 
        - 'systemctl status kubelet'
        - 'journalctl -xeu kubelet'

Additionally, a control plane component may have crashed or exited when started by the container runtime.                  
To troubleshoot, list all containers using your preferred container runtimes CLI.                                          
Here is one example how you may list all running Kubernetes containers by using crictl:                                    
        - 'crictl --runtime-endpoint unix:///run/containerd/containerd.sock ps -a | grep kube | grep -v pause'             
        Once you have found the failing container, you can inspect its logs with:                                          
        - 'crictl --runtime-endpoint unix:///run/containerd/containerd.sock logs CONTAINERID'                              
couldn't initialize a Kubernetes cluster
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/init.runWaitControlPlanePhase                                                 
        cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go:108                                                            
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1                                                  
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:234
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll                                                   
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:421
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run                                                        
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:207
k8s.io/kubernetes/cmd/kubeadm/app/cmd.newCmdInit.func1
        cmd/kubeadm/app/cmd/init.go:153
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute                                                         
        vendor/github.com/spf13/cobra/command.go:856
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC                                                        
        vendor/github.com/spf13/cobra/command.go:974
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute                                                         
        vendor/github.com/spf13/cobra/command.go:902
k8s.io/kubernetes/cmd/kubeadm/app.Run
        cmd/kubeadm/app/kubeadm.go:50
main.main                                                    
        cmd/kubeadm/kubeadm.go:25
runtime.main                                                 
        /usr/local/go/src/runtime/proc.go:250
runtime.goexit                                               
        /usr/local/go/src/runtime/asm_amd64.s:1571
error execution phase wait-control-plane
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1                                                  
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:235
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll                                                   
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:421
k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run                                                        
        cmd/kubeadm/app/cmd/phases/workflow/runner.go:207
k8s.io/kubernetes/cmd/kubeadm/app/cmd.newCmdInit.func1
        cmd/kubeadm/app/cmd/init.go:153
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute                                                         
        vendor/github.com/spf13/cobra/command.go:856
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC                                                        
        vendor/github.com/spf13/cobra/command.go:974
k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute                                                         
        vendor/github.com/spf13/cobra/command.go:902
k8s.io/kubernetes/cmd/kubeadm/app.Run
        cmd/kubeadm/app/kubeadm.go:50
main.main                                                    
        cmd/kubeadm/kubeadm.go:25
runtime.main
        /usr/local/go/src/runtime/proc.go:250
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1571
@longwuyuan longwuyuan changed the title Can not create kind cluster kind 0.13.0 does not work with May 18, 2022
@longwuyuan longwuyuan changed the title kind 0.13.0 does not work with kind 0.13.0 does not work with Colima v0.4.1 May 18, 2022
@BenTheElder
Copy link

BenTheElder commented May 18, 2022

This is probably not a colima bug, it is that systemd is not in use I think (based on #212 (comment)) and kind v0.13.0 is currently broken on non-systemd hosts when running kubernetes v1.24+ (the default is 1.24.0)

I would encourage the project to consider shipping systemd, as this is trending as "default" supported cgroup driver option for cgroupsv2 in kubernetes, containerd and so on as far as I can tell, but that's a different discussion and kind not working here is something we should resolve on the kind side (assuming that this is in fact due to lack of systemd + kubernetes-sigs/kind#2765)

@abiosoft
Copy link
Owner

@longwuyuan was it working fine on version v0.3.4?

@longwuyuan
Copy link
Author

longwuyuan commented May 18, 2022

Alpine uses rc-init (AFAIK and I checked on my Colima qemu vm too) so until confirmed, its almost certain that is the root cause. Thanks tons @BenTheElder .

So for now, manually downloading kind v0.12.0 and ensuring its in the path is the workaround.

But I guess the cgroupsv2 factor has big implications here. Will wait for any updates.

@longwuyuan
Copy link
Author

longwuyuan commented May 18, 2022

hi @abiosoft , I was using kind create cluster successfully last week. And I have updated/upgraded brew this week. Based on that, I am assuming I had an older version of Colima before and it was working as in I could create cluster. But I don't have proof of that.

I don't know how to check if I had Colima v0.3.4 last week. I will google for brew syntax for that (if feasible now and update).

But from what @BenTheElder mentioned, systemd init being a requirement and alpine not using systemd, seems like a big deal here, as per my limited knowledge.

@BenTheElder
Copy link

We didn't intend to require systemd on the host and consider that a bug in kind.
There should be some workarounds you can employ in the meantime in the linked issues.

Where at all possible kind should ideally just work where containers work (excluding for example, missing kernel modules required by kubernetes).


But I would recommend considering systemd for running containerd in the future, independent of any kind issues.

@longwuyuan
Copy link
Author

longwuyuan commented May 18, 2022

@BenTheElder kind project considering systemd requirement a bug is good to know. Thank you very much. Did you mean the workaround being --image <older_than _v1.24> ?

@BenTheElder
Copy link

Or kubernetes-sigs/kind#2765 (comment)

@longwuyuan
Copy link
Author

@abiosoft , I have workaround now. But latest kind is apparently broken with latest Colima. Do I close the issue or you prefer this issue be kept open for tracking.

@abiosoft
Copy link
Owner

But I would recommend considering systemd for running containerd in the future, independent of any kind issues.

Thanks for the suggestion @BenTheElder. Ubuntu is a bit too bloated and the minimal image is limited to x86. Any other recommendations in this regard?

@abiosoft , I have workaround now. But latest kind is apparently broken with latest Colima. Do I close the issue or you prefer this issue be kept open for tracking.

@longwuyuan the issue can be left open for tracking. Thanks.

@BenTheElder
Copy link

We have a working fix pending now kubernetes-sigs/kind#2778 (comment)

Thanks for the suggestion @BenTheElder. Ubuntu is a bit too bloated and the minimal image is limited to x86. Any other recommendations in this regard?

I'm not sure for lima / vm images, this is the first I've used lima.
With docker I've found ubuntu images relatively light for doing containerd/docker/...

Perhaps something like flatcar?


Re recommendation BTW:

https://github.com/opencontainers/runc/blob/main/docs/cgroup-v2.md#systemd

On cgroup v2 hosts, it is highly recommended to run runc with the systemd cgroup driver (runc --systemd-cgroup), though not mandatory.

https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers

(containerd guide has you setup systemd, cri-o already uses it by default, docker is no longer a runtime)

@abiosoft
Copy link
Owner

With docker I've found ubuntu images relatively light for doing containerd/docker/...

Yeah, they are lightweight, however the cloud images are not :(

@longwuyuan Lima technically does not provide Docker (or anything) per se, it mainly provides an easy way to run VMs with cloud images. However, it does come with sample configurations of which one of them is for Docker.

Colima utilises Lima to run the VM, and also perform other configs to make it an easier experience for the end user. Usually those that could care less about the details and simply wants Docker/Containerd/Kubernetes.

I am no expert but if you do consider options other than alpine, then maybe Debian instead of ubuntu, fits dev use cases (at least my use case).

The decision to go with Alpine is due to the light image size, the ease of bundling dependencies and the support from Rancher Desktop. (Colima uses a fork of Rancher Desktop's image).

If there is a possibly of generating a similar Ubuntu/Debian image, that can work.

PS: Colima actually used Ubuntu initially but switched to Alpine from v0.3.0.

@longwuyuan
Copy link
Author

@abiosoft understood. Thank you very much for Colima. Simply awesome solution 🙏

@abiosoft
Copy link
Owner

I have tested kind v0.14.0 and it works with Colima. Thanks @BenTheElder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants