Deployment Guide

Kubernetes Deployment

This is the documentation for the SKA Login Page Helm Chart.

The SKA Login Page is intended to be deployed as a standalone deployment with the SKA Permissions API, running as a service accessible to other deployments to users through the dashboard URL or to other applications as a Webpack remote. Typical deployments are still to be confirmed.

Steps to run the system locally in Minikube

The following steps will assume that you have the repo checked out, or have the chart locally.

  1. Start Minikube if it is not already running:

minikube start
minikube status

If needed, build images, tag and load them to Minikube.

docker build -t ska-login-page:[Tag] .
minikube image load ska-login-page:[Tag]
minikube image ls
  1. Change to the chart directory in the repository: cd charts/ska-login-page/. Make the needed changes to image versions and enable the deployments as required in the values files. Then update the Helm dependencies.

helm dependency update .
helm dependency build .
  1. Create a new namespace (optional): kubectl create namespace [namespace]

  2. Install the helm chart with the following values:

    helm install [deploy-name] charts/ska-login-page -n [namespace] –values values_local_deployment.yaml

On a system with limited resources / slow connection, run with the following additional flags:

helm install [deploy-name] charts/ska-login-page -n [namespace] --values values_local_deployment.yaml --set diagnosticMode.enabled=true --timeout=60m

Once the above is complete you will have the following running:

  • The SKA Login Page

To be able to access the login page run the following:

kubectl -n [namespace] port-forward service/ska-login-page-ui-service 4201:80
kubectl -n [namespace] port-forward service/ska-login-page-permissions-api-service 4202:8000

You should now be able to access the Login Page on the following URL’s:

SKA Login Page User Interface:

SKA Permissions api: