Docker Interview Questions and Answer Part – 10

What is a dangling volume? The default volume for the container file system that’s unpacked from the image A volume that’s removed from a running container A…

Read More

Docker Interview Questions and Answer Part – 9

Where does the file system come from for a container? From a remote network share hosted through Hyper-V From the machine the container is started on From…

Read More

Docker Interview Questions and Answer Part – 8

The docker history command shows output similar to which of the following? Dockerfile (Ans) docker-compose.yml docker images docker layers docker ps What is a tag? A reference…

Read More

Kubernetes Commands: kubectl get – Tutorials and Examples

kubectl get- Display one or many resources Prints a table of the most important information about the specified resources. You can filter the list using… A label…

Read More

Working with Kustomization.yaml and tutorials

Currently this blog is under progress. Please read following url meanwhile. https://github.com/kubernetes-sigs/kustomize https://github.com/kubernetes-sigs/kustomize/tree/master/examples/wordpress https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/ https://levelup.gitconnected.com/kubernetes-change-base-yaml-config-for-different-environments-prod-test-6224bfb6cdd6 https://blog.scottlowe.org/2019/09/13/an-introduction-to-kustomize/ https://blog.stack-labs.com/code/kustomize-101/ Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and…

Read More

Kubernetes Commands: kubectl config – Tutorials and Examples

The kubectl command-line tool uses kubeconfig files(file named with – config) to find the information it needs to choose a cluster and communicate with the API server…

Read More

Kubernetes Port requirement during Kubernetes Installing using kubeadm

Control-plane node(s) – required ports Protocol Direction Port Range Purpose Used By TCP Inbound 6443* Kubernetes API server All TCP Inbound 2379-2380 etcd server client API kube-apiserver,…

Read More

Kubeadm Errors: network plugin is not ready: cni config uninitialized

Error Message Solution Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices….

Read More

Kubernetes Interview Questions and Answer Part – 8

What is the primary application transport mechanism for the Kubernetes API Server? Server side RPC calls Javascript over WebSockets TCP multiplexing over HTTP/S JSON Over HTTP/S (Ans)…

Read More

Kubernetes Interview Questions and Answer Part – 7

What is the main reason why the Ingress API has not been developed beyond its original specification? It was delivered to test ingress use cases, but annotations…

Read More

Docker Interview Questions and Answer Part – 7

Docker recommends using the responsible disclosure model for reporting vulnerabilities in the Docker platform. What does this mean? Simultaneously report the vulnerability to Docke and openly publish…

Read More

Docker Interview Questions and Answer Part – 6

An admin has configured the Linux audit framework to generate audit events for the Docker daemon’s data root. After a recent OS update, the data root is…

Read More

Docker Interview Questions and Answer Part – 5

Is it ever possible to run a Linux-based container on a Microsoft Windows platform? Yes, Docker containers abstract away the underlying operating system, which means the container…

Read More

Kubernetes Interview Questions and Answer Part – 6

Which of the following is correct about Kubernetes Pods? Pods can only contain a single VM Pods can only contain a single container Pods can contain one…

Read More

Kubernetes Interview Questions and Answer Part – 5

Which of the following describes the fundamentals of Kubernetes Pod networks? Each Pod gets a unique routable IP on the Pod network (Ans) All Pods share a…

Read More

Kubernetes Interview Questions and Answer Part – 4

Which of the following best describes Kubernetes from a licensing standpoint? Proprietary technology under a subscription license from Google, Inc Open-source under the OpenStack Foundation Proprietary technology…

Read More

Docker Error – Requires: container-selinux >= 2:2.74

Error\ Solution Go to http://mirror.centos.org/centos/7/extras/x86_64/Packages/ Find the latest version for container-selinux i.e. container-selinux-2.21-1.el7.noarch.rpm Run the following command on your terminal: $ sudo yum install -y yum install…

Read More

Update the taints on one or more nodes in Kubernetes

What is meaning of taint? a trace of a bad or undesirable substance or quality. What is tainted? spoiled; damaged in quality, taste, or value: Follwing are…

Read More

Setup NFS server and use inside a Kubernetes pods in RHEL/CENTOS7

Setup a NFS server in one of the node of Kubernetes Cluster using rhel 7.X Validate NFS server is working Manually Using NFS server in Kubernetes Pods…

Read More

Detailed explaination of joining Kubernetes Nodes aka workers in Kubernetes master?

Step 1 – Install Docker https://www.devopsschool.com/tutorial/docker/install-config/ https://www.devopsschool.com/tutorial/docker/install-config/docker-install-commuityedition-centos-rhel.html Step 2 – How to find discovery-token-ca-cert-has in kubernetes master node? Mehtod 1 – Using openssl Method 2 – Using…

Read More

Kubernetes PersistentVolume and PersistentVolumeClaim using NFS volume types

Save the definition to a file, for example nfs-pv.yaml, and create the PV: $ kubectl create -f nfs-pv.yaml persistentvolume “pv0001” created $ get pv $ kubectl create…

Read More

Kubernetes Errors and Solutions Database

Kubernetes minikube errors and Solutions kubeadm error – kubelet isn’t running or healthy and connection refused EKS cluster setup error: the server doesn’t have a resource type…

Read More

How to expose multiple port in services in kubernetes or Multi-Port Services

You have two options: You could have multiple services, one for each port. As you pointed out, each service will end up with a different IP address…

Read More

Kubernetes Resources Web References & Cheatsheet

Kubernetes custom resource definitions explained How To Install and Use Istio With Kubernetes Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate…

Read More

How to setup Kubernetes clustors in HTTP Proxy corporate environment

HTTP Proxy corporate environment for kubernetes can be fixed by including all my cluster node IPs in NO_PROXY and using the same NO_PROXY on all the minions…

Read More

Generate yaml file from existing Kubernetes resources of cluster?

Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…

Read More

Kubernetes FAQ

Question 1 – Add containers to a Kubernetes pod on runtime or Allow containers to be added to a running pod Answer: Adding or removing containers to…

Read More

Openshift Interview Questions and Answer – Part 1

What is Openshift? Difference between Openshift & Kubernetes? What is Services Layer? How to expose a service in Openshift? What are the 3 components of any created…

Read More

Kubernetes Interview Questions and Answer Part – 3

What is Kubernetes? What are Kubernetes Components? What is etcd? What is master & minion? How to make quorum of cluster? What is Replication controller & what…

Read More