Trying to figure out , how to apply new label "app=green" to the pods that currently marked with "color=green" ?
Looks like I could not use "--field-selector" and I don not want to specify name of each pod in "kubectl label" command.
Thank you !
This should work:
kubectl label pods --selector=color=green app=green