Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version:4.7.7
Cloud being used: bare-metal
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.
Ideally, you should be using manifest files and applying them.
If you just want to do it manually, this seems to work fine.
Adding a label
kubectl label pods my-pod new-label=awesome
Updating a label
kubectl label pods my-pod new-label=woot --overwrite
Deleting a label
kubectl label pods my-pod new-label-