I am doing Lab, there i am trying to save file through OC edit command, but it is showing error.
student@workstation ~]$ oc edit deployment/hello
A copy of your changes has been stored to "/tmp/oc-edit-1fi7k.yaml"
error: Edit cancelled, no valid changes were saved.
Let us know , how to save file through oc edit command?
Seems that the changes you are doing in the deployment are being rejected when sent back to OCP.
This may be caused by many reasons, like invalid values, wrong format, etc.
Can you clarify what exact changes are you applying?