...
The configuration for creating "Rancher Manager" instance and "RKE2 kubernetes clusters" is not enabled by default for the tenancy.
If you're interested in using this deployment, please raise a ticket in the the EWC Support Portal requesting access to this feature.
Rancher Manager deployment
...
- From the Morpheus portal access the “Provisioning”→”Instances”
- Press “Add” to start the Rancher Instance creation
- Search for Rancher in the search bar and select the Rancher Manager instance type and press “Next”:
- Fill in the basic parameters like “Name” :
- Keep filling the instance configuration parameters :
- Plan (e.g. 8cpu-8gbmem-30gbdisk).
- Networks (the The instance requires a public IP, this . This could be achieved either attaching the private network and use a floating-ip or by attaching directly the "external-internet" network ; more . More information can be found in the page page Provision a new instance - web).
- Rancher Dashboard Admin Password: this is the password needed to access the Rancher Dashboard at the end of the provisioning (username: "admin") - the password shall be saved and will also this same password will be needed for the provisioning and connection of to the kubernetes clusters.
- Security Group : "ssh-https" - Continue with the default setting in the next panels and after . After reviewing the settings press "Complete" to start the provisioning:
- Wait for the deployment to complete, it should take on average between 15-20 minutes:
- Once the deployment is completed, it is possible to access the newly created instance by connecting via a browser to the the following url: "https://<rancher instance name>.<tenancy name>.<site char>.ewcloud.host" according to the naming convention explained on the page EWC DNS. You can login using the username: admin password: Rancher Dashboard Admin Password that you used for the deployment. You will see the following dashboard:
RKE2 Kubernetes cluster deployment
Warning |
---|
This workflow needs to be run from the Rancher manager machine you already deployed! The libraries needed for this workflow are already available there. If run from other machines it will fail! |
- From the Morpheus portal, access the “Provisioning”→”Instances” , access the "Rancher" instance page and go under "Actions"→"Run workflow" :
- Search for the workflow "Deploy RKE2 cluster" :
- Fill in the necessary parameters:
- Rancher Dashboard Admin Password : this the password that was set to access the Rancher Dashboard instance
- RKE2 Cluster Name: name for the cluster that will appear on the dashboard
- RKE2 Cluster Environment: tag for the cluster (dev, stage, prod)
- RKE2 Cluster Kubernetes version: version of the kubernetes cluster (e.g. 1.28)
- RKE2 Cluster worker node plan: resources resource plan for the worker node (e.g. 8cpu-8gbmem-30gbdisk)
- RKE2 Cluster Kubernetes deployment mode: "Development" (1 controller node) or "High Availability" (3 controller nodes)
- RKE2 Cluster Autoscaler maximum number of nodes: upper limit for scaling up the size of the cluster (minimum is set to 2 worker nodes)
- Leave empty the "Command Options" field empty
Once filled the parameters, press "Execute" : - Monitor the execution of the workflow via the progress bar and the "History" tab for more information:
- Wait for the workflow to finalize and once completed finish. Once completed, the new cluster should be connected and visible in the Rancher Dashboard:
- If requiredneeded, you can provision and connect multiple clusters could be provisioned and connected to the Rancher Dashboard, in this case it is enough o . You just need to re-execute the workflow to deploy the additional clusters.