Skip to main content
Version: Release 24.1

Install or Upgrade—Deploy or Release—on Openshift on AWS

Note: Here is a basic setup for the AWS Openshift cluster, use it as a guideline to create K8s cluster to have minimal K8s environment for Digital.ai Deploy or Release installation. This is an example of AWS Openshift installation, Deploy and Release support other Openshift providers.

Prerequisites

Important: If you want to enable the TLS protocol in your cluster, you must have the TLS secret created in the namespace before you start the installation or upgrade. This means that you must create the namespace first, create the TLS secret in that namespace, and use the same namespace and TLS secret during the installation or upgrade of Digital.ai Deploy or Release.

The xl kube install and xl kube upgrade options reference let you go with the default (latest) docker image tags available when you install or upgrade Digital.ai Deploy or Release. However, here are the Docker Hub links to verify all the available image tags.

Step 1—Prepare for Installation

You must set up your system for installation, which include installing the kubectl, the required CLIs, and so on.

Install and Configure the kubectl, XL CLI, ROSA CLI, and yq

See:

Step 2—Set up the AWS Openshift Cluster

Note: The instructions to set up the cluster are indicative of the process. You may have to keep abreast of the latest developments with regards to the cloud platform you work with and set up the cluster to suit your requirements.

See Installing a cluster quickly on AWS.

Configure the Identity Providers Using the Red Hat OpenShift Cluster Manager

Once you have the cluster created, you must configure the identity provider to access your cluster. See Configuring identity providers using Red Hat OpenShift Cluster Manager.

Once you have the identity providers set up, you must have the SERVER_URL and TOKEN, which is required to log on to the OpenShift cluster.

To know the SERVER_URL:

  1. Run the following command to know the console URL.

    rosa describe cluster --cluster=CLUSTER_NAME
  2. Open the console URL in a browser.

  3. Select Clusters to view your clusters and select the cluster you created.

    1665030308384

  4. Select the Networking tab.

  5. You can find the Control Plane API endpoint field, which is your SERVER_URL.

    1665030330327

  6. Also, note down the Default application router, which is the default router configured by OpenShift. You can also find it in OpenShift Console UI. You must configure the hosts key in DigitalaiDeployOcp with this value.

    hosts:
    - router-default.apps.clustername.lnfl.p1.openshiftapps.com

    1665030360142

  7. Go to Clusters > Access Control and create a cluster admin user.

    1665030376367

Connect to Your Cluster

Run the oc login command.

oc login --token=TOKEN --server=SERVER_URL

Step 3—Install Digital.ai Deploy or Release

  1. Run the xl kube install command. For more information about flags to skip prompts, enable additional logging, and so on, see xl kube install Command Reference.
  2. Answer the questions in the installation options reference.
  3. When prompted, select OpenShift as the Kubernetes setup where the Digital.ai Devops Platform will be installed. For more information, see:
  4. Complete the installation.
  5. Log on to the Deploy or Release server and verify the installation.

Upgrade Deploy or Release on OpenShift on AWS

The following upgrade scenarios are supported:

  • Upgrading existing sites created using Helm Charts
  • Upgrading existing sites created using Operator

Backup and Restore

  • Before you upgrade existing Deploy or Release sites using the Operator-based installer, you must back up your volumes, databases, and file systems so that you can revert to the earlier state in case of upgrade failures.
  • Back up and restore your data according to your organization's backup policies.
  • For more information, see AWS Backup.

Upgrade Digital.ai Deploy or Release

  1. Run the xl kube upgrade command. For more information about flags to skip prompts, enable additional logging, and so on, see xl kube upgrade command reference
  2. Answer the questions in the upgrade options reference.
  3. When prompted, select OpenShift as the Kubernetes setup where the Digital.ai Devops Platform will be upgraded. For more information, see:
  4. Complete the upgrade.
  5. Log on to the Deploy or Release server and verify the installation.