The recommended way to install Spawn is via our CLI tool.
- Kubernetes Cluster
- Nats broker accessible within the cluster.
Installing is very simple. First download and install our CLI in one command line:
curl -sSL https://github.com/eigr/spawn/releases/download/v2.0.0-RC9/install.sh | shAt this point you will be ready to also install our Kubernetes Operator.
Assuming the Kubernetes context you want to install to is called minikube the command would be as follows:
spawn install k8s --context=minikubeSee the demonstration below for a better understanding of the installation process:
NOTE: For the full list of options use:
spawn install k8s --help.
Alternatively, you can also install the Operator directly via the manifest file. The following command shows how this could be done directly via the command line:
kubectl create ns eigr-functions && curl -L https://github.com/eigr/spawn/releases/download/{release-version}/manifest.yaml | kubectl apply -f -NOTE: You need to inform the desired release version. For example:
kubectl create ns eigr-functions && curl -L https://github.com/eigr/spawn/releases/download/v2.0.0-RC9/manifest.yaml | kubectl apply -f -