We used the same command to retrieve the name of one of the Pods and executed the command that removed the label service.
ℹ️ Please note - at the end of the name of the label. It is the syntax that indicates that a label should be removed.
Finally, we described the Pod.
xxxxxxxxxx
POD_NAME=$(kubectl get pods -o name \
| tail -1)
kubectl label $POD_NAME service-
kubectl describe $POD_NAME
xxxxxxxxxx
POD_NAME=$(kubectl get pods -o name \
| tail -1)
kubectl label $POD_NAME service-
kubectl describe $POD_NAME