Hi Everyone,I am preparing for CKAD. I don't have experience at all.Should v hav . . .

Raghu:
Hi Everyone,I am preparing for CKAD. I don’t have experience at all.Should v have to write yaml files in the certification exam or we have to practice more on using option dryrun

Tej_Singh_Rana:
Hello, @Raghu
In some cases, we have to write manifest files like for persistentVolume, persistentVolumeClaim, storageClass etc.
But you can copy their templates from official k8s docs. (It’s allowed in official exam)
and for rest you can practice more on using the option dry-run.

Raghu:
Okay Thanks Tej

chris resnik:
in most cases, use the imperative command whenever possible to get a task done.

chris resnik:
if that is not possible, use the imperative command with dry-run, redirect the output to a yaml file, edit the file as required

chris resnik:
if that is not possible, use an example yaml from http://kubernetes.io|kubernetes.io and edit the example to fit your needs

chris resnik:
if there is an existing resource, you could also get a yaml output from that source and edit that (almost the same as using an example from http://kubernetes.io|kubernetes.io)

chris resnik:
writing a yaml by hand from scratch takes too long and is too error-prone, so avoid that if possible

Raghu:
excellent thanks for info Chris