Skip to content

Testing controller during upgrade - #255

Open
alicefr wants to merge 2 commits into
bootc-dev:mainfrom
alicefr:testing-controller-during-upgrade
Open

alicefr wants to merge 2 commits into
bootc-dev:mainfrom
alicefr:testing-controller-during-upgrade

Conversation

@alicefr

@alicefr alicefr commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Test if the controller can recover if we upgrade the control plane where it is running on

Extend the NodeProvider.AddNode interface with a role parameter so
tests can provision control-plane nodes in addition to workers. The
bink provider passes --role to the bink CLI when set.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr

alicefr commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator Author

This test requires a bink fix: bootc-dev/bink#157

Add TestControlPlaneUpgrade to verify the operator can survive
upgrading the node it runs on. The test adds a second control-plane
node, creates a pool targeting all control-plane nodes, and triggers
a rollout. The operator must migrate and recover when its own node
reboots.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr
alicefr force-pushed the testing-controller-during-upgrade branch from cec1f30 to 795c1c1 Compare October 23, 2026 11:50

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant