kubectl apply -f . -R
kubeadm init --pod-network-cidr=192.168.0.0/16
kubectl apply -f https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml
kubectl apply -f https://docs.projectcalico.org/v3.3/getting-started/kubernetes/installation/hosted/kubernetes-datastore/calico-networking/1.7/calico.yaml
kubectl taint nodes --all node-role.kubernetes.io/master-
kubectl create secret generic mac-ssh-password --from-file mac-ssh-password
kubectl create secret generic slave-passwords --from-file passwords.json --from-file passwords-external.json
kubectl apply -f . -R
rsync /etc/kubernetes/admin.conf ~/.kube/config
-
Create a user for yourself in
dash/users.yaml
-
Print the token with:
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')`
-
Run
kubectl proxy
on your machine. -
Login with the token from before.