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

add support for FailurePolicy in job spec #146

Conversation

nilsgstrabo
Copy link
Contributor

@nilsgstrabo nilsgstrabo commented Dec 12, 2024

  • update radix-operator ref to v1.67.0
  • update to alpine 3.21
  • create local models for Node, Resources and FailurePolicy instead of using radixv1 structs -> well defined openapi schema
  • update tests

@nilsgstrabo nilsgstrabo self-assigned this Dec 12, 2024
@nilsgstrabo nilsgstrabo linked an issue Dec 12, 2024 that may be closed by this pull request
@nilsgstrabo nilsgstrabo requested a review from satr December 13, 2024 10:31

type ResourceList map[string]string

// ResourceRequirements describes the compute resource requirements.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover name

// Node defines node attributes, where container should be scheduled
//
// required: false
Node *v1.RadixNode `json:"node,omitempty"`
Node *Node `json:"node,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is inconsistent?

satr
satr previously approved these changes Dec 13, 2024
Copy link
Contributor

@satr satr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with comments

satr
satr previously approved these changes Dec 13, 2024
@nilsgstrabo nilsgstrabo merged commit c091e11 into main Dec 13, 2024
5 checks passed
@nilsgstrabo nilsgstrabo deleted the 145-add-support-for-defining-custom-failurepolicy-per-job-and-batch branch December 13, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for defining custom failurePolicy per job and batch
2 participants