Kubernetes

Provide some actual examples of how labels are used

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

  • Can be used by the scheduler to place certain Pods (with certain labels) on specific nodes
  • Used by replicasets to track pods which have to be scaled