- Related issues: #4678 [BUG] Unable to successfully create LoadBalancer service from Guest cluster post 1.2.1 upgrade
Category:
- Rancher
Verification Steps
-
Prepare three nodes Harvester and import with Rancher
-
Provision a RKE2 guest cluster in Rancher
-
Ensure the installed Harvester cloud provider version is
0.2.3or above -
Create the first pool, specify the
etcdandcontrol planeroles -
Create the second pool, specify the
workrole only -
Create a nginx deployment using Harvester storage class
-
Create a load balancer service with dhcp type and bind to nginx deployment
-
Check can install the load balancer
-
Create a standalone load balancer service, set the following annotation
-
Access to the guest cluster VM, check the load balancer service can get
EXTERNAL_IP -
Prepare three nodes Harvester and import with Rancher
-
Provision a RKE2 guest cluster in Rancher
-
Create the first pool, specify the
control planerole only -
Create the second pool, specify the
etcdrole only -
Create the third pool, specify the
workerrole only -
Repeat the steps 13 - 17 to create load balancer service
-
Prepare three nodes Harvester and import with Rancher
-
Provision a RKE2 guest cluster in Rancher
-
Create the only one pool, specify the control plane, etcd and workers roles
Expected Results
-
Control-plane, ETCD and worker in same pool:
- Can successfully create LoadBalancer service on RKE2 guest cluster
- All load balance type service have assigned the EXTERNAL_IP
-
Control-plane and ETCD in A pool, worker in B pool:
- Can successfully create LoadBalancer service on RKE2 guest cluster
- All load balance type service have assigned the EXTERNAL_IP
-
Control-plane in A pool, ETCD in B pool and worker in C pool:
- Can successfully create LoadBalancer service on RKE2 guest cluster
- All load balance type service have assigned the EXTERNAL_IP