o

    Omar Sultan

    1 year ago
    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
    Kevin Kho

    Kevin Kho

    1 year ago
    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.
    o

    Omar Sultan

    1 year ago
    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
    Thank you so much for the sample file as well
    Kevin Kho

    Kevin Kho

    1 year ago
    Ah I see