Skip to content

Conversation

@HoustonPutman
Copy link
Contributor

@HoustonPutman HoustonPutman commented Sep 13, 2022

Fixes #471

I also had to upgrade the Kubernetes libraries in go to 1.21, in order to get the v1 version of the PodDisruptionBudget.
That is why there are so many documentation changes in the CRDs.

I have included a method to generate PDBs for shards, but it is unused given the current restraints in Kubernetes that do not allow us to map multiple PDBs to a single pod. This limitation is documented with the unused method. Hopefully we can use it in the future.

Still need:

  • Docs & Changelog entry
  • Unit Tests

@HoustonPutman HoustonPutman merged commit 8381105 into apache:main Dec 13, 2022
@HoustonPutman HoustonPutman deleted the pdb branch December 13, 2022 15:56
@endzyme
Copy link
Contributor

endzyme commented Dec 13, 2022

Thank you so much @HoustonPutman for this - Is there any way to avoid creating a PDB via the operator?

@HoustonPutman
Copy link
Contributor Author

No there is not currently.

@endzyme would you mind creating a ticket for that? Should be pretty easy to implement if you also want to take a stab at it 🙂

@HoustonPutman
Copy link
Contributor Author

Note, this request was taken care of in #540

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.

How to prevent node rotation behavior from causing cluster instability

2 participants