Skip to content

Apply Opstella Core Configuration

Apply to Opstella Core with Management Admin Panel

Section titled “Apply to Opstella Core with Management Admin Panel”
  1. Go to Opstella Management Admin Panel opstella-backend.${BASE_DOMAIN}/admin

  2. Login with Opstella Core Credentials

  3. Go to Workers > Configs

  4. Add Config + (Top Right) and paste contents of opstella-backend-devopstool.yaml for devopstool kind and click Save in the buttom page

  5. Add Config + (Top Right) and paste contents of opstella-backend-tag-on-premise.yaml for tag kind and click Save in the buttom page

Register Kubernetes Clusters Records to New Table

Section titled “Register Kubernetes Clusters Records to New Table”
  1. Connect to 🟢 Management Kubernetes Cluster ; i.e w/ Kubeconfig File

    Ensure 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.sh
    Terminal window
    export KUBECONFIG="$HOME/opstella-installation/kubeconfigs/management_cluster.yaml"
  2. Use kubectl exec command to get into opstella-core-XXXXXXXXX-YYYYY container.

    Firstly, Get the name of Opstella Core (Back-end) Pod.

    Terminal window
    kubectl get pods --namespace opstella-system

    Change opstella-core-XXXXXXXXX-YYYYY to be the one you get from getting pods list.

    Terminal window
    kubectl exec -i -t --namespace opstella-system pod/opstella-core-XXXXXXXXX-YYYYY -- sh
  3. Run Command

    Terminal window
    python manage.py migrate_opstella_v5
  4. Go back to Opstella Management Admin Panel opstella-backend.${BASE_DOMAIN}/admin

  5. Go to Workers > Kubernetes clusters, you will see a list of your Kubernetes Clusters configured to managed with Opstella.

  6. Click EACH of the record and assign Cluster group and Cluster category accordingly.

    • 🟦 Non-Production DEV Workload Kubernetes Cluster
      • Cluster group: NON-PRODUCTION
      • Cluster category: WORKLOAD
    • 🟥 Production PRD Workload Kubernetes Cluster
      • Cluster group: PRODUCTION
      • Cluster category: WORKLOAD
    • 🟢 Management Kubernetes Cluster
      • Cluster group: NON-PRODUCTION
      • Cluster category: DEVOPS

    Click Save on EACH of them.

  1. Go to Workers > Dev ops tool tags > Add dev ops tool tag + (Top Right)

  2. Select/Specify the following

    • Devops tool: keycloak

    • Tag: on-premise

    • Env: ["DEV", "SIT", "UAT", "PREPRD", "PRD"] (In case where you have 5 Environments in Opstella)

      • This text will need to be change ONLY IF you will have different number of Environments managed by Opstella
      • For instance, you only have 3 Environments managed by Opstella (DEV, PRE, PRD)
        • This field will be ["DEV", "PREPRD", "PRD"]

  3. Click Save on the bottom right

  1. Go to Tenant > Companys ; You should see a record of your organisation name, having PROCESSING Status.

  2. Tick ✅ on the record of your organisation name.

  3. The record of your organisation name should soon have the Status of ACTIVE; Try refresh the page if it is not changing.

Finished?

Use the below navigation to proceed