Master Deployments to manage application replicas, perform rolling updates, and ensure high availability in Kubernetes.
Deploy a replicated application using a Deployment resource.
kubectl create deployment nginx-deploy --image=nginx:alpine --replicas=3kubectl get deploymentskubectl get replicasetskubectl get podsDeployments manage ReplicaSets, which manage Pods. This creates 3 identical nginx pod replicas for high availability.
1 Deployment created, 1 ReplicaSet created, 3 Pods running. All with auto-generated names.