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

Adds tolerations to GitRepo #3323

Closed
wants to merge 1 commit into from
Closed

Conversation

0xavi0
Copy link
Contributor

@0xavi0 0xavi0 commented Feb 10, 2025

When applying a GitRepo in a cluster where all the nodes are tainted the pod created to call fleet apply remans waiting as Pending.

This PR adds tolerations to the GitRepo spec. Those tolerations will be added to the job spec when running fleet apply so the pod is scheduled.

Refers to: #3313

@0xavi0 0xavi0 added this to the v2.11.0 milestone Feb 10, 2025
@0xavi0 0xavi0 self-assigned this Feb 10, 2025
@0xavi0 0xavi0 changed the title Adds tolertions to GitRepo Adds tolerations to GitRepo Feb 10, 2025
When applying a `GitRepo` in a cluster where all the nodes are tainted the pod created to call `fleet apply` remans waiting as Pending.

This PR adds tolerations to the `GitRepo` spec. Those tolerations will be added to the job spec when running `fleet apply` so the pod is scheduled.

Refers to: rancher#3313

Signed-off-by: Xavi Garcia <[email protected]>
@0xavi0 0xavi0 marked this pull request as ready for review February 11, 2025 10:25
@0xavi0 0xavi0 requested a review from a team as a code owner February 11, 2025 10:25
@0xavi0 0xavi0 modified the milestones: v2.11.0, v2.12.0 Feb 11, 2025
@0xavi0
Copy link
Contributor Author

0xavi0 commented Feb 11, 2025

Closing to copy toleration values from fleet-controller

@0xavi0 0xavi0 closed this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant