cri-o / cri-o-ansible

Playbooks to install CRI-O from source
52 stars 31 forks source link

I cant initialize the Kubeadm #22

Open ghulevishal opened 6 years ago

ghulevishal commented 6 years ago

I have Problem while creating the Kubernetes cluster using kubeadm init --pod-network-cidr=10.244.0.0/16 --ignore-preflight-errors=all --cri-socket=/var/run/crio/crio.sock. The process stuck at the

[init] This might take a minute or longer if the control plane images have to be pulled.

it gives error like

[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10255/healthz' failed with error: Get http://localhost:10255/healthz: dial tcp 127.0.0.1:10255: getsockopt: connection refused.

Is there any documentation i can follow to configure kubeadm with CRI-O runtime

BenHall commented 6 years ago

Check that /var/run/crio/crio.sock exists. If it doesn't, run systemctl restart crio.service