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
3 months agoHortencia
3 months agoMignon
2 months agoJesse
2 months agoTomas
2 months agoOcie
2 months agoFletcher
3 months agoJoni
3 months agoFrancoise
3 months agoDelsie
3 months agoJaney
2 months agoAlysa
2 months agoAltha
2 months agoFletcher
3 months agoTula
4 months agoWade
3 months agoRosalia
3 months agoDevon
3 months agoRickie
3 months ago