Skip to content

Commit 1f11800

Browse files
authored
Merge pull request #522 from afbjorklund/kubeadm-images
Download the needed images before kubeadm init
2 parents 518c666 + 6d3258e commit 1f11800

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/k8s.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ provision:
6565
set -eux -o pipefail
6666
test -e /etc/kubernetes/admin.conf && exit 0
6767
export KUBECONFIG=/etc/kubernetes/admin.conf
68+
kubeadm config images list
69+
kubeadm config images pull
6870
# Initializing your control-plane node
6971
kubeadm init --cri-socket=/run/containerd/containerd.sock --pod-network-cidr=10.244.0.0/16 --apiserver-cert-extra-sans 127.0.0.1
7072
# Installing a Pod network add-on

0 commit comments

Comments
 (0)