Set up OpenShift monitoring via OperatorHub

The OperatorHub is the interface that cluster administrators use to discover and install operators and is available via the OpenShift Container Platform web console.

Prerequisites for OpenShift Dedicated

  • A dedicated-admin user for the OpenShift Dedicated cluster
  1. Sign in to the Red Hat OpenShift Cluster Manager with your Red Hat account.
  2. Select the OpenShift Dedicated cluster and go to Access control > Cluster administrative users > Add user.
  3. Add the userid of the user who will have dedicated-admin access.

The dedicated-admin user must be added before the OneAgent Operator is visible in the OperatorHub UI.

Installation

To install Dynatrace Operator on OpenShift via OperatorHub

  1. On the OpenShift Container Platform dashboard, select Operators > OperatorHub from the side menu.

  2. Select Dynatrace Operator > Install.

  3. Enter the necessary information about the Operator subscription.

  4. In Installation Mode, select All namespaces.

  5. Keep the default values of the other settings and select Subscribe.

  6. Go to Operators > Installed Operators and wait until you see Install Succeeded.

  7. Go to Workloads > Secrets and create a new key named dynakube with two values:

  8. Go to Operators > Installed Operators from the side menu and select Dynatrace Operator.

  9. Select Create instance.

  10. Make the following changes:

    • Replace apiURL value according to your deployment:

      spec:
      apiURL: 'https://ENVIRONMENTID.live.dynatrace.com/api'

      Replace ENVIRONMENTID with your environment ID.

    • Set classicFullStack.enabled to true.

    • If you're using a custom resource file, set namespace to the namespace where you installed Dynatrace Operator.

  11. Select Create.

Limitations

On OperatorHub, you can only deploy the classicFullStack, hostMonitoring, or applicationMonitoring without the CSI driver configurations; cloudNativeFullStack and applicationMonitoring with the CSI driver aren't currently supported.