dehaze

Installing Space Cloud on MicroK8s

Follow these instructions to install Space Cloud on MicroK8s.

Step 1: Install MicroK8s along with Istio

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

Install the required add-ons:

microk8s enable dns rbac istio

Wait for all the pods to start:

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

Step 2: 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

Set up port forwarding to access Mission Control on localhost:4122/mission-control.

microk8s kubectl port-forward -n space-cloud statefulsets/gateway --address 0.0.0.0 4122:4122

Step 3: Open Mission Control

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

If you are running microk8s on Windows or MacOS, k8s runs in a separate VM. Run multipass list to find the IP of that VM. It should have an ouptut similar to:

Name                    State             IPv4             Image
microk8s-vm             Running           192.168.64.17    Ubuntu 18.04 LTS

Use the IP printed on the terminal to connect to Space Cloud instead of localhost.

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!