Skip to content

ci: fix bare-metal maintenance - #2199

Merged
burgerdev merged 2 commits into
mainfrom
burgerdev/bm
Feb 19, 2026
Merged

ci: fix bare-metal maintenance#2199
burgerdev merged 2 commits into
mainfrom
burgerdev/bm

Conversation

@burgerdev

Copy link
Copy Markdown
Member

#2194 introduced a subtle bug: the idea was to first apply the sync server, then patch it, then restart it. The problem with this approach is that the sync server is a StatefulSet. The update semantics for these prevent rollouts when there are failing pods: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#forced-rollback. This means that the patch won't be rolled out if the unpatched pod failed. Since the reason for the patch was to prevent wrong scheduling and pod failures to begin with, this approach is not safe. Instead, we switch to a kustomization in-tree that applies the nodeSelector.

Another issue that became apparent is that we're first deploying the sync server, and only then the hostpath driver. However, if the hostpath driver is currently broken or absent, the sync server won't become ready, waiting for a volume. This is addressed by reordering the resources.

@burgerdev
burgerdev requested a review from sespiros February 19, 2026 18:18
@burgerdev burgerdev added the no changelog PRs not listed in the release notes label Feb 19, 2026
@burgerdev
burgerdev merged commit 1595bc8 into main Feb 19, 2026
36 of 37 checks passed
@burgerdev
burgerdev deleted the burgerdev/bm branch February 19, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog PRs not listed in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants