Lesson  in  CKA Mock Exam

Question 7: DaemonSet with Resource Requests

Create a DaemonSet with specific labels, image, and CPU/memory requests.

Use Namespace project-tiger for the following. Create a DaemonSet named ds-important with image httpd:2-alpine and labels id=ds-important and uuid=18426a0b-5f59-4e10-923f-c0e078e82462. The Pods it creates should request 10 millicore cpu and 10 mebibyte memory.

Hint 1

Same label-placement subtlety as the last question: the object's own labels and the Pod template's labels are separate fields, and the selector has to match whatever the template carries.

Hint 2

Millicores and mebibytes have specific unit suffixes in a resource quantity — a bare number means something different from a number with m or Mi attached.