Dynatrace Operator manages and auto-updates the components it deploys. To achieve a similar effect for Dynatrace Operator itself, we recommend using GitOps and open-source tools.
The workflow outlined below is a direct result of the recommended setup, ensuring that Dynatrace Operator is automatically kept up to date in your Kubernetes environment.
Argo offers a suite of open-source tools for Kubernetes app deployment and management. ArgoCD, a continuous delivery tool, is used to keep the Dynatrace Operator configuration in sync with the Kubernetes cluster.
After you set up ArgoCD in your cluster, create an ApplicationSet
YAML that specifies the source Helm chart for Dynatrace Operator, the version you want to deploy, and the target environment for the deployment.
# For exact syntax refer to the official ArgoCD documentationapiVersion: argoproj.io/v1alpha1kind: ApplicationSetmetadata:name: dynatrace-operatorspec:generators:...template:...spec:...source:repoURL: https://raw.githubusercontent.com/Dynatrace/dynatrace-operator/main/config/helm/repos/stablechart: dynatrace-operatortargetRevision: <version>
Renovate automates the updating of dependencies in Git repositories. Integrating Renovate into your workflow ensures that the Dynatrace Operator version specified in your ApplicationSet
is always up to date. Use the Renovate guide for instructions on updating ArgoCD configurations.