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.
Fletcher
3 days agoJoni
5 days agoFrancoise
11 days agoDelsie
12 days agoFletcher
21 days agoTula
25 days agoDevon
16 days agoRickie
18 days ago