PermalinkDay 32 Task: Launching your Kubernetes Cluster with Deployment
Congratulation ! on your learning on K8s on Day-31
PermalinkWhat is Deployment in k8s?
A Deployment provides a configuration for updates for Pods and ReplicaSets.
You describe a desired state in a Deployment, and the Deployment Controller changes the actual state to the desired state at a controlled rate. You can define Deployments to create new replicas for scaling, or to remove existing Deployments and adopt all their resources with new Deployments.
PermalinkToday's task let's keep it very simple.
PermalinkTask-1:
Create one Deployment file to deploy a sample app on K8s using "Auto-healing" and "Auto-Scaling" features
- Add a deployment.yml file
Apply the deployment to your k8s (minikube) cluster by command
kubectl apply -f deployment.yml
Happy Learning :)
PermalinkDay 32 task is completed!
90DaysOfDevOps Tasks👇