I remember practicing a similar question where we had to list deployments. I think we might need to use `-o name` or something like that to get just the pod names.
Okay, I think I've got this. I'll use `kubectl get pods -n development --selector=app=baz` to list the pods, then redirect the output to the file at the specified path.
This seems pretty straightforward. I'd use the `kubectl get pods -n development --selector=app=baz -o name` command to get the list of pod names and then write them to the file.
Rosalia
4 months agoLouvenia
5 months agoMari
5 months agoGeorgeanna
5 months agoLynsey
5 months agoJuliann
5 months agoCharolette
6 months agoJutta
6 months agoAugustine
6 months agoLinette
6 months agoLinn
6 months agoReynalda
7 months agoHarrison
7 months agoWalker
7 months agoJettie
10 months agoKristin
10 months agoAntonio
9 months agoEttie
9 months agoBeatriz
10 months agoAlaine
10 months agoTamra
10 months agoAlaine
11 months agoJolanda
11 months agoJuliana
10 months agoMarva
10 months agoWilbert
10 months agoStefan
10 months ago