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
- Sign in to the Red Hat OpenShift Cluster Manager with your Red Hat account.
- Select the OpenShift Dedicated cluster and go to Access control > Cluster administrative users > Add user.
- Add the userid of the user who will have dedicated-admin access.
Note: The dedicated-admin user must be added before the OneAgent Operator is visible in the OperatorHub UI.
To install Dynatrace Operator on OpenShift via OperatorHub
On the OpenShift Container Platform dashboard, select Operators > OperatorHub from the side menu.
Select Dynatrace Operator > Install.
Enter the necessary information about the Operator subscription.
In Installation Mode, select All namespaces.
Keep the default values of the other settings and select Subscribe.
Go to Operators > Installed Operators and wait until you see Install Succeeded.
Go to Workloads > Secrets and create a new key named
dynakubewith two values:
Go to Operators > Installed Operators from the side menu and select Dynatrace Operator.
Select Create instance.
Make the following changes:
apiURLvalue according to your deployment:Dynatrace SaaSyaml
spec: apiURL: 'https://ENVIRONMENTID.live.dynatrace.com/api'
ENVIRONMENTIDwith your environment ID.
If you're using a custom resource file, set
namespaceto the namespace where you installed Dynatrace Operator.
On OperatorHub, you can only deploy the
applicationMonitoring without the CSI driver configurations;
applicationMonitoring with the CSI driver aren't currently supported.