I'm wondering if anyone has a custom job_template YAML for KubernetesConfig that they used to assign some environment variables. I can find it in the documentation for the legacy components but not for the current one. Thanks
k
Kevin Kho
09/06/2021, 4:49 PM
What is the use case here? You can do it through the
KubernetesRun()
with the
env
parameter. If it’s credentials, it can be done via storing Secrets in Storage. This is an example though of what you want.
❤️ 1
o
Omar Sultan
09/06/2021, 7:20 PM
Hi Kevin, one thing we noticed was that imagePullPolicy attribute of the KubernetesRun() was not being reflected into the job yaml when we specified a job template to use, we had to specify the image pull policy in the job template for it to reflect. This was not clear in the documentation
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.