What are the components of Kubernetes worker and explain each component’s function?

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 Container Its a the application/env we need to managed by K8s Kubelet  kubelet is responsible for starting, stopping the containers in pods, Ensure the stable running in the desired state Runs the Kubernetes nodes Kube-proxy service for network proxy makes communications between pods, containers, and nodes

Read more

2.What are the components of Kuberentes master and explain each component’s functions

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 API Server Its process the incoming API request from UI/CLI It Uses RESTAPI Controller Controls the Kubernetes cluster Kubernetes include the Endpoints Controller, Replication Controller, and Namespace Controller observes the state of the cluster scheduler Schedules Pods Scheduler maintains the work Cluser store permanent storage for Cluster config

Read more

Write down 10 features of Kubernetes with image

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 Managing contianers Automatic Scalling Up or down Maintain pods Configuration done by Yaml or Json Manage Mulitple Contianers Always maintain desired Containers Automatic creations of failed contianers

Read more

Q3. Write a example dockerfile with 2 CMD, 2 ENTRYPOINT and 1 CMD/1ENTRYPOINT and write down a behaviour of it.

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 Sceraniro 1 2 CMD – the last CMD will override the first one Scenario 2 2 EntryPoint – the last ENTRYPOINT will override the first one Scenario 3 1 ENTRYPOINT and 1CMD – Entrypoint will override CMD

Read more

Create one Image which have base as centos and with git – ntp – httpd.

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 root@ip-172-31-28-155:/home/ubuntu# docker commit -a”jenish” -m”jenish centos” b26fb2545c08 jenish_centossha256:bcbda5ee8c6a2c31ab6e86820c86585b033718f43d54ed17f8fd92aa46c72c3a root@ip-172-31-28-155:/home/ubuntu# docker run -itd –name jenishCentos jenish_centos

Read more

Q2. What is the difference between docker stop and docker kill?

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 Stop – allows the docker contianer to terminate the process gracefully. This will also internally call KILL method if the STOP methods didnot respond with in limited time period Docker Kill – will terminate the docker container abruptly.It will leads to Forcible exist.

Read more

What is Docker Container with image?

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 image is a snapshot which contians our code and dependent files. Docker containier is a instance of a doceker image, we can have mulitple contianers for a docker Imager

Read more