Minikube deployment guide

This document outlines the installation steps for single node installation using Minikube.

Install Minikube

See Install Minikube and follow the instructions for your operating system.

Once Minikube is installed, start it with at least 8 Gigabytes of RAM, 4 CPUs, and 40G of storage (for Istio) – you can pass these requirements as follows:

minikube start --driver=virtualbox --memory '8gb' --cpus=4 --disk-size '40g' \
--extra-config=apiserver.service-account-signing-key-file=/var/lib/minikube/certs/sa.key \
--extra-config=apiserver.service-account-key-file=/var/lib/minikube/certs/sa.pub \
--extra-config=apiserver.service-account-issuer=api \
--extra-config=apiserver.service-account-api-audiences=api,nats \
--extra-config=apiserver.authorization-mode=Node,RBAC

You can now find the IP address which has been allocated by running:

minikube ip

Take a note of this IP as you will need to add it to your params.yaml.

Install Onepanel

  1. Download the latest opctl for your operating system from our release page.

  2. Run the following command to initialize a params.yaml template for minikube:

opctl init --provider minikube
  1. Populate params.yaml by following the instructions in the template, you can also refer to the configuration files section.

  2. Finally, run the following command to deploy to your cluster:

opctl apply
important

The CLI will display the URL for accessing Onepanel once the deployment completes.

  1. Use the following command to get your auth token to log into Onepanel:
opctl auth token