On MacOS
Install gopaddle lite as microk8s add-on on MacOS
gopaddle lite - A lifetime free community edition of gopaddle is now available as an add-on to microk8s.
Pre-requisites
OS distribution: MacOS Monterey 12.6 or higher; MicroK8s version: 1.25 or higher;
System resource requirements: 4 vCPU (Intel Arch), 8 GB RAM, 50 GB Disk
'
brew
' tool must already be installed.If not installed, install brew:
microk8s must already be installed and must be running.
If not installed, use the below step to install the same:
Check and ensure that microk8s service is running:
Update the VM configuration to set the CPU & Mem allocation
Unload the multipass config
Edit the file
Set the num_cores": 4 and "mem_size": "8589934592". Final JSON file would look like this.
Load the config
Wait for the microk8s-vm to move to Running state
Wait for microk8s service to move to ready state
Steps to install gopaddle lite addon for microk8s
Enable microk8s community addon and enable gopaddle lite addon.
Optional parameters while enabling the addon.
If -i option is omitted, then the gopaddle endpoint is decided based on the node's private IP address. Please take a look at the 'gopaddle dashboard endpoint' section for more details.
Example:Make a note of the gopaddle lite access endpoint from the above command. You can also obtain the endpoint by listing the node IPs in the cluster.
Wait for gopaddle services to move to running state
If you see this error message
timed out waiting for the condition on pods
, you can execute the above command once again to wait for all the gopaddle services to move to running state.Access the gopaddle dashboard. If static IP is provided as an input using
-i
option in step 1, then accesss the gopaddle UI @http://<STATIC_IP>:30003
, else access the gopaddle UI @http://<NODE_IP>:30003
. The Node IP can be determined by executing the command below. If the node has a public IP, open the firewall ports in the next step.Enable Firewall ports (if installing gopaddle lite on a cloud based VM)
The following TCP network ports have to be enabled/opened to use the gopaddle lite dashboard:
Ports 30000 to 30006: for accessing gopaddle endpoints .
Port 32000: Service node port for Grafana dashboard on Kubernetes
Any node port assigned for an application deployed on microk8s
gopaddle dashboard endpoint
An IP address is required to access the gopaddle lite end point. When not supplied from the command line, the default IP address is determined in the order mentioned below:
If the first node in microk8s cluster is configured with an External/Public IP address, this is chosen as the IP address for the access end point
Else, the Internal/Private IP address of the first node configured in microk8s cluster is used as the IP address for the access end point
Note: The node IP address configured in the microk8s cluster above can be determined using the 'get nodes' command as follows:
Steps to disable gopaddle addon for microk8s
Issue the below command to disable gopaddle addon for microk8s:
Steps to update gopaddle addon for microk8s
At a later time, if you want to update gopaddle addon repo (that you previously added at the time of installation of gopaddle addon for microk8s), use the below command:
Update the repository
This results in pulling any updates done to gopaddle addon repo. If it is already up-to-date, you will get the below output:
If any new updates are pulled above, in order for this to take effect, you need to execute the following steps: Disable gopaddle add-on
Steps to uninstall gopaddle addon for microk8s
Follow the below steps to uninstall gopaddle addon for microk8s:
Disable gopaddle addon for microk8s - see the section above
Delete all PVs created by gopaddle
After disabling gopaddle addon for microk8s, the persistent volumes used by gopaddle are still around. Use the below command to delete the persistent volumes created by gopaddle:
Delete the storage class
Remove the node label added by gopaddle
Usage:
Remove the gopaddle addon repo in microk8s
Last updated