-
Understand deployments and how to perform rolling update and rollbacks
-
Use ConfigMaps and Secrets to configure applications
-
Know how to scale applications
-
Understand the primitives used to create robust, self-healing, application deployments
-
Understand how resource limits can affect Pod scheduling
-
Awareness of manifest management and common templating tools
-
Understand deployments and how to perform rolling update and rollbacks.
-
Practical Examples for 3 Advanced Kubernetes deployment strategies)Doc
-
Kubernetes Documentation > Concepts > Workloads > Controllers > DeploymentsDoc
-
Example Deployment File (dep-nginx.yaml) using NGINX
apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.21.6 ports: - containerPort: 80
# Create Deployment kubectl create -f dep-nginx.yaml # Get Deployments kubectl get deployments # Update Deployment kubectl edit deployment.v1.apps/nginx-deployment # See rollout status kubectl rollout status deployment.v1.apps/nginx-deployment # Describe Deployment kubectl describe deployment # Rolling back to a previous revision kubectl rollout undo deployment.v1.apps/nginx-deployment
-
Kubernetes Secrets: A complete guide to securely managing sensitive informationBlog
-
Kubernetes Documentation > Concepts > Configuration > ConfigMapsDoc
-
Kubernetes Documentation > Concepts > Configuration > SecretsDoc
-
-
Know how to scale applications.
-
# Increase replicas number for nginx-deployment kubectl scale deployment/nginx-deployment --replicas=5 # Using autoscaling kubectl autoscale deployment/nginx-deployment --min=2 --max=5
-
-
Understand the primitives used to create robust, self-healing, application deployments.
-
Understand how resource limits can affect Pod scheduling.
-
Awareness of manifest management and common templating tools.