Releases: Dynatrace/dynatrace-operator
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
v0.8.2
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.8.2/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.2/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.2/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.2/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.2/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.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.8.2"
What's Changed
Bugfixes
- Readd the version log to the top of the logs by @0sewa0 in #1104
- Fix initial setup for
codeModulesImage
feature on new cluster by @0sewa0 in #1103
Core changes
Full Changelog: v0.8.1...v0.8.2
v0.8.1
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.8.1/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.1/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.1/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.1/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.1/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.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.8.1"
What's Changed
Core
Bugfixes
- Change security context capability
ALL
to uppercase by @luhi-DT in #1063 - Ensure CSI driver availability on node scale-down by @luhi-DT in #1067
- Fix custom activegate labels in Dynakube by @chrismuellner in #1055
- Set empty workload kind/name on unknown owner by @chrismuellner in #1074
- Fix partial unzip of archive in CSI driver by @0sewa0 in #1059 and #1077
Full Changelog: v0.8.0...v0.8.1
v0.8.0
Major changes
- Lowered storage usage and deployment time when
codeModulesImage
field is used - Deprecate
enable
/disable
prefix for feature flags- e.g. instead of
feature.dynatrace.com/enable-automatic-kubernetes-api-monitoring
the following should be used:feature.dynatrace.com/automatic-kubernetes-api-monitoring
- old format can still be used, but support will be removed in a future version
- e.g. instead of
- Add option to reverse injection logic for namespaces (namespace is known, but pods need to be annotated with
oneagent.dynatrace.com/inject=true
to be monitored)- used by configuring
feature.dynatrace.com/automatic-injection=false
on a Dynakube
- used by configuring
Installation
For information on how to install the dynatrace-operater please visit our official Documentation.
Upgrading
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.8.0/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.0/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.0/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.0/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.0/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.8.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.8.0"
What's Changed
Bugfixes
- Only set user/group for Oneagent security context when CSI driver is used by @chrismuellner in #954
- Fix code modules image download loop by @gkrenn in #958
- Improves check if image already exists in CSI driver by @0sewa0 in #966
- Use kind
Pod
when OwnerReference is empty by @meik99 in #989 - Add
priorityClass
to CSI Driver Pods by @luhi-DT in #1022 and #1032
Core changes
- Set default value for version label when custom image is used by @0sewa0 in #843
- Add feature flag to reverse injection logic by @StefanHauth in #908
Helm changes
- Add configurable labels and annotations sections for operator components in helm-charts by @waodim in #935
- Fix
csidriver.limits
andcsidriver.requests
usage in manifests by @StefanHauth in #1002 - Improve naming of platforms available in helm chart by @gkrenn in #1020
Component changes
- Fixes code modules cache not being updated correctly by @meik99 in #1008
- Set correct connection info by @meik99 in #1014
Documentation changes
Full Changelog: v0.7.2...v0.8.0