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

CKA study material · question 507 of 1000

A kubelet is configured with both --register-node=false and --register-with-taints=workload=gpu:NoSchedule. What happens to the taint?

  1. It is applied when the node next reports its status
  2. The kubelet refuses to start because the flags conflict
  3. Nothing — the flag has no effect when self-registration is off
  4. It is applied, but only to Pods that already tolerate it
Show the answer

Answer: C. Nothing — the flag has no effect when self-registration is off

--register-with-taints applies taints at registration time only, so it is a no-op when --register-node is false. The taint would have to be added with kubectl taint instead.

Source: Nodes (Kubernetes) — Management › Self-registration of Nodes

Challenge yourself on this topic → Study as cards