A Kubernetes administrator can create a deployment of a kind: PodDisruptionBudget for high availability of the application, it makes sure that the minimum number is running pods are respected as mentioned by the attribute minAvailable spec file. This is useful while performing a drain where the drain will halt until the PDB is respected to ensure the High Availability(HA) of the application. The following spec file also shows minAvailable as 2 which implies the minimum number of an available pod (even after the election).
Example: YAML Config using minAvailable =>
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: zk-pdb
spec:
minAvailable: 2
selector:
matchLabels:
app: zookeeper
Posted Date:- 2021-10-19 13:21:04
Can you brief on the working of the master node in Kubernetes?
What was the main motive behind the development of Kubernetes?
What is orchestration in software?
How can you get a static IP for a Kubernetes load balancer?
Give examples of recommended security measures for Kubernetes.
What is Kubernetes Load Balancing?
What is the LoadBalancer in Kubernetes?
What are the different services within Kubernetes?
What are the types of controller managers?
What is the Kubernetes controller manager?
What are the different components of Kubernetes Architecture?
Name the initial namespaces from which Kubernetes starts?
How to run Kubernetes locally?
What is Ingress Default Backend?
Why use namespaces? What is the problem with using the default namespace?
What is the Google Container Engine?
What is a cluster of containers in Kubernetes?
What is the job of the kube-scheduler?
What does the node status contain?
What is Google Container Engine?
List various services available in Kubernetes
Mention the types of controller managers
What are the features of Kubernetes?
How does Kubernetes simplify containerized Deployment?
What are the main components of Kubernetes architecture?
What’s the init container and when it can be used?
What is PDB (Pod Disruption Budget)?
What are the various K8's services running on nodes and describe the role of each service?
Why use namespace in Kubernetes?
What is the need for Container Orchestration?
What is Container Orchestration?
How are Kubernetes and Docker related?