StaffCoder
Kubernetes
15 modules · 60 challengesSign up
Module 11 of 15 · 4 challenges

Certified Kubernetes Application Developer (CKAD) Resource Requests & Limits

Learn to declare CPU and memory requests and limits, read the scheduler's accounting, and compose pods into each quality-of-service class.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Requests & Scheduling

Sign up to unlock
—No data yetmedium
About this challenge

Give workloads the cpu and memory requests the scheduler does its arithmetic with, prove that a request above the node's allocatable memory can never be placed, and read the node's own allocatable and allocated accounting.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

Limits & Enforcement

Sign up to unlock
—No data yetmedium
About this challenge

Cap a leaking container with cpu and memory limits, watch the kubelet enforce the memory wall with an OOM kill and a restart while its neighbour under the same ceiling runs untouched, and see requests default from limits.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

QoS Classes

Sign up to unlock
—No data yetmedium
About this challenge

Compose pods that land in Guaranteed, Burstable and BestEffort from the request and limit rules alone, including the case where one under-declared container costs the whole pod its class, and read the assigned classes back from status.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

Node Resource Governance

STAR
Solving it completes the module
—No data yetmedium
About this challenge

Right-size a namespace of ungoverned tenants on one node: honest requests, a ceiling that keeps a leak inside its own container, a deliberate eviction ranking, and a ledger reconciling allocatable against requested.

Read the full problem
Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.