k8up-io / k8up

Kubernetes and OpenShift Backup Operator
https://k8up.io/
Apache License 2.0
717 stars 66 forks source link

Spec activeDeadlineSeconds not defined in job template #1008

Open cesouza-br opened 2 months ago

cesouza-br commented 2 months ago

Description

I need the resources used by k8up jobs not to be counted in the namespace quotas (notTerminating scope). As a solution, the pod would be executed with the activeDeadlineSeconds spec, but when I configure the spec in the backup object, the spec is limited to the job and not to the jobTemplate and thus the pod ends up being executed without the spec.

Additional Context

No response

Logs

No response

Expected Behavior

The expected behavior is that the active DeadlineSeconds spec is configured in the job template so that the spec is actually applied to the executing pod.

Steps To Reproduce

No response

Version of K8up

v2.0.11

Version of Kubernetes

v1.22

Distribution of Kubernetes

Openshift

Kidswiss commented 2 months ago

Does it work, if you use a pod template?.

cesouza-br commented 2 months ago

Hi @Kidswiss, using the podConfig object didn't work either.