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

Kubernetes

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 Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications. Open source container orchestration tool It can manage in physical , hybrid and cloud environment No downtime High performance and scalability

Read more

Benefits of docker-compose

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 Docker compose is used for running multiple container as 1 service Each service is isolated from one another No dependency to start each service independently one yaml file contains all and can be run in 1 shot Docker manages single container , docker-compose manages multiple applications It is a powerful tool , to set

Read more

Docker update & wait

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 Update : [root@ip-172-31-17-58 centos]# docker update –pids-limit 5 6344a718da9b6344a718da9b[root@ip-172-31-17-58 centos]# docker update –help[root@ip-172-31-17-58 centos]# docker update –cpu-period 200 8d2f95364af1Error response from daemon: CPU cfs period can not be less than 1ms (i.e. 1000) or larger than 1s (i.e. 1000000)[root@ip-172-31-17-58 centos]# docker update –cpu-period 2000 8d2f95364af1 wait : [root@ip-172-31-17-58 centos]# docker start 8d2f95364af18d2f95364af1[root@ip-172-31-17-58 centos]# docker

Read more

What is docker and container ?

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 What is Docker ? Answer : Docker helps in containerization of apps , so that app app gets it own environment to run. What is a container ? Containers virtualize the operating system unlike VMs. Containers are portable with that it means it can do development and deployment . In terms of docker its

Read more