You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

This page helps you to deploy the nonrtric components in your local VM in minikube environment.

Prerequisite

  • Docker

Intsall Minikube

Login into your vm and run the below command as sudo user in the terminal. This will install the latest version of minikube in your vm.

minikube install
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
  && chmod +x minikube

sudo mkdir -p /usr/local/bin/
sudo install minikube /usr/local/bin/

Start minikube

You can start the minikube with the below command. Check Troubleshoot section for any potential errors.

start minikube
sudo minikube start --vm-driver=none


If the above command is successful, you should see the below logs in your terminal,

Install Helm

Install Nonrtric


Troubleshoot

Install Conntrack

  1. When you run minikube start you may get below error. Basically this is connection tracking module needed for kuberentes.

Install contract,

install conntrack
sudo apt-get install conntrack

Turn off swap

Once kube commands are installed and minikube will start the initialization process and you may get below error,

 

Simply turn off the swap,

swap-turnoff
sudo swapoff -a
  • No labels