Create a namespace with your name and assigne one dummy resourcesquota to it and deploy a app of mysql in your namespace.

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 Create a namespace with your name and assigne one dummy resourcesquota to it and deploy a app of mysql in your namespace. created the name spacekubectl create ns ajins created a ode in that name spacekubectl create deployment ajidep –image=mysql -n ajins applied the resourseskubectl apply -f rs.yaml –namespace=ajins kubectl get resourcequota mem-cpu-demo –namespace=ajinsNAME

Read more

What is pod. Explain 15 points

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 A pod is a unit which can have one or more unit which can be runIt will have a unique IPIt will have config info for a containerThe pod initialize the containerThe will in running state when the container is started.The pod ceases to exist when the container is terminatedPod can not be restarted,

Read more

Components of Kubernetes worker and explain

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 kubelet : This component ensure that containers are running in the podkube-proxy : This the network proxy that is running on each nodeDocker or any container runtime : this will run the docker/ any other container

Read more

Components of Kubernetes master and explain

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 : The apis to communicate with outside world and between components. It provides api for all the operationsetcd : it is a data store used by Kubernetes to store the config data. All the communication to etcd is via api server Controller Manager: It runs in a loop to check teh state

Read more

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 FROM ubuntuMAINTAINER Rajesh Kumar << rajesh@scmgalaxy.com>>ENV DEBIAN_FRONTEND=noninteractiveRUN apt-get updateRUN apt-get updateRUN apt-get -y install tzdataRUN apt-get update && apt-get install git -y && apt-get install -yq apache2ENTRYPOINT [“/bin/echo”, “Hello” && “/bin/echo”, “Second entrypoint”] FROM ubuntuMAINTAINER Rajesh Kumar << rajesh@scmgalaxy.com>>ENV DEBIAN_FRONTEND=noninteractiveRUN apt-get updateRUN apt-get -y install tzdataRUN apt-get update && apt-get install git -y &&

Read more

List out all INSTRUCTION statement of dockerfile and give one line explanation.

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 FROM – to specify the parent image. Eg ubuntu from which you create an imageMAINTAINER – to set the author/creater of the imageRUN – to run a command like shell script in linux or execute a programARG – should be used along with FROM to speficy any arguments lie versionEXPOSE – To inform the

Read more

What is Docker Images and Exaplin in 10 bullet lines?

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 file to run code in container. It contains all the file/software that you needed to run your application. It has multiple layers. Each layer is originated from the prev. layer. The top layer is editable. We can create images out of existing images. We can add the lib or changes

Read more

Create one Image which have base as ubuntu and with git – ntp – apache2.

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 Steps used to create the docker image create a docker containerattach to itapt updateapt install gitapt install ntpapt install apache2docker commit -a”Aji Raphel” -m”created a docker image with ubuntu+git+ntp+apache2″ b3bab63b207d aji_ubuntu

Read more

What is the use of “docker update” commands? with example and 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 update command is used to update the configuration of the already created docker image. We can update the CPU, memory etc. by using the update command. Eg : docker update –memory 8M 829414517f17 Result : 829414517f17 aji_0 0.00% 7.445MiB / 8MiB 93.07% 1.51kB / 0B 0B / 0B 82

Read more

Explain 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 It is a container which provide you an environment to run your application. You can create a container with all the basic setup needed for your application to run and run your application

Read more