{ "id": "priority-class-task", "title": "Pod Priority and PriorityClass", "category": "Workloads & Scheduling", "difficulty": "Medium", "type": "task", "weight": 6, "description": "## Pod Priority and PriorityClass\n\n**PriorityClasses** assign a numeric priority to pods. When cluster resources are scarce, the scheduler preempts lower-priority pods to make room for higher-priority ones. This is a CKA exam topic.\n\n**Your task:**\n\n1. Create a **PriorityClass** named `high-priority` with:\n - `value: 1000000`\n - `globalDefault: false`\n - `description: \"High priority workloads\"`\n2. Create a Pod named `critical-pod` using `nginx:alpine` that references the `high-priority` PriorityClass via `spec.priorityClassName`\n\n```bash\n# Verify:\nkubectl get priorityclass high-priority\nkubectl get pod critical-pod -o jsonpath='{.spec.priorityClassName}'\n```", "hints": [ { "title": "Create the PriorityClass", "body": "PriorityClass is a cluster-scoped resource (not namespaced). Higher value = higher priority.", "command": "cat <