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.
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 Dynatrace Operator token.dataIngestToken
equal to your cluster's Data Ingest 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:spec:apiURL: 'https://ENVIRONMENTID.live.dynatrace.com/api'Replace
ENVIRONMENTID
with your environment ID. -
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.