Install Dynatrace Operator For Workshop

Install Dynatrace Operator For Workshop

📓 The dynakube.yaml file was automatically generated in AWS cloudshell during the provision script you ran in Lab0. Therefore we’ll use a modified version of the commands

  1. First, copy and paste command below into your AWS Cloud Shell to orient you in correct directory for dynakube.yaml file.

     ```
     cd ~/aws-modernization-dt-orders-setup/gen
     ```
    
  2. Next, copy the commands from the Monitor Kubernetes / Openshift configuration page of Dynatrace UI or from below to continue with the Kuberentes Operator Install steps.

      ```
      helm install dynatrace-operator oci://public.ecr.aws/dynatrace/dynatrace-operator \
      --create-namespace \
      --namespace dynatrace \
      --atomic
    
      kubectl apply -f dynakube.yaml
    
      ```
    
  3. When you run the command, it will do the following:

    1. Create a namespace called dynatrace in your cluster containing the Dynatrace Operator supporting pods
    2. Set the OneAgent on each of the cluster nodes as to provide full-stack Dynatrace monitoring
    3. Create a Kubernetes dashboard that will be populated with the Kubernetes data pulled from the API
    4. Setup a Dynatrace Active gate that runs as a container in the dynatrace namespace that is used in the polling of Kubernetes API
    5. Enable preset out-of-the-box Kubernetes dashboards