2023100413065252 K8s Label
Label¶
Labels It is a key-value pair attached to Kubernetes objects and is used to group objects. For example: app: frontend env: dev
Label selector¶
label selectors - Equality-Based Selectors: - = - == - != - Set-Based Selectors - in: for example: env in (dev,qa) - notin - exist - does not exist
References¶
- LinuxFoundationX LFS158x.1. Chapter 8. Kubernetes Building Blocks