This is the Experimental version (Latest). It is under active development and may change. For the most reliable documentation, use the version selector in the top-right to switch to Stable, or click here to go to the Stable version's homepage.
Opstella UI Console (Front-end)
อัพเดทล่าสุด:
เนื้อหานี้ยังไม่มีในภาษาของคุณ
🟢 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 $BASE_WORKING_DIR/shell-values/kubernetes/management_cluster.vars.sh -
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
(Ensure
K8S_INGRESS_TLS_CERTIFICATE_SECRET_NAMEis defined in your variables) - 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, Version(Ensure
OPSTELLA_REGISTRYis loaded from your variables)(Ensure
OPSTELLA_REGISTRYis loaded from your variables)(Ensure
OPSTELLA_UI_VERSIONandOPSTELLA_UI_DOMAINare loaded from variables)
-
-
-
Create Helm Values Configurations
Terminal window cat <<EOF > $BASE_WORKING_DIR/helm-values/opstella-ui-full-values.yamlimage:repository: ${OPSTELLA_UI_IMAGE_REPOSITORY}tag: ${OPSTELLA_UI_IMAGE_TAG}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 upgrade --install opstella-ui --namespace opstella-system \oci://asia-southeast1-docker.pkg.dev/opstella-dev/opstella-charts/generic-deployment \--version 0.3.15 \-f $BASE_WORKING_DIR/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