Hi, when I tried Lab4.2 step3, always get a error message, as following:
"[email protected]:/$ sudo kubectl get deployment hog -o yaml > hog.yaml
-bash: hog.yaml: Permission denied"
If you examine closely the command in step 3 of Lab 4.2, and compare it against your command, you will see that you are running the command incorrectly.
Hi @chrispokorni, I tried "kubectl get deployment hog -o yaml > hog.yaml" also, same error
You can check the permissions on that file and/or list the processes/apps currently using (and possibly locking) the file or I/O.