dehaze

Installing Space Cloud on MicroK8s

Follow these instructions to install Space Cloud on MicroK8s.

Step 1: Install MicroK8s

Install the latest version of MicroK8s for Windows, Linux or macOS.

Install the required add-ons:

sudo microk8s.enable DNS RBAC

Step 2: Install Istio

Space Cloud requires Istio to work correctly. The default Istio profile works perfectly well.

For convenience, we have already made a YAML file to install istio for a local cluster.

microk8s.kubectl apply -f https://raw.githubusercontent.com/spaceuptech/space-cloud/master/install-manifests/kubernetes/local/istio.yaml

Wait for all the pods to start:

microk8s.kubectl get pods -n istio-system --watch

Step 3: Install Space Cloud

To install Space Cloud, run the command:

microk8s.kubectl apply -f https://raw.githubusercontent.com/spaceuptech/space-cloud/master/install-manifests/kubernetes/local/space-cloud.yaml

Wait for all the pods to start:

microk8s.kubectl get pods -n space-cloud --watch

The last step would be to port forward Space Cloud’s ports.

microk8s.kubectl port-forward -n space-cloud gateway-0 4122:4122

Step 4: Open Mission Control

You should be able to access Mission Control on http://localhost:4122/mission-control

The default credentials are:

  • Username: admin
  • Key: 1234

You can change it by editing the ADMIN_USER and ADMIN_PASS env variables of the gateway deployment. You can find these towards the end of the space-cloud.yaml file.

Next Steps

Awesome! We just started Space Cloud using Kubernetes. Next step would be to set up a project to use Space Cloud in your preferred language.

Feel free to check out various capabilities of space-cloud:

Have a technical question?

Improve the docs!