This is a Kubernetes operator that can deploy Dynatrace OneAgent extensions to a kubernetes cluster.
This is specially useful when you have a lot of nodes, or does not have access to the underlying host (GKE for instance)
⚠️ Not supported: This project is not supported by Dynatrace, it is a personal project, use at your own risk.⚠️
Install the operator with
kubectl apply -f https://github.com/dlopes7/dynatrace-extensions-operator/releases/download/v0.0.1/crd.yaml
You can obtain a sample extensions definition here:
Example:
curl -o extensions.yaml https://raw.githubusercontent.com/dlopes7/dynatrace-extensions-operator/master/config/samples/extensions.yaml
Edit the file to include to the extensions you would like to deploy
apiVersion: dynatrace.com/v1alpha1
kind: Extension
metadata:
name: extensions-sample
namespace: dt-extensions
spec:
extensions:
- name: rabbitmq
downloadLink: http://192.168.15.101:5656/custom.python.rabbitmq_kubernetes.zip
- name: redis
downloadLink: http://192.168.15.101:5656/custom.python.redis_kubernetes.zip
Deploy the operator with:
kubectl apply -f extensions.yaml
This will create a DaemonSet that guarantees the extensions will be deployed to all nodes
- Deploy only for nodes where the OneAgent already exists
- Maybe have a public repository with some extensions as an example