Exploring Kubernetes: Labels, Selectors, ReplicaSet, and Deployment, Deployment Rollout Explained
Labels:
Labels are basically key value pair, which have no specific rules regarding name but in real time as good practice a naming convention must be followed to name labels.
If you don't explicitly assign label, it is assigned by default where key ...