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
3 months agoLouvenia
3 months agoMari
3 months agoGeorgeanna
4 months agoLynsey
4 months agoJuliann
4 months agoCharolette
4 months agoJutta
4 months agoAugustine
5 months agoLinette
5 months agoLinn
5 months agoReynalda
5 months agoHarrison
5 months agoWalker
5 months agoJettie
8 months agoKristin
8 months agoAntonio
7 months agoEttie
8 months agoBeatriz
8 months agoAlaine
9 months agoTamra
9 months agoAlaine
9 months agoJolanda
9 months agoJuliana
8 months agoMarva
9 months agoWilbert
9 months agoStefan
9 months ago