. Labels are the mechanism you use to organize the Kubernetes objects
2. Labels are key value paired without any predefined meaning that can be attach to objects
3. Labels are similar to tag in AWS and GIT
Labels are intended to be used to specify identifying attributes of objects that are meaningful and relevant to
users, but do not directly imply semantics to the core system
4.
5. Labels can be attached to objects at creation time and subsequently added and modified at any time
You are free to choose labels as you need it to refers an environment which is used for dev or Testing or
production, refer a product group like Deployment A, Deployment B
6.
Valid label value:
• must be 63 characters or less (can be empty),
• unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]),
• could contain dashes (-), underscores (_), dots (.), and alphanumeric between.
7.
Apply label on pod via imperative method
a. Kubectl label pod{object} object_name env=de