Replica sets with example and commands
Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now [centos@ip-172-31-22-14 ~]$ kubectl scale –replicas=1 deploy/namrata -n=namtestdeployment.apps/namrata scaled[centos@ip-172-31-22-14 ~]$ kubectl scale –replicas=10 deploy/namrata -n=namtestdeployment.apps/namrata scaled[centos@ip-172-31-22-14 ~]$ kubectl get deploy -n=namrataNo resources found in namrata namespace.[centos@ip-172-31-22-14 ~]$ kubectl get deploy -n=namtestNAME READY UP-TO-DATE AVAILABLE AGEnamrata 10/10 10 10 8m54snamrata1 3/3 3 3 6m40s[centos@ip-172-31-22-14 ~]$ kubectl get pods -n=namtestNAME READY STATUS RESTARTS AGEnamrata 1/1 Running 0
Read more