Skip to content
Rollout failure: a blocked node drain

Rollout failure: a blocked node drain

The video is not exported yet: the export in hand predates a layout fix, and a new one is needed. The story, as built on the editable page, follows on from the module-bug failure: wave 0 is already on module 0.2.1, and wave 1 fails in one cell because that cell’s application settings block the node drain. It shows the intended flow.

TimeStepWhat happens
0:00Wave 1 starts on 0.2.1An MR pins waves/wave-1/ to 0.2.1.
0:061 · cell-02 fails on its node groupcell-01 upgrades. On cell-02 the control plane reaches 1.35, but draining the old nodes fails. The apply job turns red and the gate to wave 2 holds.
0:162 · Find the reasonThe job log shows the node group update failed; aws eks describe-update shows "errorCode": "PodEvictionFailure".
0:283 · Find the causekubectl get pdb -A shows the membrane budget allows 0 disruptions. It traces to replicaCount: 1 in rings/ring-1/cells/cell-02/membrane.yaml, overriding ring-1’s replicaCount: 2.
0:404 · The app team removes the overrideAn MR to phaleron-config, by the team that owns it, deletes the cell override; ring-1’s two replicas apply and Argo CD syncs.
0:525 · Retry the applyThe apply job is retried, the nodes drain, cell-02 is healthy and the gate to wave 2 opens. No new infrastructure MR.
1:02Resolvedphaleron-config: 1 MR. phaleron-infrastructure-config: 1 retried job. phaleron-infrastructure: none.

The infrastructure team finds the problem but does not edit phaleron-config: the fix goes through the team that owns the configuration. One value is assumed rather than taken from the repositories: that membrane’s chart sets a disruption budget of minAvailable: 1.

Editing

Last updated on