Kubernetes Job deployment is omitting container feed & container version

Hiya

Using 2021.2 (Build 7462) - No fixes for this issue in the latest version according to patch list.

We have a working Kubernetes deployment step using AKS & ACR.
In one of the projects we need to add a Kubernetes job instead of deployment, which should be easy enough.
However when we deploy the job it does not send the ACR feed or the container version to the job yaml.
So AKS can’t pull the container to the pod and everything breaks.
I tried literally duplicating our deployment step and changing it to a job instead - this also fails.

Container:

Raw YAML from Octopus Kubernetes deployment step
3

Release creation - finds the container & version without issues. The step itself completes w/o errors.
image

When I check AKS and the raw YAML it got from Octopus, the feed & container version is not passed to it:
image

Anyone knows what’s up?

Hi @jorgen.fries,

Thanks for reaching out with your question and welcome to the community.

I am wondering if you could send over your Process JSON for this particular deployment step? It would be located here:

If possible, could you turn on Variable Logging and send over the Task log as well?

Looking forward to hearing back from you.

Regards,
Garrett

Hi Garret,

No problem - Can I send it to you in a private message? I would prefer not to expose those info publicly

Hi @jorgen.fries,

Thanks for getting back to me.

Please feel free to direct message the JSON file to me. Alternatively, I’ve created a secure upload link here that you can use: Support - Octopus Deploy

Looking forward to hearing back.

Regards,
Garrett

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.