forked from Dynatrace/dynatrace-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplicationMonitoring.yaml
201 lines (174 loc) · 7.54 KB
/
applicationMonitoring.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
apiVersion: dynatrace.com/v1beta1
kind: DynaKube
metadata:
name: dynakube
namespace: dynatrace
spec:
# Dynatrace apiUrl including the `/api` path at the end.
# For SaaS, set `ENVIRONMENTID` 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 https://www.dynatrace.com/support/help/reference/dynatrace-concepts/environment-id/.
apiUrl: https://ENVIRONMENTID.live.dynatrace.com/api
# Optional: Name of the secret holding the credentials required to connect to the Dynatrace tenant
# If unset, the name of this custom resource is used
#
# tokens: ""
# Optional: Defines a custom pull secret in case you use a private registry when pulling images from the dynatrace environment
# The secret has to be of type 'kubernetes.io/dockerconfigjson' (see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)
#
# customPullSecret: "custom-pull-secret"
# Optional: Disable certificate validation checks for installer download and API communication
#
# skipCertCheck: false
# Optional: Set custom proxy settings either directly or from a secret with the field 'proxy'
#
# proxy:
# value: my-proxy-url.com
# valueFrom: name-of-my-proxy-secret
# Optional: Adds custom RootCAs from a configmap
# The key to the data must be "certs"
# This property only affects certificates used to communicate with the Dynatrace API.
# The property is not applied to the ActiveGate
#
# trustedCAs: name-of-my-ca-configmap
# Optional: Sets Network Zone for OneAgent and ActiveGate pods
# Make sure networkZones are enabled on your cluster before (see https://www.dynatrace.com/support/help/setup-and-configuration/network-zones/network-zones-basic-info/)
#
# networkZone: name-of-my-network-zone
# Optional: If 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 agents or activeGates. Disabled by default.
#
# enableIstio: false
# The namespaces which should be injected into
# If unset, all namespace will be injected into
# namespaceSelector has no effect on hostMonitoring or classicFullstack
# For examples regarding namespaceSelectors, see https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#resources-that-support-set-based-requirements
#
# namespaceSelector:
# matchLabels:
# app: my-app
# matchExpressions:
# - key: app
# operator: In
# values: [my-frontend, my-backend, my-database]
# Configuration for OneAgent instances
#
oneAgent:
# Enables application-only monitoring and changes its settings
# Cannot be used in conjunction with cloud-native fullstack monitoring, classic fullstack monitoring or host monitoring
#
applicationMonitoring:
# Optional: If specified, indicates the OneAgent version to use
# Defaults to "latest"
# The version is expected to be provided in the semver format
# Example: {major.minor.release}, e.g., "1.200.0"
#
# version:
# Optional: If you want to use CSIDriver; disable if your cluster does not have 'nodes' to fall back to the volume approach.
# Defaults to false
#
useCSIDriver: false
# Optional: The URI of the image that contains the codemodules specific OneAgent that will be injected into pods and applications.
# For an example of a Dockerfile creating such an image, see https://dt-url.net/operator-docker-samples
#
# codeModulesImage: ""
# Optional: Defines resources requests and limits for the initContainer
# See more: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers
#
# initResources:
# requests:
# cpu: 100m
# memory: 512Mi
# limits:
# cpu: 300m
# memory: 1.5Gi
# Configuration for ActiveGate instances.
#
activeGate:
# Specifies which capabilities will be enabled on ActiveGate instances
# The following capabilities can be set:
# - routing
# - kubernetes-monitoring
# - metrics-ingest
# - dynatrace-api
#
capabilities:
- routing
- kubernetes-monitoring
- dynatrace-api
# Optional: Sets the image used to deploy ActiveGate instances
# Defaults to the latest ActiveGate image on the tenant's registry
# Example: "ENVIRONMENTID.live.dynatrace.com/linux/activegate:latest"
#
image: ""
# Optional: Sets how many ActiveGate pods are spawned by the StatefulSet
# Defaults to "1"
#
# replicas: 1
# Optional: Specifies tolerations to include with the ActiveGate StatefulSet.
# For more information on tolerations, see https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
#
# tolerations:
# - effect: NoSchedule
# key: node-role.kubernetes.io/master
# operator: Exists
# Optional: Sets a node selector to control on which nodes the ActiveGate will be deployed.
# For more information on node selectors, see https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/
#
# nodeSelector: {}
# Optional: Specifies resource settings for ActiveGate instances
# Consumption of the ActiveGate heavily depends on the workload to monitor
# The values should be adjusted according to the workload
#
resources:
requests:
cpu: 500m
memory: 512Mi
limits:
cpu: 1000m
memory: 1.5Gi
# Optional: Adds custom labels to ActiveGate pods
# Can be used to structure workloads
#
# labels:
# custom: label
# Optional: Adds custom environment variables to ActiveGate pods
#
# env: []
# Optional: Sets the activation group for ActiveGate instances
#
# group: ""
# Optional: Defines a custom properties file providing either as a value or as a reference to a secret
# If a reference to a secret is used, the key to the data must be 'customProperties'
#
# customProperties:
# value: |
# [connectivity]
# networkZone=
# valueFrom: myCustomPropertiesConfigMap
# Optional: Specifies the name of a secret containing a TLS certificate, a TLS key and the TLS key's password to be used by ActiveGate instances
# If unset, a self-signed certificate is used
# The secret is expected to have the following key-value pairs
# server.p12: TLS certificate and TLS key pair in pkcs12 format
# password: passphrase to decrypt the TLS certificate and TLS key pair
#
# tlsSecretName: "my-tls-secret"
# Optional: Sets the DNS Policy for ActiveGate pods
# Defaults to "Default"
# For more information on DNS policies, see https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
#
# dnsPolicy: "Default"
# Optional: Specifies the priority class to assign to the ActiveGate Pods
# No class is set by default
# For more information on priority classes, see https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
#
# priorityClassName: priority-class
# Optional: Adds custom annotations to ActiveGate pods
#
# annotations:
# custom: annotation
# Optional: Adds TopologySpreadConstraints to the ActiveGate pods
# For more information on TopologySpreadConstraints, see https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
#
# topologySpreadConstraints: []