Skip to content

Instantly share code, notes, and snippets.

@mreider
Last active March 19, 2021 10:13
Show Gist options
  • Save mreider/13f99ff2fe11047a255d397381da004c to your computer and use it in GitHub Desktop.
Save mreider/13f99ff2fe11047a255d397381da004c to your computer and use it in GitHub Desktop.

Global parameters

Parameter Description Default value
apiUrl {{versiontag 'Required'}} Dynatrace apiUrl including the /api path at the end.
- For SaaS, set YOUR_ENVIRONMENT_ID to your environment ID.
- For Managed, change the apiUrl address.
For instructions on how to determine the environment ID and how to configure the apiUrl address, see [Environment ID]({{link_to_id id='environment-id'}}).
tokens {{versiontag 'Optional'}} Name of the secret holding the API and PaaS tokens. Name of custom resource (.metadata.name) if unset
skipCertCheck {{versiontag 'Optional'}} Disable certificate check for the connection between Dynatrace Operator and the Dynatrace cluster.
Set to true if you want to skip any certification validation checks.
false
proxy {{versiontag 'Optional'}} Set custom proxy settings either directly or from a secret with the field proxy.
Note: Only the Dynatrace Operator traffic runs through this proxy, the ActiveGate traffic doesn't.
trustedCAs {{versiontag 'Optional'}} Adds custom RootCAs from a configmap.
Note: Applies only to Dynatrace Operator, not to ActiveGate.
networkZone {{versiontag 'Optional'}} Sets a network zone for the ActiveGate pods.
customPullSecret {{versiontag 'Optional'}} Defines a custom pull secret in case you use a private registry when pulling images from the Dynatrace environment.
enableIstio {{versiontag 'Optional'}} when enabled, and if Istio is installed on the Kubernetes environment, the Operator will create the corresponding VirtualService and ServiceEntry objects to allow access to the Dynatrace cluster from the agent or the ActiveGate. Disabled by default. false

OneAgent parameters

Parameter Description Default value
oneAgent.version {{versiontag 'Optional'}} The OneAgent version to be used when useImmutableImage is enabled. The latest version is used by default.
oneAgent.image {{versiontag 'Optional'}} Use a custom OneAgent Docker image. Defaults to docker.io/dynatrace/oneagent in Kubernetes and registry.connect.redhat.com/dynatrace/oneagent in OpenShift.
oneAgent.autoupdate {{versiontag 'Optional'}} Disables automatic restarts of OneAgent pods in case a new version is available. True by default. true

Classic Full Stack Observability parameteres

Parameter Description Default value
classicFullStack.enabled {{versiontag 'Required'}} Enables classic OneAgent monitoring. true
classicFullStack.nodeSelector {{versiontag 'Optional'}} Specify the node selector that controls on which nodes OneAgent will be deployed.
classicFullStack.tolerations {{versiontag 'Optional'}} Tolerations to include with the OneAgent DaemonSet.
For details, see Taints and Tolerations.
classicFullStack.resources {{versiontag 'Optional'}} Resource settings for OneAgent container. Consumption of the OneAgent heavily depends on the workload to monitor; please adjust values accordingly.
classicFullStack.args {{versiontag 'Optional'}} Set additional arguments to the OneAgent installer.
For available options, see Linux custom installation.
For the list of limitations, see Limitations.
"--set-app-log-content-access=true"
classicFullStack.env {{versiontag 'Optional'}} Set additional environment variables to the OneAgent pods.
classicFullStack.priorityClassName {{versiontag 'Optional'}} Assign a priority class to the OneAgent pods. By default no class is set.
For details, see Pod Priority and Preemption.%7C priority-class
classicFullStack.dnsPolicy {{versiontag 'Optional'}} Set the DNS Policy for OneAgent pods.
For details, see Pods DNS Policy.
ClusterFirstWithHostNet
classicFullStack.serviceAccountName {{versiontag 'Optional'}} The name of the ServiceAccount to assign to the OneAgent pods. "dynatrace-oneagent"
classicFullStack.labels {{versiontag 'Optional'}} Your defined labels for OneAgent pods in order to structure workloads as desired.
classicFullStack.useUnprivilegedMode {{versiontag 'Optional'}} When enabled, the OneAgent pods will run as unprivileged. Enabled by default. true
classicFullStack.useImmutableImage {{versiontag 'Optional'}} When enabled, the Operator will use the immutable image from the Dynatrace environment or from your custom registry, otherwise an installer image is used. Disabled by default. false

ActiveGate parameters

Parameter Description Default value
activeGate.image {{versiontag 'Optional'}} Configuration for ActiveGate instances; to use a custom ActiveGate Docker image.

Kubernetes API Monitoring parameters

Parameter Description Default value
kubernetesMonitoring.enabled {{versiontag 'Required'}} Enable Kubernetes monitoring functionality. true
kubernetesMonitoring.replicas {{versiontag 'Optional'}} Amount of replicas of ActiveGate pods. 1
kubernetesMonitoring.tolerations {{versiontag 'Optional'}} Tolerations to include with the ActiveGate StatefulSet.
For details, see Taints and Tolerations.
kubernetesMonitoring.nodeSelector {{versiontag 'Optional'}} Node selector to control on which nodes the OneAgent will be deployed. {}
kubernetesMonitoring.resources {{versiontag 'Optional'}} Resource settings for ActiveGate container. Consumption of the ActiveGate heavily depends on the workload to monitor; please adjust values accordingly.
kubernetesMonitoring.labels {{versiontag 'Optional'}} Your defined labels for ActiveGate pods in order to structure workloads as desired.
kubernetesMonitoring.args {{versiontag 'Optional'}} Set additional arguments to the ActiveGate pods.
kubernetesMonitoring.env {{versiontag 'Optional'}} Set additional environment variables to the ActiveGate pods.
kubernetesMonitoring.group {{versiontag 'Optional'}} Set activation group for ActiveGate.
kubernetesMonitoring.customProperties {{versiontag 'Optional'}} Add a custom properties file by providing it as a value or reference it from a secret.
Note: if referenced from a secret, make sure the key is called customProperties.

Metric routing parameters

Parameter Description Default value
routing.enabled {{versiontag 'Required'}} Enable metric routing (I am not sure WHAT ELSE can go here...). true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment