Skip to content

Add options for poddisruptionbudget and affinity in the core, horizon and soroban rpc helm charts#125

Merged
travertischio merged 6 commits intostellar:mainfrom
travertischio:pdb-affinity
Jun 25, 2025
Merged

Add options for poddisruptionbudget and affinity in the core, horizon and soroban rpc helm charts#125
travertischio merged 6 commits intostellar:mainfrom
travertischio:pdb-affinity

Conversation

@travertischio
Copy link
Contributor

Add options for poddisruptionbudget and affinity in the core, horizon and soroban rpc helm charts

Currently there is no option to set up a pdb or affinity for any of these charts. This adds that option

https://github.com/stellar/ops/issues/3858
https://github.com/stellar/ops/issues/3859
https://github.com/stellar/ops/issues/3861

@travertischio travertischio requested a review from a team June 18, 2025 19:48
Copy link
Contributor

@jacekn jacekn left a comment

Choose a reason for hiding this comment

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

💡 could we add short help or examples to the values files to make it easier for users?

It could also be worth adding defaults so that we ship PDP and set affinity rules even if users don't explicitly set them. WDYT?

@travertischio
Copy link
Contributor Author

💡 could we add short help or examples to the values files to make it easier for users?

It could also be worth adding defaults so that we ship PDP and set affinity rules even if users don't explicitly set them. WDYT?

I added examples in comments in the default values files.

Currently, 2 of the 4 kubernetes resources that would be affected by the pdb and affinities have 1 replica as a default. So we can't set the default for those. My plan here was to try to stay consistent between the charts

@travertischio travertischio merged commit fe3f639 into stellar:main Jun 25, 2025
@travertischio travertischio deleted the pdb-affinity branch June 25, 2025 13:40
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.

2 participants

Comments