Skip to content

Instantly share code, notes, and snippets.

@owainlewis
Last active October 10, 2018 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owainlewis/cbf6e0dfcc138d2757bca088a7081303 to your computer and use it in GitHub Desktop.
Save owainlewis/cbf6e0dfcc138d2757bca088a7081303 to your computer and use it in GitHub Desktop.
Kubernetes kubeadm notes
# 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
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