Skip to content

click2cloud-alpha-p/fornaxscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Edge Cluster Multi-Layer Setup using Bash Scripts

Virtual Machine Configuration

3 Ubuntu 18.04 VMs, one for cloud-core, two for edge-core.
• Open the port of 10000 and 10002 in the security group of the cloud-core machine and edge-core machine
• 16 GB RAM, 16 vCPUs, 128 GB storage.

Machine 1: Cloud Core Node

Machine 2: Edge Node with Control Plane

Machine 3: Edge Worker Node

NOTE: 'prerequisite_package.sh' contains all the required packages for creating Kubernetes Cluster.

Run the Scripts:

   sudo bash cloudcore_node.sh                  (Run in machine-1)
   sudo bash edgecore_control_plane.sh          (Run in machine 2)  (run the script only after successfully running the machine-1 script)
   sudo bash edge_worker_node.sh                (Run in machine 3)  (run the script only after successfully running the machine-2 script)

Input the Private IP's and Password of Machine 1, Machine 2 and Machine 3 :

For Machine 1

image

For Machine 2

image

Verify the Edge cluster by running command in 'Cloud Core Node' (Machine-1):

   kubectl get edgecluster

image

To see Cloudcore & Edgecore logs:

   cd $HOME/go/src/github.com/fornax
   cat cloudcore.logs
   cat edgecore.logs

About

Fornax scripts

Resources

Stars

Watchers

Forks

Languages