What is Pod in kubernetes. Explain in 15 points with image as an example

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 PODS are the atomic unit of scheduling in K8sDocker manages container – VMware manages VM & K8s manages PODsIt is our application or the serviceIt is the basic unit of workNo pod is ever redeployed(Ephemeral) (ie, we can’t get the same pod again. We can get the similar pod.)Pod is running as long the

Read more

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 The components of K8s worker node are1. kubelet – Kublet is the main K8s agent. It instantiate the pods in the node(only instantiate not create). It helps to register nodes with cluster. Its always watch the api server.It decides who is the master.10255 is the endpoint.2. kube-proxy – Its support for K8s networking. It

Read more

What are the components of Kubernetes master 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 Kubernetes master is the in charge of the cluster. Kuberenetes master should be of linux 64 based. The K8’s master have 4 components. They are1. api-server- Server of API’s. It contains all the APIs provided by K8s. It act as the front-end to the control panel, we access via REST API. Similar to ears

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 Docker is having the scalability challenges and K8s can manage that Docker brings challenges on network, K8s solves that K8s is the container orchestrator tool Auto heal of containers – K8s is self/auto healing K8s runs many containers as a cluster K8s provide the desired state Auto scaling Automatic rollback Load balancing K8s can

Read more

Storage/volume drivers supported by docker

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 overlay2 Overlay2 is the preferred storage driver for all currently supported Linux distributions, and requires no extra configurations. fuse-overlayfs Preferred only for running Rootless Docker on a host that does not provide support for rootless overlay2 btrfs and zfs Allows for advanced options, such as creating “snapshots”, but require more maintenance and setup. Each of these relies on

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 FROMSpecifies the base image. Specified docker image will be downloaded from registry if locally not available.Eg: FROM ubuntu MAINTAINERSpecifies the meta data about the user who creates. LABELSpecifies meta data about the image. It will be in key value pair format Eg: LABEL “Application_Environment”=”Development” LABEL “Application_Support”=”LearnITGuide.net Group” EXPOSEExpose instruction is used to inform about

Read more

Assignment for docker day2

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 Images and Explain in 10 bullet lines? Collection of file systems One copy of docker image get attached to each container. From one image multiple containers can be created Layered structure Each layer is each File system Layer 0 should be base image or Root FS Once image is attached to

Read more

Assignment for docker day 1

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 the use of “docker update” commands? with example and image Docker update The update command helps to dynamically update the configuration of one or more containers.Update command can be use for prevent containers from consuming too many resources from their Docker hostIt is not supported for windows containers

Read more

Assignment for docker day 1

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 the use of “docker wait” commands? with example and image Docker wait Blocks until one or more containers stop, then print their exit codes. How to check:Start a container in the backgrounddocker run –name abhi httpdRun docker waitdocker wait abhiKill the container from duplicat terminal and check the return value in actual

Read more

Assignment for docker day 1

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 Q1. Explain What is Docker Container with image? Docker container image is the lightweight independent runtime app run time environment.  As said, it contains everything needed to run application. Container is the collection of an user attached to 1 root FS 1 Network & 1 PID. Creation of user session, root file system, network,

Read more

Assignment for docker day 1

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 3. What is the difference between docker pause and docker unpause? Pause and Unpause are the basic commands in docker.1. pause Pause all processes within one or more containers Eg: docker pause abhi abhi1 2. unpause Unpause all processes within one or more containers Eg: docker unpause abhi abhi1

Read more

Assignment for docker day1

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 2. What is the difference between docker stop and docker kill? Docker stop / kill commands are used to stop the running docker container. After docker stop <name>, “docker ps -a ” will show the status as Exited (0) But after docker kill <name>, “docker ps -a ” will show the status as Exited

Read more