Hi,
I have my exam scheduled for in 3 days. I have a couple of questions.
I am thinking to avoid using the kubectl edit command and rather stick to kubectl get -o yaml > test.yaml and then apply test.yaml.
Reason being there are fields that are not editable and this will save me time.
In the exam when I would do ssh can I close the terminal after each question and open a new terminal or do I haev to leave my terminals open for them to evaluate my work later. I fear if I close my terminal then they might not be able to see my work.
Do I have to do alias kc=kubectl every time I ssh to a new terminal?
If someone can share ny insights that would be helpful.
For the first of these: feel free to close the terminal. The questions will require you to do something that modifies the state of that cluster and host, and it will persist just fine even after you exist the remote host.
As for kubectl – just use the “k” alias, which is set up for you automatically when you ssh into a remote host. The exam people set these things up for you, no reason to do it yourself.