Skip to content

Commit d8c07ea

Browse files
committed
Prototype of how to spin from a master build
1 parent 807093f commit d8c07ea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sync/linux/controlplane.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ sudo systemctl restart containerd
9494
#EOF
9595
# RIGHT NOW we NEED to use ApiSErverAdvertiseAddress... but not sure how to do that equivalent in kubeadm.
9696

97-
sudo kubeadm init --apiserver-advertise-address=10.20.30.10 --pod-network-cidr=10.244.0.0/16
97+
# k8s.gcr.io/pause:3.2
98+
# k8s.gcr.io/etcd:3.4.13-0
99+
# k8s.gcr.io/coredns:1.7.0
100+
# sudo ctr images tag k8s.gcr.io/etcd:3.4.13-0 k8s.gcr.io/etcd:v1.22.0-alpha.3.31_a3abd06ad53b2f
101+
sudo kubeadm init --apiserver-advertise-address=10.20.30.10 --pod-network-cidr=10.244.0.0/16 --image-repository="k8s.gcr.io" --kubernetes-version="v1.22.0-alpha.3.31_a3abd06ad53b2f"
98102

99103
#to start the cluster with the current user:
100104
mkdir -p $HOME/.kube

0 commit comments

Comments
 (0)