-
Notifications
You must be signed in to change notification settings - Fork 2
P4: Custos Deployment Custos Deployment Step 2
anbadrin edited this page May 6, 2022
·
12 revisions
- Create 3 VM's on Jetstream 1
- Setup local SSH on all 3 VM's to access it using SSH
Follows the below steps:
a. Generate a ssh-keygen on your local machine
b. Add the public key to the
authorized_keys
file in the.ssh
folder in the VM's - Setup password for the VM's using the command
sudo passwd <username_for_vm>
- Click on Add cluster on the top right corner and select Existing Nodes
- Enter any name for the cluster
- Select the network provider as Calico
Selecting the default provider was causing issues. Fixed this by referring to [Team Terra] (https://github.com/airavata-courses/terra/wiki/Step-2:-Setting-up-Kubernetes-cluster-using-Rancher)
-
Select etcd, Contol Plane and worker for the Master node.
Click on advanced options.
Add the ip address of your master node and the node name.
-
A command is generated below based on the above settings.
This command is to be run on the Master node. The outputs are also given below.
- Wait for a while until the provisioning is completed and the master node is started and active. Once it is active, click on the 3 dots on the right hand side of the cluster and click on edit.
- Scroll till the bottom of the page and add the ip and the node name for the 2nd VM as worker node.
- Copy the generated command and run on the node for the worker to be created. The outputs are also given below.
Perform similar steps as above to create the second worker node as well.
- The final Rancher UI should have the 3 nodes showing in the cluster and it should be active.
The Configuration of clusters on Rancher is completed.