This project implements a simple dashboard for the FLUIDOS project, in particular with respect to the capability to acquire and reserve resources throught the REAR protocol. This allows a FLUIDOS node to extend its capabilities, resources and services with the ones available in a remote node, hence creating the computing continuum proposed in FLUIDOS.
This dashboard simplifies how you interact with the most important resources defined in the FLUIDOS node, which can be used to visualize, reserve and buy resources from a remote FLUIDOS node through a GUI instead of using the Kubernetes Custom Resources underneath.
The dashboard can be installed in a Kubernetes cluster through the manifests in /manifest
. You need to deploy the Deployment, the Services and the Ingress.
The dashboard is exposed as two Kubernetes NodePort
Services: dashboard-backend
and dashboard-frontend
.
The dashboard-frontend service depends on the dashboard-backend service, so you need to change the value of the environment variable REACT_APP_BACKEND_ADDRESS
into manifests/deployment-frontend
accordingly, putting the IP address of your Kubernetes cluster, before installing the dashboard.
Currently, we build and load the Docker images locally and so we suggest to use the custom installation script which speed up the overall installation process.
You need to provide a couple of arguments to the installation scripts:
- The Kubernetes Environment (kind, k3s, kubeadm).
- The name of the cluster if choosing kind.
WARNING: If you want to install it into a k3s or Kubeadm, you might need to install it with sudo
privilege.
./install.sh <k8s-environment> <name-of-cluster-if-kind>
The Dashboard can also be accessed locally on your machine at http://<K8s-cluster-IP>:32000
.