Skip to content

Add anti-affinity rules to controller's replicas#1397

Merged
tekton-robot merged 2 commits into
tektoncd:mainfrom
jkhelil:add-podaffinity
Aug 19, 2025
Merged

Add anti-affinity rules to controller's replicas#1397
tekton-robot merged 2 commits into
tektoncd:mainfrom
jkhelil:add-podaffinity

Conversation

@jkhelil

@jkhelil jkhelil commented Jul 7, 2025

Copy link
Copy Markdown
Member

As part of the HA setup, we want to add anti-affinity rules to our deployment to make sure replicas do not end up in the same node.

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs included if any changes are user facing
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

As part of improving high availability (HA) for the Tekton Chains controller, this update adds a preferredDuringSchedulingIgnoredDuringExecution pod anti-affinity rule. This ensures that multiple replicas of the controller are preferably scheduled on different nodes, reducing the risk of service disruption in case of a node failure.

@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 7, 2025
@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 10, 2025
@jkhelil

jkhelil commented Jul 29, 2025

Copy link
Copy Markdown
Member Author

/retest

2 similar comments
@jkhelil

jkhelil commented Aug 18, 2025

Copy link
Copy Markdown
Member Author

/retest

@jkhelil

jkhelil commented Aug 18, 2025

Copy link
Copy Markdown
Member Author

/retest

@jkhelil

jkhelil commented Aug 18, 2025

Copy link
Copy Markdown
Member Author

/test all

@jkhelil jkhelil closed this Aug 18, 2025
@jkhelil jkhelil reopened this Aug 18, 2025
@PuneetPunamiya

Copy link
Copy Markdown
Member

/approve

@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: PuneetPunamiya

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 19, 2025
@PuneetPunamiya

Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 19, 2025
@tekton-robot tekton-robot merged commit 6c959f9 into tektoncd:main Aug 19, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants