The kube-scheduler · Question 4 of 12

What happens if you set the field spec.nodeName in the pod manifest directly to a node?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • C The scheduler is bypassed and the kubelet of that node takes the pod

Explanation

With nodeName the assignment is already done. The kubelet then only checks by itself whether enough resources are free; if not, the pod fails with OutOfcpu, for example.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications