9 - Kubernetes (Light Theme)
9 - Kubernetes (Light Theme)
9 - Kubernetes (Light Theme)
Container Orchestration
with Kubernetes
Demo Projects
Introduction to Kubernetes
❏ Watched video
Useful Links:
Kubernetes Architecture
❏ Watched videos
Useful Links:
❏ Watched video
❏ Demo executed:
❏ Created nginx Deployment
❏ Edited Deployment
❏ Created mongodb Deployment
❏ Inspected logs of a Pod
❏ Got shell of a running container - kubectl exec
❏ Deleted deployment
❏ Applied configuration file
Useful Links:
Useful Links:
● Configuration File:
https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config
/
● Example files repo:
https://gitlab.com/nanuchi/bootcamp-kubernetes/-/tree/master/kubernetes-con
figuration-file-explained
Best practices:
● Store Configuration Files with your application code or own Git Repository just
for the configuration files
Check your progress... 3/8
Useful Links:
Useful Links:
● Kubectx: https://github.com/ahmetb/kubectx#installation
Check your progress... 4/8
Kubernetes Services
❏ Watched video
Useful Links:
● Service: https://kubernetes.io/docs/concepts/services-networking/service/
Best Practice:
● Do NOT use NodePort Service Type for external connections. Use Ingress or Load
Balancer instead.
Ingress
❏ Watched video
Useful Links:
- Project repo:
https://gitlab.com/nanuchi/bootcamp-kubernetes/-/tree/master/kubernetes-ingress
- List of Ingress Controllers you can choose from:
https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
- Ingress Controller Bare Metal:
https://kubernetes.github.io/ingress-nginx/deploy/baremetal/
Useful Links:
● Volume Types:
https://kubernetes.io/docs/concepts/storage/volumes/#volume-types
● Project demo:
https://gitlab.com/nanuchi/bootcamp-kubernetes/-/tree/master/kubernetes-volume
s
Check your progress... 5/8
Useful Links:
● Project demo:
https://gitlab.com/nanuchi/bootcamp-kubernetes/-/tree/master/configmap-and-sec
ret-volumes
● ConfigMap Volume Type:
https://kubernetes.io/docs/concepts/storage/volumes/#configmap
● Secret Volume Type: https://kubernetes.io/docs/concepts/storage/volumes/#secret
● Mosquitto Public Docker Image: https://hub.docker.com/_/eclipse-mosquitto
Useful Links:
Useful Links:
● Project Repo:
https://gitlab.com/nanuchi/bootcamp-kubernetes/-/tree/master/linode-kubernete
s-engine-demo
● Create a Linode account ($100 - 60day credit with this link:
https://bit.ly/31p4GW2)
● Mongo Express Docker Image: https://hub.docker.com/_/mongo-express
Check your progress... 7/8
Useful Links:
Useful Links:
Useful Links:
Best practices
● Configuration Best Practices:
https://kubernetes.io/docs/concepts/configuration/overview/
● 9 Security Best Practices:
https://www.cncf.io/blog/2019/01/14/9-kubernetes-security-best-practices-e
veryone-must-follow/
Cheatsheet
● K8s CLI Cheat Sheet: https://kubernetes.io/docs/reference/kubectl/cheatsheet/