Created
December 7, 2021 02:28
-
-
Save ndunks/23c1ed4348380d9594d551c400e21db5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable testing community repo | |
apk install containerd kubeadm kubectl cni-plugins | |
service machine-id start | |
rc-update add machine-id boot | |
kubeadm init --pod-network-cidr=10.244.0.0/16 --control-plane-endpoint=kubemaster.local | |
# I use Alpine v3.15, need downgrade cni-plugins on v3.14 that have /usr/libexec/flannel | |
apk add cni-plugins=0.9.1-r2 | |
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment