Skip to content

add affinity to opencloud deployment#69

Merged
Tim-herbie merged 1 commit intoTim-herbie:mainfrom
JoshuaHassler:add-affinity
Apr 9, 2026
Merged

add affinity to opencloud deployment#69
Tim-herbie merged 1 commit intoTim-herbie:mainfrom
JoshuaHassler:add-affinity

Conversation

@JoshuaHassler
Copy link
Copy Markdown

Simply add the option to set affinity for the OpenCloud deployment. Useful if you have a mixed topology or want to set anti-affinity for multi-pod deployments.

Copilot AI review requested due to automatic review settings April 5, 2026 15:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Helm chart support for configuring Kubernetes pod affinity on the OpenCloud core Deployment, enabling operators to apply (anti-)affinity rules for mixed topologies and multi-pod setups.

Changes:

  • Add an opencloud.affinity values hook for the OpenCloud Deployment pod spec.
  • Document the new value in values.yaml (currently as a commented example).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
charts/opencloud/values.yaml Adds a (commented) opencloud.affinity value entry intended to document the new configuration option.
charts/opencloud/templates/opencloud/deployment.yaml Renders spec.template.spec.affinity from .Values.opencloud.affinity when provided.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts/opencloud/values.yaml
@Tim-herbie
Copy link
Copy Markdown
Owner

Seems good thank you!

@Tim-herbie Tim-herbie merged commit d31cc77 into Tim-herbie:main Apr 9, 2026
4 of 5 checks passed
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.

3 participants