Openshift

Explain labels. What are they? When do you use them?

Difficulty: unrated

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

Answer

  • Labels are used to group or select API objects
    • They are simple key-value pairs and can be included in metadata of some objects
    • A common use case: group pods, services, deployments, ... all related to a certain application