Kubernetes Interview Questions and Answers
Ques 1. What is Kubernetes and why is it used?
Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. It helps in managing containerized applications in a clustered environment efficiently.
Ques 2. Explain the key components of Kubernetes architecture.
Key components include Master Node (API server, Controller manager, Scheduler), Worker Node (Kubelet, Kube Proxy), and etcd (distributed key-value store).
Ques 3. What is a Pod in Kubernetes?
A Pod is the smallest and simplest unit in the Kubernetes object model. It represents a single instance of a running process in a cluster and can contain one or more containers.
Ques 4. Explain Kubernetes Pods and how they communicate with each other.
Pods share the same network namespace, allowing them to communicate via localhost. They can also use Services for communication, which provides a stable IP and DNS name for a set of Pods.
Ques 5. What is a Kubernetes Deployment?
A Deployment is a resource object in Kubernetes that provides declarative updates to applications. It allows you to describe a desired state for your application and automatically manages the deployment and scaling.
Most helpful rated by users: