Start free

Browse › Kubernetes Cluster Architecture

Manage Kubernetes Pod Scheduling by Using Node Selectors and Node Affinity

Guided

Part of Kubernetes Cluster Architecture Topic: Programming

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this challenge, you will manage pod scheduling in a Kubernetes® cluster by using nodeSelector and node affinity rules.

  1. Create a Deployment that schedules pods by using the Kubernetes nodeSelector feature
  2. Schedule a pod by using a required node affinity
  3. Schedule a pod by using a preferred node affinity

Note: Once you begin the lab, you will not be able to pause, save, or exit and then return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.