https://github.com/larrycai/codingwithme-k8s
some codes in CodingWithMe : Kubernetes
https://github.com/larrycai/codingwithme-k8s
Last synced: about 2 months ago
JSON representation
some codes in CodingWithMe : Kubernetes
- Host: GitHub
- URL: https://github.com/larrycai/codingwithme-k8s
- Owner: larrycai
- Created: 2017-07-24T11:46:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-23T10:18:38.000Z (over 6 years ago)
- Last Synced: 2025-03-23T18:52:31.369Z (2 months ago)
- Language: HTML
- Size: 505 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codingwithme-k8s
some codes in CodingWithMe : Kubernetes
* slides online: https://larrycai.github.io/codingwithme-k8s
* slides@slideshare: https://www.slideshare.net/larrycai/learn-kubernetes-in-90-minutes (it cannot be updated since 2017.10 due to silly slideshare)# preparation in playground
http://labs.play-with-k8s.com/ is recommended to use, create 3 instance
* 1 instance as master node: follow steps for 1,2,3 (step 3 may have issues)
* 2 instance as worker nodes: just run `kubectl join` command from master node after step 1## Step 3: dashboard
dashboard sometimes doesn't work, if not, use following commandcurl -L -s https://git.io/vdc52 | sed 's/targetPort: 9090/targetPort: 9090\n type: LoadBalancer/' | kubectl apply -f -
If you happen to install the dashboard in wrong status, clean it upkubectl delete deploy/kubernetes-dashboard --namespace=kube-system
kubectl delete svc/kubernetes-dashboard --namespace=kube-system
# slidestry to use markdown slides [remark](https://github.com/gnab/remark)
## browse locally
docker run -d -v $PWD:/code --name web -w /code -p 8080:8000 python:2.7 python -m SimpleHTTPServer
## generate pdf
docker run --rm --net=host -v `pwd`:/slides \
astefanutti/decktape http://www.larrycaiyu.com/codingwithme-k8s/slides.html slides.pdf# Errata