Open iennae opened 4 years ago
Last week we started talking about kubernetes. We started talking about pods, and started modifying our hello world to be deployed into kubernetes. We wrote a Dockerfile and created a "/" interface to do a health check.
Project: https://github.com/osscda/cloud-native-project/
This week we will continue our adventures learning about kubernetes and updating our application to be deployed.
kubectl get nodes kubectl get pods kubectl create deployment hello-node --image=arschles/dapr-hello-world kubectl get deployments kubectl delete pod PODNAME kubectl delete deployment DEPLOYMENTNAME kubectl get events kubectl scale --replicas=50 deployment/hello-node kubectl expose deployment DEPLOYMENTNAME --type=LoadBalancer --port=3000 kubectl get service
Question: pod names c4b477d78-X
What is reconciliation code
For next week, let's talk about pod lifecycle: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/
ICYMI (Aaron): https://helm.sh/
Last week we started talking about kubernetes. We started talking about pods, and started modifying our hello world to be deployed into kubernetes. We wrote a Dockerfile and created a "/" interface to do a health check.
Project: https://github.com/osscda/cloud-native-project/
Agenda
This week we will continue our adventures learning about kubernetes and updating our application to be deployed.
Links
Concepts
Kubernetes
Commands
Rules of the Stream