Skip to content

Latest commit

 

History

History
79 lines (58 loc) · 2.03 KB

README.md

File metadata and controls

79 lines (58 loc) · 2.03 KB

Installation

Prerequisites

For robolaunch Robot Operator, these prerequisites should be satisfied:

Tool Version
Kubernetes v1.21 and above
Cert-Manager v1.8.x and above
OpenEBS v3.x.x and above

Labeling Node

Select an active node from your cluster and add these labels:

kubectl label <NODE> robolaunch.io/organization=robolaunch
kubectl label <NODE> robolaunch.io/team=robotics
kubectl label <NODE> robolaunch.io/region=europe-east
kubectl label <NODE> robolaunch.io/cloud-instance=cluster
kubectl label <NODE> robolaunch.io/cloud-instance-alias=cluster-alias

Installing Robot Operator

via Helm

Add robolaunch Helm repository and update:

helm repo add robolaunch https://robolaunch.github.io/charts/
helm repo update

Install latest version of Robot Operator (remove --devel for getting latest stable version):

helm upgrade -i robot-operator robolaunch/robot-operator  \
--namespace robot-system \
--create-namespace \
--devel

Or you can specify a version (remove the v letter at the beginning of the release or tag name):

VERSION="0.2.6-alpha.10"
helm upgrade -i robot-operator robolaunch/robot-operator  \
--namespace robot-system \
--create-namespace \
--version $VERSION

via Manifest

Deploy Robot Operator one-file YAML using the command below:

# select a tag
TAG="v0.2.6-alpha.10"
kubectl apply -f https://raw.githubusercontent.com/robolaunch/robot-operator/$TAG/hack/deploy/manifests/robot_operator.yaml

Uninstalling Robot Operator

To uninstall Robot Operator installed with Helm, run the following commands:

helm delete robot-operator -n robot-system
kubectl delete ns robot-system

To uninstall Robot Operator installed with one-file YAML, run the following commands:

# find the tag you installed
TAG="v0.2.6-alpha.10"
kubectl delete -f https://raw.githubusercontent.com/robolaunch/robot-operator/$TAG/hack/deploy/manifests/robot_operator.yaml