Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This documentation explains how to provision Rancher Manager and RKE2 Kubernetes cluster.

Table of Contents

Pre-requisites

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 EWC Support Portal requesting access to this feature. 


Rancher Manager deployment

 

  1. From the Morpheus portal access the “Provisioning”→”Instances”



  2. Press “Add” to start the Rancher Instance creation


  3. Search for Rancher in the search bar and select the Rancher Manager instance type and press “Next”:


  4. Fill in the basic parameters like “Name” :



  5. Keep filling the instance configuration parameters :
    - Plan (e.g. 8cpu-8gbmem-30gbdisk).
    - Networks (The instance requires a public IP. This could be achieved either attaching the private network and use a floating-ip or by attaching directly the "external-internet" network. More information can be found in the 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") - this same password will be needed for the provisioning and connection to the kubernetes clusters.
    - Security Group : "ssh-https"


  6. Continue with the default setting in the next panels. After reviewing the settings press "Complete" to start the provisioning:


  7. Wait for the deployment to complete, it should take on average between 15-20 minutes:



  8. Once the deployment is completed, it is possible to access the newly created instance by connecting via a browser to 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!

...