Opstella UI Console (Front-end)
Last updated:
This content is not available in your language yet.
🟢 Management
Opstella UI is a Frontend Service for Opstella
Prerequisites
Section titled “Prerequisites”- 🛡️TLS Certificate for Opstella UI (Front-end)
- Opstella UI (Front-end) will be exposed through Web with HTTPS.
Preparation
Section titled “Preparation”Kubernetes Cluster Preparation
Section titled “Kubernetes Cluster Preparation”-
Connect to
🟢 ManagementKubernetes Cluster ; i.e w/ Kubeconfig FileEnsure you have defined and loaded your Global Shell Variables as described in Shell Variables.
Terminal window source $HOME/opstella-installation/shell-values/kubernetes/management_cluster.vars.shTerminal window export KUBECONFIG="$HOME/opstella-installation/kubeconfigs/management_cluster.yaml" -
Create Kubernetes Secret for TLS Certificate in Namespace
devsecops-system, before you proceed (if you not have it done).- Associate TLS Certificate with Ingress from Kubernetes Secret named
wildcard-${BASE_DOMAIN}-tls
export K8S_INGRESS_TLS_CERTIFICATE_SECRET_NAME="wildcard-${BASE_DOMAIN}-tls" - Associate TLS Certificate with Ingress from Kubernetes Secret named
-
Prepare
🟢 ManagementKubernetes Cluster InformationEnsure
K8S_INGRESSCLASS_NAME,K8S_INGRESS_TLS_CERTIFICATE_SECRET_NAME,BASE_DOMAIN,OPSTELLA_UI_DOMAINare defined as per the Shell Variables guide.
Opstella UI Preparation
Section titled “Opstella UI Preparation”-
Prepare Helm Values Configurations
Please give attention to these values:
-
Application Configurations
-
image.repository,image.tag: Set your Opstella Platform Container Image Location, Versionexport OPSTELLA_REGISTRY="asia-southeast1-docker.pkg.dev/opstella/platform/ui"export OPSTELLA_REGISTRY="${HARBOR_DOMAIN}/opstella-platform/ui"Terminal window export OPSTELLA_UI_VERSION="vX.Y.Z" -
OPSTELLA_UI_DOMAIN: Set your Domain for access to Opstella PlatformTerminal window export OPSTELLA_UI_DOMAIN="opstella.${BASE_DOMAIN}"
-
-
-
Create Helm Values Configurations
Terminal window cat <<EOF > $HOME/opstella-installation/helm-values/opstella-ui-full-values.yamlimage:repository: ${OPSTELLA_REGISTRY}tag: ${OPSTELLA_UI_VERSION}pullPolicy: AlwaysnameOverride: opstella-uifullnameOverride: opstella-uiserviceAccount:name:imagePullSecrets:- name: registry-secretingress:enabled: trueclassName: ${K8S_INGRESSCLASS_NAME}annotations:kubernetes.io/ingress.class: ${K8S_INGRESSCLASS_NAME}nginx.ingress.kubernetes.io/proxy-body-size: 100Mhosts:- host: ${OPSTELLA_UI_DOMAIN}paths:- path: /pathType: Prefixbackend:servicePort: 80tls:- hosts:- ${OPSTELLA_UI_DOMAIN}secretName: ${K8S_INGRESS_TLS_CERTIFICATE_SECRET_NAME}containerPorts: 3000podSecurityContext:fsGroup: 1000securityContext:seccompProfile:type: RuntimeDefaultcapabilities:drop: ["ALL"]runAsNonRoot: trueprivileged: falseallowPrivilegeEscalation: falserunAsGroup: 1000runAsUser: 1000EOF
Installation
Section titled “Installation”-
Install Opstella UI
Install Helm Release using local
opstella-platformHelm ChartTerminal window helm install opstella-ui --namespace opstella-system \$HOME/opstella-installation/helm-charts/opstella-platform-chart \-f $HOME/opstella-installation/helm-values/opstella-ui-full-values.yaml
Post-Installation
Section titled “Post-Installation”Opstella UI Console Testing
Section titled “Opstella UI Console Testing”-
Get Pod Status - Opstella UI Console
Terminal window kubectl get pods -n opstella-systemOpstella UI Console should be
RunningNAME READY STATUS RESTARTS AGE... (deducted)opstella-ui-XXXXXXX-YYYYY 1/1 Running 0 XdXh
Finished?
Use the below navigation to proceed