-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make an option to create PDB for cluster #61
Comments
Shouldn't it be created automatically? |
Should we focus on the alpha2 version of the specification and stop expanding alpha1? Writing and rewriting code can be uncomfortable for developers. |
@AlexGluck We need to create next API version only in case if some field get removed or renamed |
@AlexGluck Creating next api version will force us to update both old and new CRD leading to even more uncomfortable development :) See kubebuilder docs
|
While we don't accepted PR #63 we can be on time move key. |
For now we can use this specification #62 (comment) for PDB and extend it later if required |
Added PDB to spec, implemented webhooks and tests. Fixes #61
I think we should add an option to create PDB for cluster.
--- apiVersion: etcd.aenix.io/v1alpha1 kind: EtcdCluster metadata: name: test namespace: ns1 spec: image: "quay.io/coreos/etcd:v3.5.12" replicas: 3 storage: persistence: true # default: true, immutable storageClass: local-path size: 10Gi + enablePDB: true status: conditions: - lastProbeTime: null lastTransitionTime: "2024-03-06T18:39:45Z" status: "True" type: Ready
By default it should be
true
meaning that PDB resource will be created withmaxUnavailable
field equal to the maximum number of members can die without losing quorumThe text was updated successfully, but these errors were encountered: