Skip to content

Commit 171321b

Browse files
authored
Merge pull request #807 from afbjorklund/cri-socket
Fix the cri-socket in the k8s example
2 parents b40d4c3 + 4d9d607 commit 171321b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/k8s.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ provision:
7878
test -e /etc/kubernetes/admin.conf && exit 0
7979
export KUBECONFIG=/etc/kubernetes/admin.conf
8080
kubeadm config images list
81-
kubeadm config images pull
81+
kubeadm config images pull --cri-socket=unix:///run/containerd/containerd.sock
8282
# Initializing your control-plane node
83-
kubeadm init --cri-socket=/run/containerd/containerd.sock --pod-network-cidr=10.244.0.0/16 --apiserver-cert-extra-sans 127.0.0.1
83+
kubeadm init --cri-socket=unix:///run/containerd/containerd.sock --pod-network-cidr=10.244.0.0/16 --apiserver-cert-extra-sans 127.0.0.1
8484
# Installing a Pod network add-on
8585
kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.14.0/Documentation/kube-flannel.yml
8686
# Control plane node isolation

0 commit comments

Comments
 (0)