Releases: Dynatrace/dynatrace-operator
v0.6.0
With v0.6.0 we’ve changed the support cadence. Going forward the latest n-2 versions, or 9 months, whichever is longer, are supported.
Helm support is only available if supported versions of Operator and its components are being deployed.The supported platforms table has been updated and can be found here: Supported Platforms
Install or Upgrade
The Operator can be installed or 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.6.0/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.6.0/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.6.0/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.6.0/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.6.0/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.6.0/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.6.0/dynatrace.com_dynakubes.yaml
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.6.0"
What's Changed
Bugfixes
- Fixes daemonset deletion issue by @0sewa0 in #505
- Moves the tls in the correct postion for oneagent daemonset by @0sewa0 in #514
- Change logging condition when ensuring agProxySecret is deleted by @luhi-DT in #556
- Makes checking the statusCode safer for ProcessModuleConfig endpoint by @0sewa0 in #570
- Fix CSI driver daemonset by @chrismuellner in #599
- Add openshift scc for operator and webhook by @0sewa0 in #602
- Add validity check for certificates on webhook startup by @luhi-DT in #592
- Update volume entry if exists by @0sewa0 in #615
- Allows domainless tenant urls by @toszr in #617
- Fix phase field not updating by @gkrenn in #614
- Enables relevant ActiveGate service ports based on capability requirements by @toszr in #622
- Fix nil panic introduced by installer rework by @0sewa0 in #620
- Fixes double insert to dynakube table by @0sewa0 in #638
- Moves the version check in the correct volume publisher by @0sewa0 in #648
- Webhook AppArmor annotation fixed by @aorcholski in #658
- ActiveGate webserver's CA mounted properly in OneAgents pods by @mjgrzybek in #661
- Simplifies the matchLabels for Oneagent daemonset by @0sewa0 in #672
- Remove version from
matchLabels
in Helm and Activegate by @0sewa0 in #683 - Add RW volume for AG tls certificate by @aorcholski in #722
- Fix check for empty high availability flag by @mjgrzybek in #747
- Fix automatic kubernetes api monitoring usage being skipped by @chrismuellner in #750
- Fix activegate service not updating when labels mismatch by @chrismuellner in #749
- Skip cache removal when file does not exist by @chrismuellner in #754
- Add ClusterRoles for OLM activegate by @luhi-DT in #759
- Replace the latest oneagent version endpoint to use the versions endpoint by @0sewa0 in #760
Core changes
- Adds security context to the operator/webhook by @0sewa0 in #580
- Removes admission.Errored responses from podmutator webhook by @0sewa0 in #604
- Switch to distroless base image by @chrismuellner in #596
- SecurityContext added to ActiveGate container by @aorcholski in #597
- Dynatrace containers livenessprobes switched from
/healthz
to/livez
by @mjgrzybek in #641 - Adds detailed logs for the standalone init by @0sewa0 in #619
- Removes "alpha." from the feature flags + adds deprecation warning for old flags by @0sewa0 in #611
- Adds database overview to the logs of the csi driver on error and startup by @0sewa0 in #618
- Reworked phase/status-field handling by @gkrenn in #609
- Fix mock client for ARM architecture by @chrismuellner in #668
- Add malformed response to log metadata in dtclient by @gkrenn in #685
- Prunes the makefile by @0sewa0 in #678
- Refactor component feature and version labels by @chrismuellner in #726
- Makes the deprecated feature-flag warning more precise by @0sewa0 in #723
- Create symlink from filesystem instead of latest version on Dynakube by @chrismuellner in #757
Helm changes
- Makes apparmor setting more flexible in helm by @0sewa0 in #612
- Change crdApplied to required for google marketplace by @waodim in #559
- Add highavailability option for webhook via helm by @waodim in #713
Component changes
- Adds DNSPolicy to the ActiveGate section by @0sewa0 in #458
- Adds token scope check for activeGate features by @0sewa0 in #461
- Add statsd ingest by @toszr in #313
- Adds warning for missing memory limit for activeGate by @0sewa0 in #538
- Separate statsd-ingest capability from metrics-ingest by @toszr in #539
- Exposes custom StatsD and EEC images in DynaKube ActiveGate spec by @toszr in #546
- Adds Extension Controller/StatsD logs to the ActiveGate support archive by @toszr in #561
- Adds security context for EEC and StatsD containers (statsd-ingest) by @toszr in #586
- Maps certain StatsD-related annotations to EEC/StatsD container resource requests or limits by @toszr in #588
- Maps EEC/StatsD-related annotations to the EEC and data sources runtime properties by @toszr in #582
- Raw ActiveGate image support by @mjgrzybek in #544
- Defines constants for environment variables in EEC/StatsD containers by @toszr in #593
- Includes DT_STATSD_INGEST_URL in the endpoint.properties file injected to pods by @toszr in #594
- Set terminationGracePeriod for oneagent pods by @chrismuellner in #595
- Remove preview warning from CSI driver by @waodim in #603
- Removes statsd-ingest dependency on metrics-ingest by @toszr in #600
- Multiple osagents on the same node by @mjgrzybek in #608
- Added opt-in feature flag AnnotationFeatureEnableActivegateRawImage by @mjgrzybek in #616
- ActiveGate pods support setting PriorityClass by @mjgrzybek in #637
- Added TopologySpreadConstraints support to ActiveGate spec by @mjgrzybek in #652
- Remove dataingest environment variable from pod injection by @chrismuellner in https://github.com/Dynatrace/dynatrace-operator/pul...
v0.5.1
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.5.1/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.1/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.1/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.1/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.1/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.1/openshift.yaml
Helm
The Operator's helm chart can be upgraded from the last version with,
helm repo update
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.1/dynatrace.com_dynakubes.yaml
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.5.1"
What's Changed
Bugfixes
- Webhook AppArmor annotation fixed by @aorcholski in #659
- Improve info log when
bin
folder does not exist in CSI driver by @chrismuellner in #686 - Fix
activegate.customproperties.value
when multi line string is used by @chrismuellner in #691 - ActiveGate webserver's CA mounted properly in OneAgents pods by @mjgrzybek in #674
Full Changelog: v0.5.0...v0.5.1
v0.5.0
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.5.0/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.0/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.0/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.0/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.0/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.0/openshift.yaml
Helm Charts
helm repo update
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.5.0/dynatrace.com_dynakubes.yaml
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.5.0"
What's Changed
New Features 🎉
- Cloud Native is going GA with this release
- Support for Readonly Host Filesystems for OneAgents
- Adds securityContext to the operator/webhook/csi-driver
Bugfixes
- Adds extra check for empty node names + merge fix by @0sewa0 in #626
- Decouple standalone and oneagent csi storage by @0sewa0 in #629
- Fixes double insert to dynakube table by @0sewa0 in #636
Documentation Updates
- Update samples, readme and CRD to not mention cloudNative and applicationMonitoring as preview features by @luhi-DT in #625
Full Changelog: v0.4.2...v0.5.0
v0.4.2
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.4.2/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.2/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.2/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.2/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.2/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.2/openshift.yaml
Helm Charts
helm repo update
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.2/dynatrace.com_dynakubes.yaml
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.4.2"
What's Changed
Bugfixes
v0.4.1
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.4.1/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.1/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.1/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.1/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.1/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.1/openshift.yaml
Helm charts
helm repo update
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.1/dynatrace.com_dynakubes.yaml
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="0.4.1"
What's Changed
Other Changes
- Fix daemonset deletion issue by @0sewa0 in #515
- Add flavor pod annotation by @chrismuellner in #516
- Update required scopes for automatic api monitoring by @fabwer in #520
- Moves the tls in the correct postion for oneagent daemonset by @0sewa0 in #521
- Include build information in image by @chrismuellner in #522
- Update dependencies by @chrismuellner in #523
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
Compared to v0.3.0, the manifests
kubernetes-csi.yaml
andopenshift-csi.yaml
only contain the parts necessary for the CSI driver.
If the deployment and the CSI driver are needed, both manifests,<platform>.yaml
and<platform>-csi.yaml
have to be applied.
New Features 🎉
- Add support for single token by @gkrenn in #404
- Add option for selfregistering activegate by @fabwer in #423
- Add metrics-ingest ActiveGate capability by @aorcholski, @mjgrzybek in #322 #399
- Add metadata enrichment by @aorcholski, @mjgrzybek in #291
- Propagates tls cert to oneagents by @0sewa0 in #433
- Creates symlink for current version in CSI driver in the agent bin by @0sewa0 in #427
Bugfixes
- Update troubleshoot script with activegate version check by @luhi-DT in #369
- Remove unused KeyValue pair to fix wrong logging by @luhi-DT in #431
- Adds missing check for hostMonitoring for autoUpdate by @0sewa0 in #480
- Fix install.sh for kubectl 1.23 or later by @chrkl in #410
- Fixed error when deploying via GKE deployer image by @meik99 in #443
- Add missing conversion of env section by @chrismuellner in #475
Code Improvements
- Update troubleshootscript for MacOS by @gkrenn in #318
- Add support for managed tenant api url to troubleshoot script by @waodim in #378
- Change beta warning condition for applicationMonitoring by @luhi-DT in #363
- Adds ruxitagentproc.conf update mechanism for CSI driver by @0sewa0 in #366
- Add bootstrap manager for certificates by @chrismuellner in #329
- Validation webhook shows multiple errors by @0sewa0 in #382
pod_mutator
supports multiple injections;pod_mutator
refactoring by @mjgrzybek in #386- Simplify the permissions for the certificate generation by @0sewa0 in #398
- Refactors logging in most packages by @0sewa0 in #396
- Reorg codebase by @0sewa0 in #402
- Replace travis by github action by @gkrenn in #412
- Remove static manifests and replace with helm charts by @meik99 in #430
- Add missing token scope checks by @chrismuellner in #472
- Update dependencies by @chrismuellner in #477
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.4.0/kubernetes.yaml
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.0/kubernetes-csi.yaml
Kubernetes (default)
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.0/kubernetes.yaml
Openshift (with CSI driver)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.0/openshift.yaml
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.0/openshift-csi.yaml
Openshift (default)
oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.0/openshift.yaml
v0.4.0 Helm Charts
What's Changed
New Features 🎉
- Updates resources.limits/request in helm chart by @0sewa0 in #446
- Add adjustable resource values for operator and webhook deployments by @ralfzen in Dynatrace/helm-charts#168
Bugfixes
- Fixed error when deploying via GKE deployer image by @meik99 in #443
- Fixed coalesce issues for nodeSelectors and tolerations by @Dynatrace-Jeroen-Hautekeete in Dynatrace/helm-charts#165
- Makes autoUpdate always present in case of classicfullstack mode + hooks are back by @0sewa0 in Dynatrace/helm-charts#154
Code Improvements
- Remove static manifests and replace with helm charts by @meik99 in #430
- Update config to work with v1beta1 changes by @0sewa0 in Dynatrace/helm-charts#143
- Remove duplicate label on webhook by @Dynatrace-Jeroen-Hautekeete in Dynatrace/helm-charts#166
- Updates roles according to main repo by @0sewa0 in Dynatrace/helm-charts#162
- Replaces deprecated logs annotation from webhook deployment by @0sewa0 in Dynatrace/helm-charts#161
Upgrading
The Operator's helm chart can be upgraded from the last version with,
helm repo remove dynatrace
helm repo add dynatrace https://raw.githubusercontent.com/Dynatrace/dynatrace-operator/master/config/helm/repos/stable
kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.4.0/dynatrace.com_dynakubes.yaml
helm upgrade dynatrace-operator dynatrace/dynatrace-operator --reuse-values --atomic --version="v0.4.0"
v0.3.0
Features
- Updated CRD version from
v1alpha1
tov1beta1
- Improved structure of the Custom Resource to simplify usage
- Added Conversion Webhook to migrate existing Dynakubes to the new version
- Added
ValidatingAdmissionWebhook
to verify correctness of newly applied Dynakubes
- Added new monitoring modes:
- (PREVIEW with
useCSIDriver: true
)applicationMonitoring
: webhook based injection mechanism for automatic-app-only injection - Added auto-detection of c runtime flavor
hostMonitoring
: only monitoring the host in the cluster without app-only injection- (PREVIEW)
cloudNativeFullStack
: combination ofhostMonitoring
andapplicationMonitoring
- existing monitoring mode, i.e.
classicFullStack
, will stay in place
- (PREVIEW with
- Improved ActiveGate support:
- Added new way of monitoring applications in different namespaces
- Per default, all namespaces (excluding system namespaces) are monitored
- Added configuration via
namespaceSelector
to limit to namespaces with specific labels
- (PREVIEW) Added CSI Driver for
applicationMonitoring
andcloudNativeFullStack
- Minimizes binary downloads (once per node, instead of once per pod)
- Can be enabled for
applicationMonitoring
viauseCSIDriver: true
- Mandatory for
cloudNativeFullStack
- Added script to troubleshoot common installation issues
Bug fixes
- Removed Beta affinity for Kubernetes >= 1.14
Other changes
- Changed
imagePullPolicy
forinitContainer
toIfNotPresent
(#299) - Changed deployment strategy for OneAgent Daemonset to
RollingUpdate
Upgrading
The Operator can be upgraded from v0.2.2
with,
# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.3.0/kubernetes.yaml
# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.3.0/openshift.yaml
If you want to use the PREVIEW features described above, install/upgrade via the following commands:
# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.3.0/kubernetes-csi.yaml
# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.3.0/openshift-csi.yaml
v0.2.2
Bug fixes
- Fixed a bug where the proxy setting was not properly passed when using immutable images (#213)
- Fixed a bug where the proxy setting was expected in the wrong field in the secret when provided via proxy.valueFrom (#218)
Other changes
- Removed PodSecurityPolicies since they got removed with Kubernetes 1.22 (#215)
- Updated the apiVersion of the CRD from v1beta1 to v1 since v1beta1 got removed with Kubernetes 1.22 (#216)
Upgrading
The Operator can be upgraded from 0.2.1 with,
# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.2.2/kubernetes.yaml
# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.2.2/openshift.yaml
# Openshift 3.11
$ oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.2.2/openshift3.11.yaml
v0.2.1
Bug fixes
- Fixed a bug where setting the resources for routing was not possible (#114)
Upgrading
The Operator can be upgraded from 0.2.0 with,
# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.2.1/kubernetes.yaml
# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.2.1/openshift.yaml