Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec activeDeadlineSeconds not defined in job template #1008

Open
cesouza-br opened this issue Sep 5, 2024 · 2 comments
Open

Spec activeDeadlineSeconds not defined in job template #1008

cesouza-br opened this issue Sep 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cesouza-br
Copy link

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

@cesouza-br cesouza-br added the bug Something isn't working label Sep 5, 2024
@cesouza-br cesouza-br changed the title Spec activeDeadlineSeconds not defined in pod template Spec activeDeadlineSeconds not defined in jod template Sep 5, 2024
@cesouza-br cesouza-br changed the title Spec activeDeadlineSeconds not defined in jod template Spec activeDeadlineSeconds not defined in job template Sep 5, 2024
@Kidswiss
Copy link
Contributor

Kidswiss commented Sep 6, 2024

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

@cesouza-br
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants