Dear all, we can select pods with particular labels using any of these 2 command . . .

Vagif Gafar:
Dear all, we can select pods with particular labels using any of these 2 commands:
kubectl get pods -l env=prod,bu=finance,tier=frontend
kubectl get pods --selector env=prod,bu=finance,tier=frontend. I do not see any principal difference between them, do you?

Tebogo:
https://stackoverflow.com/questions/60027090/what-is-the-difference-between-label-and-selector-in-kubernetes/60027122#60027122|https://stackoverflow.com/questions/60027090/what-is-the-difference-between-label-and-selector-in-kubernetes/60027122#60027122