Files
pbikki 7845898d0e feat(controller): apply node pool labels and taints to nodes (#1672)
* feat(controller): add ApplyNodeMetadata activity for node pool labels and taints

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* feat(controller): apply node pool labels and taints during node join

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* feat(controller): backfill config-profile labels into stored node labels

Add a one-time migration that copies each referenced config profile's
labels into node_pools.node_labels and control-plane configurations'
node_labels, reading profiles from the controller's mounted profiles
directory. migrations.Migrate now takes the profiles directory, and the
worker passes cfg.ProfilesDir

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* feat(controller): stop applying labels from config profiles

Config-profile labels are now stored on node pools and control-plane configurations and applied by ApplyNodeMetadata.

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* chore(controller): drop config profile labels from profile parsing and docs

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* docs: describe how node labels and taints are applied

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* test(e2e): check node pool and control-plane labels and taints on tenant nodes

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* chore(api): regenerate server code after rebase

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* fix(controller): fail the label backfill until config profiles are mounted

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* chore(controller): remove metadata validation in workflow

same validation exists at API boundary. For workflow, rely on the Kubernetes API to reject invalid node labels and taints. Add notes about migrations dependecny on cfg field

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

* docs(api): reword the configProfile description

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>

---------

Signed-off-by: pbikki-nv <50849668+pbikki@users.noreply.github.com>
2026-10-16 23:03:42 -04:00
..