Create a configuration for your SQL based extension executing on Kubernetes.
The following database types are supported, both as official Dynatrace Hub extensions and as custom extensions:
A DynaKube with SQL extensions enabled (.spec.extensions.databases) and all pods in a healthy state. For setup instructions, see Enable Dynatrace SQL database extensions.
Dynatrace version 1.346+.
SQL Extension Executor 1.345+.
Extension Execution Controller 1.345+.
If you deploy a custom extension signed with your own certificate, configure the signing certificate in DynaKube before deploying the extension.
See Custom extension signing certificates and customExtensionCertificates in the DynaKube parameters reference.
Latest Dynatrace
Open
Extensions and select the extension you want to run.
Select Add configuration.
Select Kubernetes.
Set Executor ID to the executor group ID defined in your DynaKube manifest (see .spec.extensions.databases).
Choose how to target Kubernetes clusters:
Target a single cluster—enable the Use single cluster toggle. A searchable list of available Kubernetes clusters appears. Select the cluster you want to target.

Target clusters by pattern—leave the Use single cluster toggle disabled. Select Add cluster name pattern and enter a pattern (for example, *production*). The extension runs on all clusters whose name matches the pattern, including clusters connected in the future.

Select Next and provide database endpoints and authentication parameters. Once you save the configuration, Dynatrace attempts to run the extension on the targeted Kubernetes cluster. Allow a few minutes for the configuration to take effect, then verify the result on the Health tab.
Use the Extensions API to create a monitoring configuration programmatically:
POST /platform/extensions/v2/extensions/{extension-name}/monitoring-configurations
The following example creates a PostgreSQL monitoring configuration targeting your SQL Extension Executor on Kubernetes:
[{"scope": "kubernetes","value": {..."activationContext": "CONTAINER","isSingleClusterConfiguration": true,"kubernetesClusterId": "<cluster-id>","executorId": "default","sqlPostgresContainer": {"endpoints": [ ... ]}}}]
The content of the activation JSON varies based on the extension version, enabled features, and other conditions. For the most up-to-date example with all supported fields, download an example from an existing monitoring configuration in your environment.
Size the Extension Execution Controller and SQL Extension Executor pods on Kubernetes using recommended resource profiles and scaling strategies.
Provide custom JDBC driver JARs to SQL Extension Executor pods on Kubernetes using a custom container image or a mounted volume.
Provide TLS certificates to SQL Extension Executor pods on Kubernetes by mounting individual certificate files or a pre-built PKCS12 truststore.
Configure SQL Extension Executor pods to use mounted files for credentials, keeping sensitive data out of Dynatrace and enabling zero-downtime updates.
Learn how the Extension Execution Controller enriches extension signals with Kubernetes pod metadata based on the target endpoint's IP address.
Diagnose and resolve common issues with SQL Extension Executor and Extension Execution Controller pods running on Kubernetes.
Extensions