Study. uk . com
  1. Home
  2. All questions
  3. Question 526

CKA study material · question 526 of 1000

You want to find out how many kube-apiserver instances a cluster is running. Which objects reveal that?

  1. Endpoints of the kubernetes Service in the default namespace only
  2. Node objects labelled node-role.kubernetes.io/control-plane
  3. Lease objects named apiserver-<hash> in kube-system
  4. ConfigMaps named kube-apiserver-info in kube-system
Show the answer

Answer: C. Lease objects named apiserver-<hash> in kube-system

Each API server publishes its identity as a Lease in kube-system named apiserver plus a hash of its hostname, which lets a client count the running instances.

Source: Leases (Kubernetes) — API server identity

Challenge yourself on this topic → Study as cards