Add a custom properties file
As part of getting started with Kubernetes monitoring, you might want to add a custom properties file.
You can add a custom properties file by providing it as a value or by referencing it from a secret.
Add the custom properties file as a value
To add the custom properties file as a value, see the example below.
1customProperties:2 value: |3 [kubernetes_monitoring]4 ...
Reference the custom properties file from a secret
Create a secret with the following content.
The content of the secret has to be
base64encoded in order to work.1apiVersion: v12kind: Secret3metadata:4name: <customproperties-secret>5namespace: dynatrace6data:7customProperties: <base64 encoded properties>
Add the secret to the custom properties.1customProperties:2 valueFrom: <customproperties-secret>