Last active
February 13, 2020 21:14
-
-
Save trutzonline/788711a04383d58d9b2a6e42877e9d17 to your computer and use it in GitHub Desktop.
kubernetes cluster setup
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
| # see also https://brew.sh/ | |
| # fetch the newest version of Homebrew | |
| brew update | |
| # upgrade outdated, unpinned formulae using the same options they were originally installed with | |
| brew upgrade |
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
| # see also https://cert-manager.io/docs/installation/kubernetes/ | |
| kubectl config get-contexts | |
| kubectl create namespace cert-manager | |
| kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.13.0/cert-manager.yaml |
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
| doctl kubernetes cluster kubeconfig save use_your_cluster_name | |
| helm install nginx-ingress stable/nginx-ingress --set controller.publishService.enabled=true |
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
| # see also https://kubernetes.io/docs/tasks/tools/install-minikube/ | |
| brew install minikube | |
| brew upgrade minikube | |
| # starts a local kubernetes cluster | |
| minikube start | |
| # gets the status of a local kubernetes cluster | |
| minikube status | |
| # stops a running local kubernetes cluster | |
| minikube stop | |
| # deletes a local kubernetes cluster | |
| minikube delete | |
| # access the kubernetes dashboard running within the minikube cluster | |
| minikube dashboard | |
| # minikube addons help | |
| minikube addons | |
| # lists all available minikube addons | |
| minikube addons list | |
| # enables ingress addon within minikube | |
| minikube addons enable ingress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment