- Related issues: #1418 Support topology aware scheduling of guest cluster workloads
Verification Steps
-
Add topology labels(
topology.kubernetes.io/region,topology.kubernetes.io/zone) to the Harvester node:- In Harvester UI, select
Hostspage. - Click hosts’
Edit Config. - Select
Labelspage, clickAdd Labels. - Fill in, eg, Key:
topology.kubernetes.io/zone, Value:zone1.
- In Harvester UI, select
-
Create harvester guest-cluster from rancher-UI.
-
Wait for the guest-cluster to be created successfully and check if the guest-cluster node labels are consistent with the harvester nodes.
- In Rancher UI, select guest cluster.
- Select
Nodes. - Click each node, and check if contains labels.