Highlighted
Mission Specialist
Mission Specialist
  • 191 Views

LAB 280 - Unable to save file through OC edit command

Hi,

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?

Thanks

Rajkumar Batra

Labels (1)
0 Kudos
2 Replies
Highlighted
Flight Engineer
Flight Engineer
  • 173 Views

Re: LAB 280 - Unable to save file through OC edit command

Hi Rakjumar

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?

 

Kind regards

Jordi Sola

Reply
Loading...
Highlighted
  • 16 Views

Re: LAB 280 - Unable to save file through OC edit command

Hi RajBatra,

I have just completed the lab for DO280 ch06s02  and it went smooth without any issues. are you editing the hello deployment as explained in the course ?

 

DO280-ch06s02.png

Tags (3)
0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.