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

feat: add TopologySpreadConstraints #2202

Merged
merged 4 commits into from Jun 10, 2023
Merged

feat: add TopologySpreadConstraints #2202

merged 4 commits into from Jun 10, 2023

Conversation

armru
Copy link
Member

@armru armru commented Jun 5, 2023

Closes #2192

@armru
Copy link
Member Author

armru commented Jun 5, 2023

/test limit=local

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.18 release-1.19 release-1.20 labels Jun 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@armru armru added the risk 💥 Risk/Compliance label Jun 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@armru
Copy link
Member Author

armru commented Jun 5, 2023

adding risk label, we should consider where to backport this feat

@armru
Copy link
Member Author

armru commented Jun 5, 2023

/test

1 similar comment
@leonardoce
Copy link
Contributor

/test

@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2023

@leonardoce, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/5179199970

@jsilvela
Copy link
Contributor

jsilvela commented Jun 9, 2023

/test

@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2023

@jsilvela, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/5221298277

@jsilvela
Copy link
Contributor

jsilvela commented Jun 9, 2023

/ok-to-merge

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Jun 9, 2023
armru and others added 4 commits June 10, 2023 13:56
Closes #2192

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
@sxd sxd merged commit 50601b0 into main Jun 10, 2023
22 checks passed
@sxd sxd deleted the dev/2192 branch June 10, 2023 12:15
cnpg-bot pushed a commit that referenced this pull request Jun 10, 2023
Since Kubernetes 1.19 the Topology Constraint went to GA, meaning that we can
start using it, but this wasn't needed before, now with the latest version 1.26 and 1.27
many things were improved and now we can implement Topology Constraints.

Some features may not work since they're available only on 1.26 or above, for any reference
please read https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
to get more information.

Closes #2192

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
Co-authored-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
(cherry picked from commit 50601b0)
sxd pushed a commit that referenced this pull request Jun 10, 2023
Since Kubernetes 1.19 the Topology Constraint went to GA, meaning that we can
start using it, but this wasn't needed before, now with the latest version 1.26 and 1.27
many things were improved and now we can implement Topology Constraints.

Some features may not work since they're available only on 1.26 or above, for any reference
please read https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
to get more information.

Closes #2192

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
Co-authored-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
sxd pushed a commit that referenced this pull request Jun 10, 2023
Since Kubernetes 1.19 the Topology Constraint went to GA, meaning that we can
start using it, but this wasn't needed before, now with the latest version 1.26 and 1.27
many things were improved and now we can implement Topology Constraints.

Some features may not work since they're available only on 1.26 or above, for any reference
please read https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
to get more information.

Closes #2192

Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
Co-authored-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-requested ◀️ This pull request should be backported to all supported releases ok to merge 👌 This PR can be merged release-1.18 release-1.19 release-1.20 risk 💥 Risk/Compliance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support topologySpreadConstraints
6 participants