Can't create multiple labels with same key in Kubernetes 1.19

Is there a way to have the same label key but different values for a pod. For example, can a pod have labels as "app=db" and "app=web". I tried to use kubectl label command but it picks only one label.


Labels are a map[string]string so you are correct, this is not possible.