https://linen.dev logo
#troubleshooting
Title
# troubleshooting
j

Javier Llorente Mañas

03/17/2022, 2:30 PM
Hello! It is possible to add custom labels to a worker pod in k8s?
I am looking into the Airbyte source code an it seems that this option it is not possible
a

Augustin Lafanechere (Airbyte)

03/17/2022, 2:35 PM
Hi @Javier Llorente Mañas I found this PR which will allow addition of custom annotations to pods created by the workers. Is it what's you're looking for?
j

Javier Llorente Mañas

03/17/2022, 2:54 PM
yes that’s what I was looking for 😅
Well actually this PR it is not solving my issue I need to be able to add custom labels to the worker pods
d

Davin Chia (Airbyte)

03/17/2022, 4:21 PM
the worker pods are created by the Kube deployment yamls and not dynamically created, you can add the labels in your yaml
j

Javier Llorente Mañas

03/18/2022, 7:58 AM
yeah sorry not the worker pods, I am referring to the source and destination pods
sorry not the worker pods. I am referring to the source and destination pods. These pods are created dynamically by the worker pods if I am not mistaken and it is not possible to add labels to the pods.
a

Augustin Lafanechere (Airbyte)

03/18/2022, 2:30 PM
Hi @Javier Llorente Mañas sorry I confused annotations and labels. This is indeed not possible at the moment. Feel free to open an issue and contribute to this if you want. Could you share why you need to set custom labels?
j

Javier Llorente Mañas

03/18/2022, 2:33 PM
Company-wise for cost control we would like to have an overview of all the costs per app. To do so we label all the resources from each app.
a

Augustin Lafanechere (Airbyte)

03/18/2022, 2:42 PM
Could it be possible to track cost per Kube namespace?
j

Javier Llorente Mañas

03/18/2022, 4:23 PM
yeah it is as well another solution but we do not have that separation 😅
2 Views