Dynatrace Oneagent Operator Versions Save

Kubernetes/Openshift Operator for managing Dynatrace OneAgent deployments

v0.10.2

2 years ago

Bug fixes

  • Fixed a bug where the proxy setting was not properly passed when using immutable images (#394)
  • Fixed a bug where the proxy value was not properly used in the Operator (#396)

Other changes

  • Removed PodSecurityPolicies since they got removed with Kubernetes 1.22 (#392)
  • Updated the apiVersion of the CRD from v1beta1 to v1 since v1beta1 got removed with Kubernetes 1.22 (#393)
  • Added a separate openshift3.11.yaml as release artifact to allow compatibility with deprecated apiVersions for the CRD (#395)

Upgrading

The Operator can be upgraded from 0.10.1 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.10.2/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.10.2/openshift.yaml

# Openshift 3.11
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.10.2/openshift3.11.yaml

v0.10.1

2 years ago

Other changes

  • Updated the Operator image to rely on the latest ubi-minimal base image (#389)

Upgrading

The Operator can be upgraded from 0.10.0 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.10.1/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.10.1/openshift.yaml

v0.10.0

3 years ago

Bug fixes

  • Don't look at the cluster version when deploying the OneAgent using immutable images. Under certain conditions this may stop the Operator from deploying the OneAgent at all (#376)
  • Upgrade OneAgent Pods using the immutable image by looking at the version label embedded on the images (#376)

Other changes

  • Upgrade to Operator SDK 1.3 (#351)
    • Use ConfigMaps for leases (#367)
  • Fix version and deployment instructions for dev builds (#379)

Upgrading

The Operator can be upgraded from 0.9.5 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.10.0/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.10.0/openshift.yaml

v0.9.5

3 years ago

Bug fixes

  • Adapted the update interval to only do the request very 15 minutes (#368)

Upgrading

The Operator can be upgraded from 0.9.4 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.5/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.5/openshift.yaml

v0.9.4

3 years ago

Bug fixes

  • Temporary files for the injection via webhook now get placed on an emptyDir to support readonlyFileSystems (#353)
  • ImagePullPolicy for install-oneagent container used by OneAgentAPM got changed to Always to allow updates (#358)
  • Nodes in a non-working state will not get added as empty entries to the init.sh script anymore (#359)
  • Querying for the Dynatrace cluster version will just be done per OneAgent resource when using the immutable image (#360)

Upgrading

The Operator can be upgraded from 0.9.2 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.4/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.4/openshift.yaml

v0.9.2

3 years ago

Features

  • Added property to change default C standard library (#341)

Bug fixes

  • Don't restart OneAgent Pods if OneAgent version has been downgraded and those Pods were already restarted (#339, #345)

Other changes

  • Updated the UBI-minimal base image from version 8.2 to 8.3 (#344)

Upgrading

The Operator can be upgraded from 0.9.0 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.2/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.2/openshift.yaml

v0.9.0

3 years ago

Features

  • Provide Prometheus metrics for the Operator pod on port 8080, and Webhook Pod on ports 8383 and 8484 (#305)
  • Control whether the init container crashes in case of download failures through the oneagent.dynatrace.com/failure-policy: fail Pod annotation, off by default (#288)
    • Regardless of the annotation, if the unzip operation fails, a file package.zip will be included on the target directory for debugging purposes.
  • Resource limits and requests for the OneAgentAPM initContainer are configurable on the .spec.resources field (#332)
  • Early Adopter: support full-stack OneAgent running on unprivileged mode (#324, #333)

Bug fixes

  • Logged errors when API token is missing on OneAgentAPM's secret (#298)
  • Fixed printing the name of the used token secret for OneAgent instances (311)
  • Fixed setting instances metadata when auto-update is disabled (#313)
  • Fixed logging problem - incorrect stackdriver severity on GCP (#318)

Other changes

  • Added support for immutable OneAgent images - waiting for support on Dynatrace cluster (#300, #286, #290, #301)
  • Added check if cluster and agent versions are compatible with immutable images (#314, #334)
  • Immutable image mode is disabled when a custom installer URL annotation is set, or .spec.useImmutableImage is false (#306)
  • Pod and node metadata added for the OneAgent (#294, #295, #308, #325, #326)
  • Code cleanup to remove unused functions, variables and beautify the code (#302)
  • Sped up TravisCI duration (#310, #312)
  • Upgrade to Go 1.15 (#310)
  • Add linter to TravisCI pipeline (#316)
  • App-only init container will log an warning when the full-stack OneAgent has been injected on it (#323)
  • Improve error message when OneAgentAPM is missing (#327)
  • Improve descriptions on cr.yaml example (#328)

Upgrading

The Operator can be upgraded from 0.8.2 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.0/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.9.0/openshift.yaml

Update 2020/11/05: openshift.yaml was pointing to Docker.io images, and it has been updated back to RHCC.

v0.8.2

3 years ago

Bug fixes

  • Reworked update mechanism to prevent downgrades (#320)

Upgrading

The Operator can be upgraded from 0.8.1 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.8.2/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.8.2/openshift.yaml

v0.8.1

3 years ago

Features

  • Publish Operator stable images also to Quay (#304)

Bug fixes

  • Update status of OneAgentAPM if token is missing (#285, #287)
  • Marked for termination events are now sent when a node is deleted, or when it's cordoned, and then periodically after each hour while in that state (#279, #303)
  • Operator was updating the DaemonSet even if there were no changes (#289)
  • Secret for the webhook TLS certificates not updated on renewal, causing renewals every 5 minutes (#297)

Upgrading

The Operator can be upgraded from 0.8.0 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.8.1/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.8.1/openshift.yaml

v0.8.0

3 years ago

New: Kubernetes Webhook for OneAgent injection on application-only mode

This automates the deployment of Dynatrace's application-only injection at container runtime, including a new init container, and other required configuration.

For this feature, we've also added a new Custom Resource Definition, OneAgentAPM, where you can configure the tenant and credentials to use for the injection.

The feature can be enabled by creating an OneAgentAPM object, and then adding a label oneagent.dynatrace.com/instance: <OneAgentAPM object name> to each namespace you want to monitor. All Pods created from now on that belong to those namespaces will now be processed by Operator webhook.

The Operator will:

  • Add an initContainer to each Pod to be monitored, in charge of downloading the OneAgent app-only package.
  • Configure the required environment variables and volumes on each container for them to have injection.
  • Replicate the credentials to monitored namespaces, so that they are available for the initContainer.

Changelog

Features

  • Implement webhook to inject the OneAgent in App-only mode (#234, #237, #239, #250)
    • This feature can be enabled by setting the label oneagent.dynatrace.com/instance: <oneagentapm-object-name> on the namespaces to monitor.
    • CA and server certificates are generated for the webhook by the Operator, and renewed automatically after 365 and 7 days, respectively (#244)
    • OneAgent app-only package and logs will be stored on /opt/dynatrace/oneagent-paas inside the containers by default. It can be configured with the oneagent.dynatrace.com/install-path annotation on Pods (#251)
    • OneAgent app-only package will be downloaded from the provided tenant by default. It can be configured with the oneagent.dynatrace.com/installer-url annotation on Pods (#258, #264)
    • Certificates location can be configured on the webhook server with the --certs-dir, --cert, and --cert-key command line arguments (#261)
  • Added a setting to configure a NetworkZone via the CR (#270)

Bug fixes

  • Phase now gets set to 'Deploying' while the OneAgent gets updated (#267)

Other changes

  • Removed kubernetes.yaml and openshift.yaml from master and generate them with kustomize instead (#238, #254)
  • Updated the Go version from 1.13 to 1.14 (#242)
  • Updated the Operator SDK version from 0.15.0 to 0.17.0 (#243)
  • The different operator and webhook modes are encapsulated in a single binary (#252, #253)
  • Webhook's init container only downloads 64bits package (#256)
  • Include Service and MutatingWebhookConfiguration objects in manifests (#262, #266)
  • Upgrade base image to ubi-minimal:8.2 (#255)
  • Include Operator version as a custom property for hosts (#212)
  • Ignore hosts that haven't been seen in the last 30 minutes when looking for hosts (#271, #257)
  • Adjust permissions for the webhook (#263)
  • Refactor workflow from OneAgent controller (#268)
  • Automatically update conditions if migrating from earlier Operator versions (#269)
  • Remove unused metadata from webhook-injected Pods (#272)
  • Changes in preparation for v0.8.0 release (#273, #274)

Upgrading

The Operator can be upgraded from 0.7.1 with,

# Kubernetes
$ kubectl apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.8.0/kubernetes.yaml

# Openshift
$ oc apply -f https://github.com/Dynatrace/dynatrace-oneagent-operator/releases/download/v0.8.0/openshift.yaml