Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
a1b402e8
Commit
a1b402e8
authored
Mar 15, 2025
by
julienmancuso
Committed by
GitHub
Mar 15, 2025
Browse files
feat: add TTL to image builder job (#75)
Co-authored-by:
Maksim Khadkevich
<
mkhadkevich@nvidia.com
>
parent
8cd8941c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
deploy/dynamo/operator/internal/controller/dynamonimrequest_controller.go
...erator/internal/controller/dynamonimrequest_controller.go
+3
-2
No files found.
deploy/dynamo/operator/internal/controller/dynamonimrequest_controller.go
View file @
a1b402e8
...
...
@@ -1906,6 +1906,7 @@ func (r *DynamoNimRequestReconciler) generateImageBuilderJob(ctx context.Context
Annotations
:
kubeAnnotations
,
},
Spec
:
batchv1
.
JobSpec
{
TTLSecondsAfterFinished
:
ptr
.
To
(
int32
(
60
*
60
*
24
)),
Completions
:
ptr
.
To
(
int32
(
1
)),
Parallelism
:
ptr
.
To
(
int32
(
1
)),
PodFailurePolicy
:
&
batchv1
.
PodFailurePolicy
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment