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

Below are the Features of pods Pods are the atomic unit of kubernetes. Pods run on worker node. Pods can contain one or more container. Pods doesn’t exist without a container. All pods in a cluster are connected to a pod network. Pods are temporary [once removed will be removed for ever]. A pod pass through these phases : Ready,Pending,succeeded,Failed. Services running in pods are accessed using pod IP. All pods can communicate with each other on all nodes. All

Read more

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

There are mainly four components in kubernetes master.They are: Api server: Contains all apis available in k8s.Each api is a feature .Api server accepts input in JSON format Cluster store : Cluster store is the source of truth of a master.All requested datas are store in cluster store.It uses etcd Controller -Controller watches for changes in worker nodes. Kube scheduler -Assigns pods to nodes

Read more

Write down 10 features of Kubernetes with image

Kubernetes is an opensource software developed by Google It is written in go/go lang It is self healing Auto scaling Load balancing Makes deployment quicker Has an ability to absorb changes quickly Contains a master and lot of worker nodes The work station provides the desired state to master and master make sure the desired state is maintained K8s contains pod as atomic unit.

Read more

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

FROM – First command inside a docker file and Creates the base image. MAINTANER – Sets the author info of docker file. RUN – Runs command in the container of previous layer ARG -Sets the variable EXPORT -Expose a port COPY – Copies a file to the container ADD – copies a files from source location to a image location WORKDIR -Sets working directory CMD – To run a command or executable ENTRYPOINT Sets PID1 VOLUME-Creates a mount point USER

Read more

What is Docker Images and Exaplin in 10 bullet lines?

Docker image is a collection of files systems A docker image acts as a blueprint for docker container. File systems are layered over each other Layer 0 must contain a root filesystem Each layer in image will have 40 character length UUID generated by SHA 256 algorithm. The topmost layer will have priority. All layers in a docker image is Read only. All layers in an image is combined to form a container. From one image multiple containers can be

Read more