Reference Page: AWS|GCP|AZURE|Kubernetes

Kubernetes Links : Learn     Interview Questions     Software IDE Kubernetes Jobs : Indeed.com     ZipRecruiter.com     Monster.com

Kubernetes Interview Questions - Page 3

< Previous Page              Next Page >
Question: What are Kubernetes Taints and Tolerations?
Answer: In Kubernetes Taints are attributes applied to nodes that repel Pods unless the Pods have matching tolerations.

Tolerations are specifications added to Pods, allowing them to tolerate (or ignore) the taints on nodes and be scheduled onto those nodes.

Question: Can you explain Kubernetes Pod Security Policies?
Answer: The Pod Security Policies (PSPs) are cluster-level resources that control security-sensitive aspects of Pod specification and behavior. They define a set of conditions Pods must meet to be admitted into the cluster, such as allowed volume types, privileged access, and host network usage.
Question: What is the difference between a Kubernetes StatefulSet and a ReplicaSet?
Answer: A StatefulSet manages stateful applications that require stable, unique identities and stable storage, providing ordered deployment and scaling. A ReplicaSet manages stateless applications and ensures a specified number of identical Pod replicas are running at any given time, without concern for stable identity or storage.

Question: Can you explain Kubernetes RBAC (Role-Based Access Control)?
Answer: The Kubernetes RBAC is a security mechanism that controls access to Kubernetes resources based on roles and role bindings.
Roles define a set of permissions, while role bindings associate roles with specific users, groups, or service accounts, allowing fine-grained control over cluster access.

Question: What are Kubernetes Custom Resources and Custom Controllers?
Answer: Kubernetes Custom Resources enable users to define and use new API types beyond the built-in Kubernetes resources.

Custom Controllers are controllers that watch for changes to Custom Resources and take action based on those changes, allowing for the automation of custom workflows and application-specific logic.

Question: What is Kubernetes State Persistence and how is it achieved?
Answer: Kubernetes State Persistence refers to the ability to maintain the state of applications and resources across cluster restarts or failures. It is achieved using various mechanisms such as:
Persistent Volumes (PVs) for application data
Etcd for storing cluster state
Backup solutions for disaster recovery.

Question: Can you explain Kubernetes Pod Disruption Budgets (PDBs)?
Answer: The Pod Disruption Budgets (PDBs) are policies that define the minimum number of Pods of a certain type that must remain available during voluntary disruptions, such as rolling updates or node maintenance.
PDBs ensure that critical applications remain accessible and operational during such events.

Question: What are Kubernetes Init Containers and how are they used?
Answer: The Init Containers are specialized containers that run before the main containers in a Pod start. They are used to perform initialization tasks such as setup, configuration, or data preparation before the application containers start running.
Init Containers are useful for tasks that need to be completed before the application can start processing requests.


< Previous Page Next Page >