💻 Tech
This command will set a new label var2=true
for all the pods that have existing label var1=val1
:
k label po -l var1=val1 var2=true
This command will set a new label var2=true
for all the pods that have existing label var1=val1
:
k label po -l var1=val1 var2=true