Last active
October 10, 2018 10:20
-
-
Save owainlewis/cbf6e0dfcc138d2757bca088a7081303 to your computer and use it in GitHub Desktop.
Kubernetes kubeadm notes
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
# Exec into Kubernetes docker image on the master | |
# docker exec -it $ID sh | |
ETCDCTL_API=3 etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt \ | |
--cert=/etc/kubernetes/pki/etcd/peer.crt \ | |
--key=/etc/kubernetes/pki/etcd/peer.key \ | |
get /registry/namespaces/default -w=json |
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
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml | |
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/k8s-manifests/kube-flannel-rbac.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment