Skip to content

Instantly share code, notes, and snippets.

@mreider
Created August 9, 2023 09:20
Show Gist options
  • Save mreider/5d62673cc32823c884fa52605d870724 to your computer and use it in GitHub Desktop.
Save mreider/5d62673cc32823c884fa52605d870724 to your computer and use it in GitHub Desktop.
Simple Dynakube with namespace selector
apiVersion: dynatrace.com/v1beta1
kind: DynaKube
metadata:
name: dynakube
namespace: dynatrace
spec:
apiUrl: (your Dynatrace environment URL)
namespaceSelector:
matchLabels:
monitoring: dynatrace
oneAgent:
cloudNativeFullStack:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Exists
activeGate:
capabilities:
- routing
- kubernetes-monitoring
- dynatrace-api
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 1000m
memory: 1.5Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment