Created
May 1, 2019 08:42
-
-
Save Serpens/cc5a996617b6ca5d3ec4a1906c27a6e7 to your computer and use it in GitHub Desktop.
Kubernetes master node installation on Raspberry Pi 3
This file contains 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
apt purge docker-ce | |
apt install docker-ce='18.06.3~ce~3-0~raspbian' | |
apt-mark hold docker-ce | |
apt install kubeadm kubelet kubectl | |
kubeadm init phase certs all | |
kubeadm init phase kubeconfig all | |
kubeadm init phase control-plane all --pod-network-cidr 10.244.0.0/16 | |
sed -i 's/initialDelaySeconds: [0-9][0-9]/initialDelaySeconds: 240/g' /etc/kubernetes/manifests/kube-apiserver.yaml | |
sed -i 's/failureThreshold: [0-9]/failureThreshold: 40/g' /etc/kubernetes/manifests/kube-apiserver.yaml | |
sed -i 's/timeoutSeconds: [0-9][0-9]/timeoutSeconds: 2000/g' /etc/kubernetes/manifests/kube-apiserver.yaml | |
kubeadm init --v=1 --skip-phases=certs,kubeconfig,control-plane --ignore-preflight-errors=all --pod-network-cidr 10.244.0.0/16 --node-name=node01 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment