use case is that right now my pods are <some_ha...
# ask-the-community
a
use case is that right now my pods are <some_hash>-dn0-n0-dn0-chief-0 etc. Which makes it hard to identify what job they belong to
k
Check the label
a
not a bad idea 😂
is there a k8s command to get pods with a certain label, probably is I guess
k
Labels always will have execution id
Yup kubectl -o I think
a
can I set labels on the TFJob pods individually?
I've set them on the workflow with a launch plan
k
Yup Pass That when you run the execution
They will get passed down
a
using @task decorator?
ah ok, so its the labels sent to the workflow
so all task pods will have same labels
Im trying to identify a eval job vs a training job
k
use different workflows
d
is there a k8s command to get pods with a certain label
kubectl get pod -l <your-label> -n <your-namespace>