Deployment To Kubernetes
The deployed UI depends on two backend services:
OST, used to access ODA APIs for entities such as SBDs, SBIs, and EBs.
OET, used for execution workflows such as starting SBD execution, checking procedure state, and operator actions.
The Helm chart injects these backend URLs into the runtime environment as REACT_APP_BACKEND_URL_OST and REACT_APP_BACKEND_URL_OET. Authentication-related runtime values are also injected from Helm values, including clientID, apiId, apiIdOST, and tenentID.
The umbrella Helm chart can then be deployed with
make k8s-install-chart
and uninstalled with
make k8s-uninstall-chart
If using minikube, run minikube ip to find the host IP. KUBE_NAMESPACE is set to ska-oso-oet-ui by default. The backend components are deployed separately and the web application issues requests to both services.
The UI should then be available externally at http://<MINIKUBE_IP>/<KUBE_NAMESPACE>/oet/.
Typical backend URLs are:
http://<MINIKUBE_IP>/<KUBE_NAMESPACE>/ost/api/v1 for OST
http://<MINIKUBE_IP>/<KUBE_NAMESPACE>/oet/<subarray_id>/api/v10 for OET