[RFE] csi-rbdplugin-provisioner => cdk-addon option to change ReplicaSet

Bug #2004388 reported by Pedro Victor Lourenço Fragola
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
CDK Addons
Triaged
Medium
Unassigned
Ceph CSI Charm
Fix Released
Medium
Adam Dyess

Bug Description

The csi-rbdplugin-provisioner[0] defaults to 3 ReplicaSet, but in cases where there are only two worker nodes the pod will constantly be in a "Pending" state due to Anti-Affinity rules, it is not possible to change the manifest because the charm only loads the manifest csi-rbdplugin-provisioner.yaml[1] which already has the hardcoded replicaset[0] option.

It would be ideal to have the option to change the ReplicaSet using cdk-addons or check the number of the worker nodes to set the ReplicaSet.

[0] https://github.com/ceph/ceph-csi/blob/devel/deploy/rbd/kubernetes/csi-rbdplugin-provisioner.yaml#L27
[1] https://github.com/charmed-kubernetes/cdk-addons/blob/main/get-addon-templates#L377

Changed in cdk-addons:
milestone: none → 1.27
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

I agree that replicas should be configurable, but we'd like to get people off cdk-addons and onto operators, specifically:

https://github.com/charmed-kubernetes/ceph-csi-operator

We'll need to update that charm to expose replica config, and we'll need to update cdk-addons (possibly k-c-p?) so that when the operator is deployed, cdk-addons disables its built-in ceph management.

Changed in charm-ceph-csi:
milestone: none → 1.27
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Adam Dyess (addyess) wrote :
Changed in charm-ceph-csi:
status: Triaged → Fix Committed
assignee: nobody → Adam Dyess (addyess)
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

ceph-csi-operator has been updated for 1.27, but we don't currently stop a user from enabling ceph from cdk-addons. We'll handle that UX in a 1.27 maintenance release.

Changed in cdk-addons:
milestone: 1.27 → 1.27+ck1
Changed in charm-ceph-csi:
status: Fix Committed → Fix Released
Changed in cdk-addons:
milestone: 1.27+ck1 → 1.28
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

targeting 1.28 for cdk-addons, though we expect the addons snap to be irrelevant by then. that said, i'm not tempting fate enough to actually close this as invalid before that happens.

Adam Dyess (addyess)
Changed in cdk-addons:
milestone: 1.28 → 1.28+ck1
Adam Dyess (addyess)
Changed in cdk-addons:
milestone: 1.28+ck1 → 1.29
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.