Created
January 11, 2019 03:11
-
-
Save kunday/29827d1dda5c5dceeeb7b840cde18e3d to your computer and use it in GitHub Desktop.
Install MicroK8s
This file contains hidden or 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
| #!/usr/bin/env bash | |
| echo "Installing microk8s." | |
| sudo snap install microk8s --classic --edge | |
| sudo snap alias microk8s.kubectl kubectl | |
| echo "Waiting for 60 seconds for the service to come up." | |
| sleep 60 | |
| microk8s.kubectl config view --raw > $HOME/.kube/config | |
| microk8s.enable dns | |
| microk8s.enable storage | |
| microk8s.enable ingress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment