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
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
-
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
dynakube
with two values:apiToken
equal to your cluster's API token. See Access tokens and permissions for recommended token scopes.paasToken
equal to your cluster's Platform-as-a-Service token.
-
Go to Operators > Installed Operators from the side menu and select Dynatrace Operator.
-
Select Create instance.
-
Make the following changes:
-
Replace
apiURL
value according to your deployment: -
Set
classicFullStack.enabled
totrue
. -
If you're using a custom resource file, set
namespace
to the namespace where you installed Dynatrace Operator.
-
-
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.