I'm just gonna go with the YAML file option. It's the most explicit and leaves the least room for error. Plus, who doesn't love a good YAML file, am I right? *cricket sounds*
Haha, I bet the exam writer is hoping we'll go for the first option. But I'm feeling rebellious today, so I'm going to choose the second one just to be different.
Wow, this is a straightforward question. I'd go with the second option - piping the YAML directly to kubectl create. Saves me a step of creating the YAML file first.
Murray
1 months agoHortencia
1 months agoMignon
17 days agoJesse
17 days agoTomas
25 days agoOcie
29 days agoFletcher
1 months agoJoni
1 months agoFrancoise
2 months agoDelsie
2 months agoJaney
17 days agoAlysa
17 days agoAltha
19 days agoFletcher
2 months agoTula
2 months agoWade
1 months agoRosalia
1 months agoDevon
2 months agoRickie
2 months ago