You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using datacenterName overrides, the dc name label is set to the overridden one, and the pdb object is created with this name as well.
If two cassdc are created with a dc1 overridden name in the same namespace, they will end up competing for the ownership of the same dc1-pdb PodDisruptionBudget object, and reconcile in a loop.
What did you expect to happen?
The pdb objects should be created with the cassdc meta.name as prefix for their name, which will then avoid creating conflicts as two cassdc objects cannot have the same name in the same namespace.
How can we reproduce it (as minimally and precisely as possible)?
Create a first cassdc using dc1 as datacenterName:
Actually, what it is missing is the clusterName prefix which is present in every other object. Otherwise the naming uses the same methods as other resources.
What happened?
When using datacenterName overrides, the dc name label is set to the overridden one, and the pdb object is created with this name as well.
If two cassdc are created with a
dc1
overridden name in the same namespace, they will end up competing for the ownership of the samedc1-pdb
PodDisruptionBudget object, and reconcile in a loop.What did you expect to happen?
The pdb objects should be created with the cassdc
meta.name
as prefix for their name, which will then avoid creating conflicts as two cassdc objects cannot have the same name in the same namespace.How can we reproduce it (as minimally and precisely as possible)?
Create a first cassdc using dc1 as datacenterName:
and another one with the same datacenterName value:
They'll both end up creating a
dc1-pdb
object.cass-operator version
v1.22.4
Kubernetes version
v1.30
Method of installation
Helm
Anything else we need to know?
No response
┆Issue is synchronized with this Jira Story by Unito
┆Fix Versions: 2024-11
┆Issue Number: CASS-75
The text was updated successfully, but these errors were encountered: