Last active
February 18, 2019 10:12
-
-
Save William-Yeh/dd9f17f395a1470c3acee4e1ce973208 to your computer and use it in GitHub Desktop.
k8s in 5 minutes
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
1. Install Docker CE and enable Kubernetes: | |
See Figure 1 and 2 in https://medium.com/slalom-technology/get-kubernetes-running-locally-on-osx-and-windows-b3b5f176b5bb | |
2. (Optionally) Install k8s dashboard: | |
``` | |
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-dashboard.yaml | |
$ kubectl proxy | |
``` | |
Now access Dashboard at: `http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/` | |
3. Try to run a simple echo server: | |
`$ kubectl apply -f https://raw.githubusercontent.com/coder-society/kubernetes-with-telepresence/master/echo-server/echo-server.yaml` | |
4. Try to access the echo server: | |
http://localhost:3000/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment