Creating an RKE1 Kubernetes Cluster
Users can now provision RKE1 Kubernetes clusters on top of the Harvester cluster in Rancher v2.6.1+
using the built-in Harvester node driver.
Note
- Harvester RKE1 node driver is in tech preview.
- VLAN network is required for Harvester node driver.
Create Your Cloud Credentials
- Click ☰ > Cluster Management.
- Click Cloud Credentials.
- Click Create.
- Click Harvester.
- Enter your cloud credential name.
- Select “Imported Harvester” or “External Harvester”.
- Click Create.
Create Node Template
You can use the Harvester node driver to create node templates and eventually node pools for your Kubernetes cluster.
- Configure the Cloud Credentials.
- Configure Instance Options:
- Configure the CPU, memory, and disk
- Select an OS image that is compatible with the
cloud-init
config. - Select a network that the node driver is able to connect to; currently, only
VLAN
is supported. - Enter the SSH User; the username will be used to ssh to nodes. For example, a default user of the Ubuntu cloud image will be
ubuntu
.
- Enter a RANCHER TEMPLATE name.
See nodes hosted by an infrastructure provider for more information.
Create RKE1 Kubernetes Cluster
Users can create an RKE1 Kubernetes cluster from the Cluster Management page via the Harvester RKE1 node driver.
- Select Clusters menu.
- Click Create button.
- Toggle Switch to RKE1.
- Select Harvester node driver.
- Enter Cluster Name (required).
- Enter Name Prefix (required).
- Enter Template (required).
- Select etcd and Control Plane (required).
- Click Create.