Skip to content

chore: retire the io.simplyblock.node-type label references (blocked on R25 EOL) - #1334

Closed
boddumanohar wants to merge 1 commit into
mainfrom
chore/retire-node-type-label
Closed

chore: retire the io.simplyblock.node-type label references (blocked on R25 EOL)#1334
boddumanohar wants to merge 1 commit into
mainfrom
chore/retire-node-type-label

Conversation

@boddumanohar

Copy link
Copy Markdown
Member

Draft — do not merge while R25.x is a supported upgrade source. Parked so the work is ready when it stops being one.

Why this exists

simplyblock-operator#508 retires io.simplyblock.node-type on the operator side: it was written onto exactly the nodes io.simplyblock.storagenodeset already marked and removed with them, so it carried no information the per-set label did not.

The four references here are the other half of that key's life — the legacy R25 path, where an administrator labels workers by hand and the R25 spdk-csi chart's storagenode.create DaemonSet matches on the unsuffixed value simplyblock-storage-plane, as does the CSI driver's mgmt-api job. Nothing here referenced the cluster-suffixed value the operator wrote, so #508 did not make any of this stale.

Removed

File What
UPGRADE.md §1.3, which labeled workers before the R25 chart install (§1.4, §1.5 renumber)
R25_MANUAL_SETUP_STEPS.md the labeling loop in Phase 4; heading loses "Label workers +"
.github/workflows/k8s-native-upgrade.yaml the "Label worker nodes for R25 storage plane" step of the r25-to-r2x job
e2e/scripts/cleanup_upgrade_test.sh the Phase 10 teardown that stripped the label

Why it is blocked

r25-to-r2x is still a live upgrade_type in the upgrade workflow, and UPGRADE.md is the maintained R25.x to R26+ guide. Merging now would:

  • break the r25-to-r2x CI job, since storage-node pods would have no node to schedule on
  • leave UPGRADE.md instructing a reader to install a chart whose nodeSelector nothing satisfies

What must land with it

The consumers live in the operator repo and are untouched by #508 by design:

  • the chart's storagenode.create DaemonSet nodeSelector
  • the mgmt-api job's label_selector = "io.simplyblock.node-type=simplyblock-storage-plane"

This PR is only correct once those are gone, i.e. when R25 is no longer a supported upgrade source.

Checks

The workflow still parses as YAML, the cleanup script still passes bash -n, and no io.simplyblock.node-type reference remains in this repository.

🤖 Generated with Claude Code

DO NOT MERGE while R25.x is a supported upgrade source. Parked as a
draft so the work is ready when it stops being one.

simplyblock-operator #508 retires io.simplyblock.node-type on the
operator side: it was written onto exactly the nodes
io.simplyblock.storagenodeset already marked and removed with them, so
it carried no information the per-set label did not, and its two
consumers now select the per-set label instead.

The four references here are the other half of that key's life. They are
the legacy R25 path, where an administrator labels workers by hand and
the R25 spdk-csi chart's storagenode.create DaemonSet matches on the
unsuffixed value simplyblock-storage-plane, as does the CSI driver's
mgmt-api job. Nothing here ever referenced the cluster-suffixed value
the operator wrote, so #508 did not make any of it stale.

Removed:

  - UPGRADE.md, section 1.3, which labeled the workers before the R25
    chart install; 1.4 and 1.5 renumber
  - R25_MANUAL_SETUP_STEPS.md, the labeling loop in Phase 4, whose
    heading loses "Label workers +"
  - .github/workflows/k8s-native-upgrade.yaml, the "Label worker nodes
    for R25 storage plane" step of the r25-to-r2x job
  - e2e/scripts/cleanup_upgrade_test.sh, the teardown that stripped the
    label in Phase 10

Merging before R25 is dropped breaks the r25-to-r2x CI job and leaves
UPGRADE.md telling a reader to install a chart whose nodeSelector
nothing satisfies. It also has to land with, or after, the removal of
the chart's storagenode.create branch and the mgmt-api job's
label_selector in the simplyblock-operator repository, which are what
actually consume the label.

Verified: the workflow still parses as YAML, the cleanup script still
passes bash -n, and no io.simplyblock.node-type reference remains in
this repository.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@boddumanohar
boddumanohar marked this pull request as ready for review September 10, 2026 12:03
@boddumanohar
boddumanohar marked this pull request as draft September 10, 2026 12:24
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