Explore topic-wise InterviewSolutions in Current Affairs.

This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.

1.

If a node is tainted is there a way to still schedule the pods to that node?

Answer»

By default, The pods don't get scheduled when a node is tainted, however, you can start applying tolerations to the pod spec using the command

kubectl taint nodes node1 key=value:NoSchedule
2.

How can containers within a pod communicate with each other?

Answer»

In Kubernetes, each Pod has an IP address. A Pod can communicate with another Pod by directly addressing its IP address, but the recommended way is to use Services. A Service is a set of Pods, which can be reached by a single, fixed DNS name or IP address. 


Previous Next