Skip to content

Instantly share code, notes, and snippets.

@sameo
Last active September 15, 2017 03:42
Show Gist options
  • Select an option

  • Save sameo/c2ae717bb8404068235164572acff16d to your computer and use it in GitHub Desktop.

Select an option

Save sameo/c2ae717bb8404068235164572acff16d to your computer and use it in GitHub Desktop.
#!/bin/bash
systemctl restart crio
systemctl restart cc-proxy
kubeadm init --pod-network-cidr 10.244.0.0/16 && export KUBECONFIG=/etc/kubernetes/admin.conf
echo -n "Starting flannel..."
sleep 5
kubectl apply -f /etc/kubernetes/flannel.yaml
echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment