Question-66: What is the use of scheduler and etcd server in Kubernetes cluster?

Answer: Scheduler is responsible for placing different Pods onto different nodes in the cluster. And etcd server is the storage for the cluster where all of the API objects are stored.

Question-67: What are the master and worker nodes for the Kubernetes cluster?

Answer: Kubernetes has two types of nodes as below

  • master
  • worker

Master node contain the containers like API server, scheduler etc, And this can be used to manage the cluser while worker nodes where your containers would run. And Kubernetes avoid scheduling work on the master nodes to ensure that application workloads does not impact the overall operation of the cluster.

Question-68:  Can you please let me know, few of the Kubernetes components?

Answer: Following are the Kubernetes Cluster components and all are deployed by the Kubernetes itself. And all these components run in the kube-system namespace.

  • Kubernetes Proxy
  • Kubernetes DNS
  • Kubernetes UI

You can think namespace as folder in a filesystem.

Question-69: What is the use of Kubernetes Proxy?

Answer: The Kubernetes proxy would route network traffic to load-balanced services in the Kubernetes cluster. And for this proxy must be present on each node of the cluster. And mostly this is done using API object named DaemonSet. Hence, it is required kube-proxy is running on every node in the cluster.

Question-70: What is the Kubernetes DNS and what is the use?

Answer: Every Kubernetes cluster runs the DNS server, which provides naming discovery for the services that are defined in the distributed cluster. And this DNS server runs as a replicated service on the cluster. And based on the size of the cluster number of DNS server would run.