Nicholas Roberson
04/05/2023, 4:06 PMlabels
and annotations
tags in a LaunchPlan
however I am not seeing these show up in any of the metrics queries I am running against our prometheus server.Yee
Nicholas Roberson
04/05/2023, 6:58 PMkubectl
so I can pull info from kubernetes api and confirm whether or not they have been propogated to the pods.@task(task_config=Pod(pod_spec=pod_spec, labels=labels, annotations=annotations, ...)
kubectl
to see if these task labels are properly getting propogated.Yee
Nicholas Roberson
04/05/2023, 7:20 PMYee
Nicholas Roberson
04/05/2023, 7:21 PMkubectl -n flytetester-development get pod ************ -o json | jq .metadata.labels
{
"app": "prometheus_exporter",
"domain": "development",
"interruptible": "false",
"node-id": "n0",
"owner": "nick",
"project": "flytetester",
....
}
kube_pod_labels{pod="fe16583c0005d43eba06-n0-0"}
yields nothingYee
Nicholas Roberson
04/11/2023, 2:04 PMf227c8b9ffda446c2889-frpr4oka-0-dn8-0
which is the default, but could we prepend a value to the beginning of that name via some settings or whatnot.