Releases: Dynatrace/dynatrace-operator
v0.11.0-rc.0
⚠️ This is a pre-release, which has no official support by Dynatrace. If you run into issues with this specific release, please open a Github Issue!Release notes for v0.11.0 will be published in our official documentation.
Installation
For information on how to install the latest dynatrace-operator please visit our official Documentation.
Upgrade/Install instructions
Kubernetes
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.11.0-rc.0/kubernetes.yaml
Openshift
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.11.0-rc.0/openshift.yaml
Features
- Automatic updates for OneAgent, ActiveGates and Code-modules from a public registry:
- Add
feature.dynatrace.com/public-registry: "true"
annotation on Dynakube to use immutable images from Dockerhub for Dynatrace components (Oneagent, Activegate and Codemodules) - Note: This feature has a dependency on a soon-to-be-released cluster version and must therefore not be used in production environments.
- Add
- Support archive
- Run
kubectl exec -n dynatrace deployment/dynatrace-operator -- dynatrace-operator support-archive --stdout > operator-support-archive.tgz
to create a support archive with logs/manifests for all operator components to provide an improved debug experience.
- Run
- (Preview) Synthetic capability
- Add
feature.dynatrace.com/synthetic-location-entity-id: "<location-id>"
annotation on Dynakube to rollout a private synthetic location
- Add
Full changelog will be published with the final release, including bugfixes and further smaller improvements!
v0.10.4
Installation
For information on how to install the dynatrace-operator please visit our official Documentation.
Upgrade instructions
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.4/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.4/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.4/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.4/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.4/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.4/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.10.4"
What's Changed
Release Notes can be found in our official Documentation.
v0.10.3
Installation
For information on how to install the dynatrace-operator please visit our official Documentation.
Upgrade instructions
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.3/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.3/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.3/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.3/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.3/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.3/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.10.3"
What's Changed
Release Notes can be found in our official Documentation.
v0.9.2
Installation
For information on how to install the dynatrace-operater please visit our official Documentation.
Upgrade instructions
Warning
When upgrading fromv0.9.0
additional steps are required when CSI driver was in use. For more information check out the blog post on upgrade issues fromv0.9.0
to a different version.
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.2/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.2/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.2/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.2/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.2/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.2/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.9.2"
What's Changed
Release Notes can be found in our official Documentation.
v0.10.2
Installation
For information on how to install the dynatrace-operator please visit our official Documentation.
Upgrade instructions
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.2/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.2/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.2/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.2/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.2/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.2/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.10.2"
What's Changed
Release Notes can be found in our official Documentation.
v0.10.1
Installation
For information on how to install the dynatrace-operater please visit our official Documentation.
Upgrade instructions
Warning
When upgrading fromv0.9.0
additional steps are required when CSI driver was in use. For more information check out the blog post on upgrade issues fromv0.9.0
to a different version.
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.1/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.1/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.1/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.1/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.1/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.1/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.10.1"
What's Changed
Release Notes can be found in our official Documentation.
v0.10.0
Installation
For information on how to install the dynatrace-operater please visit our official Documentation.
Upgrade instructions
Warning
When upgrading fromv0.9.0
additional steps are required when CSI driver was in use. For more information check out the blog post on upgrade issues fromv0.9.0
to a different version.
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.0/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.0/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.0/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.0/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.0/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.10.0/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.10.0"
What's Changed
Warning
Activegate Authtoken support is now enabled by default
- requires additional api token scope:
activeGateTokenManagement.create
feature.dynatrace.com/activegate-authtoken=false
to disable
- Propagation of build labels from pod to environment variables (official documentation)
- Allow configuration of CSI driver log garbage collection interval (official documentation)
- Add pod annotation to disable webhook injection completely
dynatrace.com/inject=false
to disable webhook injection for a pod in a monitored namespace
- Troubleshoot command improvements
- All Dynakubes in the given namespace will be analyzed, unless --dynakube parameter is provided
- Show all errors that can be detected by the troubleshoot command, instead of stopping after the first error
- Add recommended LABELS to the Dockerfile and released image
docker inspect docker.io/dynatrace/dynatrace-operator:v0.10.0
- Add configurable labels/annotations for oneagent and activegate to the Dynakube
Feature Flags
- ➕ Add feature flag to configure release label propagation
feature.dynatrace.com/label-version-detection=true
- ➕ Add environment variable to configure more aggressive garbage collection on the CSI driver
MAX_UNMOUNTED_VOLUME_AGE
environment variable on theprovisioner
container of the CSI driver pod sets the interval in days
Helm changes ⛑️
- Add
csidriver.maxUnmountedVolumeAge
to setMAX_UNMOUNTED_VOLUME_AGE
environment variable
Bugfixes 🪲
- Fix missing pod metadata for the enrichment file in case oneagent injection is disabled
- Fix Activegate statefulset recreation when labelled externally
- Fix custom image handling in troubleshoot command
- Fix missing
readOnlyRootFilesystem
for Activegate init container in case feature flag is set - Reduce default memory usage for operator components by reducing logger instances
- Lower default CSI driver oneagent log garbage collection interval to 7 days
Full Changelog: v0.9.1...v0.10.0
v0.9.1
Installation
For information on how to install the dynatrace-operater please visit our official Documentation.
Upgrade instructions
Warning
When upgrading fromv0.9.0
additional steps are required when CSI driver was in use. For more information check out the blog post on upgrade issues fromv0.9.0
to a different version.
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.1/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.1/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.1/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.1/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.1/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.1/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.9.1"
What's Changed
Warning
Activegate Authtoken support is now enabled by default
- requires additional api token scope:
activeGateTokenManagement.create
feature.dynatrace.com/activegate-authtoken=false
to disable
Bugfixes 🪲
- Only create secret in monitored namespaces, if it's not present by @0sewa0 in #1222
- Only require the
activeGateTokenManagement.create
scope on the api token, ifactiveGate
is used by @0sewa0 in #1220 - Update CRD
caBundle
if certificate secret is up to date by @chrismuellner in #1240 - Default to unprivileged classic oneagent container and allow configuration via feature flag by @chrismuellner in #1254
- Fix CSI driver pods being stuck in
Terminating
after restart by @0sewa0 in #1252 - Fix issues in CSI driver in case of using a Tenant alias by @0sewa0 in #1228
- Clarify error message in case of missing Dynakube in troubleshoot command by @meik99 in #1235
Full Changelog: v0.9.0...v0.9.1
v0.9.0
Warning
This release should not be used, usev0.9.1
or later instead. For more information check out the blog post on upgrade issues fromv0.9.0
to a different version.
Installation
For information on how to install the dynatrace-operater please visit our official Documentation.
Upgrade instructions
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.0/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.0/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.0/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.0/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.0/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.0/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
helm upgrade dynatrace-operator dynatrace/dynatrace-operator -f <values> --atomic --version="0.9.0"
What's Changed
Warning
Activegate Authtoken support is now enabled by default
- requires additional api token scope:
activeGateTokenManagement.create
feature.dynatrace.com/activegate-authtoken=false
to disable
-
Improve resilience of the CSI driver
- split up single container into server and provisioner container: server is available to handle mount/unmount requests if the provisioner uses too much memory
- in case of issues in the CSI driver application pods are no longer blocked forever, instead empty files are mounted so the pods can start up (no monitoring, but pods are available)
- defaults to 10 attempts, with each attempt happening when the pod restarts (see container restart policy for information on exponential back-off)
-
Signed images on Dockerhub and GCR using cosign
- verify image with public key
cosign verify --key https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.9.0/key.pub \ docker.io/dynatrace/dynatrace-operator:v0.9.0
- verify image without key
COSIGN_EXPERIMENTAL=1 cosign verify docker.io/dynatrace-operator:v0.9.0
-
Add troubleshoot subcommand to diagnose common setup issues
- can be run on any pod that uses the operator image
kubectl exec deploy/dynatrace-operator -n dynatrace -- dynatrace-operator troubleshoot
- can be run on any pod that uses the operator image
-
Update CSI driver container resource requests/limits
server
(previously part ofdriver
container):50m
cpu /100Mi
memoryprovisioner
(previously part ofdriver
container):300m
cpu /100Mi
memoryregistrar
:20m
cpu /30Mi
memorylivenessprobe
:20m
cpu /30Mi
memory
Bugfixes 🪲
- Add tolerations for ARM architecture to Operator components by default
- Support
readOnlyRootFilesystem
security context in injected init containers - Fix
.json
format of metadata enrichment file
Core changes 🎉
- Add
nodes/metrics
permission to Operator cluster role by default - Upgrade operator base image from
ubi8-micro
toubi9-micro
- Restart webhook when
OneAgentAPM
CRD is present instead of silently failing - Add validation for common issue with disabling volume storage when CSI driver is enabled
- Add tar to operator image
- allows copying files from container by using
kubectl cp
- allows copying files from container by using
Helm changes ⛑️
- Add configurable
kubeletPath
- split
csidriver.resources
to allow configuration of different containers⚠️ --reuse-values
or same values file will no longer set resource requests/limits forprovisioner container
csidriver.server.resources
,csidriver.provisioner.resources
,csidriver.registrar.resources
andcsidriver.livenessprobe.resources
can be used to set requests/limits per container
- Adds toleration for arm and amd to operator components
Full Changelog: v0.8.2...v0.9.0
v0.7.3
This is a bugfix release for
v0.7.x
,v0.8.2
continues to be the latest and recommended version of the Dynatrace Operator!
Installation
For information on how to install the dynatrace-operater please visit our official Documentation.
Upgrade instructions
The Operator can be upgraded from the last release with, the following commands.
Kubernetes (with CSI driver)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.3/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.3/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.3/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.3/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.3/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.3/openshift.yaml
What's Changed
Bugfixes
- Set empty workload kind/name on unknown owner by @chrismuellner in #1074
Full Changelog: v0.7.2...v0.7.3