Page cover image

SUSE Rancher Prime

gopaddle lite in Rancher Prime marketplace

gopaddle lite is a life-time free single-node, single-user evaluation edition that can be installed on Rancher Prime by SUSE

Pre-requisites

Rancher Prime Cluster Node requirements

  1. Ubuntu 18.04

  2. RAM 32GB

  3. CPU 8vCPU

  4. Disk 50GB

Prometheus tool server requirements

Increase the open file descriptor in the nodes

  1. Edit the file as root /etc/sysctl.conf

  2. Add these lines to the file

    fs.file-max = 500000
    fs.inotify.max_user_watches=100000
    fs.inotify.max_user_instances=100000
  3. Reload the configuration

    sysctl -p
  4. check if the file systems limit is set

    cat /proc/sys/fs/file-max

Connect to the Rancher Prime cluster

The Rancher Prime cluster configuration file is usually available @ /etc/rancher/rke2/rke2.yaml in the master node.

export KUBECONFIG=/etc/rancher/rke2/rke2.yaml

Configure Default Storage Class

gopaddle requires a default storage class to install its dependent stateful services like mongodb, influxdb etc. The below steps can be ignored, if the cluster already has a default storage class configured. Otherwise, install the CSI driver based on the Rancher Prime environment.


Example - AWS EBS CSI Driver

For instance, if you are running Rancher Prime on AWS, enable the AWS EBS CSI driver. For more information on the AWS EBS CSI Driver - [https://github.com/kubernetes-sigs/aws-ebs-csi-driver#kubernetes-version-compatibility-matrix ]

export AWS_KEYID=<aws-access-key>
export AWS_ACCESSKEY=<aws-secret-key>
kubectl create secret generic aws-secret --namespace kube-system --from-literal "key_id=$AWS_KEYID" --from-literal "access_key=$AWS_ACCESSKEY" kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.13"

Patch the node labels topology.kubernetes.io & topology.kubernetes.io/zone, so that the AWS EBS CSI driver schedules the persistent volumes on the selected region and the availability zone.

export REGION='us-east-1'
export ZONE='us-east-1a'
apt install jq -y node=$(kubectl get nodes -o json | jq -r '.items[0].metadata.annotations["rke2.io/hostname"]') kubectl patch node $node -p '{"metadata": {"labels":{"topology.kubernetes.io/region": "$REGION"}}}' kubectl patch node $node -p '{"metadata": {"labels":{"topology.kubernetes.io/zone":"$ZONE"}}}'

Create Standard storageClass

a) From the Rancher Prime UI, create a new storage class named - standard and choose the provisioner.

b) Patch the standard storage class and set it as the default storage class.

kubectl patch storageclass standard -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

Install gopaddle-lite from marketplace

In the Rancher Prime dashboard, in the Charts section, search for the gopaddle chart and install.

This will install all the gopaddle services. Wait for the gopaddle services to move to ready state.

Accessing gopaddle dashboard

Once the installation is complete, open the firewall ports 30000-30006 and 32000 in the Rancher Prime nodes.

gopaddle dashboard can be accessed @ http://<NODE_IP>:30003

NODE_IP can be obtained by listing the nodes in the cluster.

kubectl get nodes -o wide

NOTE: If the cluster is installed on cloud based VMs, then the NODE_IP can be the public IP of the node.

Subscribe to gopaddle using your email ID. gopaddle will then send an initial password to the registered email ID. You can now login to the gopaddle dashboard using the email ID and the initial password.

Last updated