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
{{ message }}
This repository was archived by the owner on Oct 14, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 14, 2026. It is now read-only.
scaleUp with all members manually deleted: surface a clear condition instead of silent retry #7
If a user manually deletes every EtcdMember after the cluster has bootstrapped, the cluster controller enters `scaleUp` with `len(active)==0` and `ClusterID != ""`. `endpoints` is empty, `EtcdClientFactory` returns "no endpoints" or equivalent, the controller logs and `RequeueAfter: 10s` — but `status.conditions` stays as whatever was last written, with no explicit signal of "I have nothing to work with."
`kubectl describe etcdcluster` doesn't tell the user the cluster has been catastrophically de-membered by external action.
Fix
When `scaleUp` (or `tryDiscoverCluster`, since the symmetric path exists there) sees `len(active) == 0` post-bootstrap, surface a distinct condition — `Available=False, Reason=NoMembers` — telling the user the cluster has no members to operate on and they need to either delete the EtcdCluster CR (clean recreate) or restore an EtcdMember.
Notes
Self-inflicted-wound case; the README does say users shouldn't edit EtcdMember CRs directly. Still worth a signal because it'll happen anyway and silent reconcile loops are the worst UX failure mode.
Symmetric to the WaitingForSeed / ClusterUnreachable / BootstrapFailed condition vocabulary added in earlier rounds.
Activity
README: clarify clusterToken is operator-managed and persists for life