forked from martinnirtl/otel-demo
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdynakube.yaml
193 lines (163 loc) · 6.8 KB
/
dynakube.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
apiVersion: v1
data:
apiToken: ZHQwYzAxLkZaV01OVTVFWk5KRU5BVDVKWEg0T1dSNC5QTkROUzJQUkVNTTRUTzVCRFBHV0dSRk1PTjRIT1JCREdYRU9HQVpQSEtDWFZTWFFLUkdPQTRRVTZUNkRYWlRO
dataIngestToken: ZHQwYzAxLlYyV0JWSk9XQU5MSlRSMlVBQVczVjdKUi5DQklDSUpITElSVVc0QlZHV0tPMlVKQUk2R05XV0ZWS1gzVEZURkQyTzNRNEtaUFFPSUdHNE1GSVRSM0RLQVg3
kind: Secret
metadata:
name: minikube-observability
namespace: dynatrace
type: Opaque
---
apiVersion: dynatrace.com/v1beta1
kind: DynaKube
metadata:
name: minikube-observability
namespace: dynatrace
annotations:
alpha.operator.dynatrace.com/feature-automatic-kubernetes-api-monitoring: "true"
spec:
# Dynatrace apiUrl including the `/api` path at the end.
# For SaaS, set `YOUR_ENVIRONMENT_ID` 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://cpm50854.live.dynatrace.com/api
# Optional: name of secret holding `apiToken` and `paasToken`
# If unset, name of custom resource is used
#
# tokens: ""
# 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: https://my-proxy-url.com
# valueFrom: name-of-my-proxy-secret
# Optional: Adds custom RootCAs from a configmap
#
# 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
networkZone: laboratorio
# 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: when enabled, and if Istio is installed on the Kubernetes environment, then the
# Operator will create the corresponding VirtualService and ServiceEntry objects to allow access
# to the Dynatrace cluster from the agent or the activeGate. Disabled by default.
#
# enableIstio: false
oneAgent:
# Optional: enable classic fullstack monitoring and change its settings
# Cannot be used in conjunction with cloud-native fullstack monitoring, application-only monitoring or host monitoring
classicFullStack:
# Optional: If specified, indicates the OneAgent version to use
# Defaults to latest
#
# version:
# Optional: to use a custom OneAgent Docker image. Defaults to docker.io/dynatrace/oneagent in
# Kubernetes and registry.connect.redhat.com/dynatrace/oneagent in OpenShift, if deployed via CSV
# image: ""
# Optional: node selector to control on which nodes the OneAgent will be deployed.
#
# nodeSelector: {}
# Optional: priority class to assign to the OneAgent Pods. By default no class is set.
# See more here: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
#
# priorityClassName: priority-class
# Optional: tolerations to include with the OneAgent DaemonSet.
# See more here: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
# Optional: resource settings for OneAgent container. Consumption of the OneAgent heavily depends
# on the workload to monitor; please adjust values accordingly.
#
# oneAgentResources:
# requests:
# cpu: 100m
# memory: 512Mi
# limits:
# cpu: 300m
# memory: 1.5Gi
# Optional: disables automatic restarts of OneAgent pods in case a new version is available. True
# by default.
#
# autoUpdate: true
# Optional: DNS Policy for OneAgent pods. Defaults to ClusterFirstWithHostNet.
# See more: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
#
# dnsPolicy: "ClusterFirstWithHostNet"
# Optional: labels are customer defined labels for OneAgent Pods to structure workloads as desired.
#
# labels:
# custom: label
# Optional: additional environment variables to add to the OneAgent Pods.
#
# env: []
env:
- name: ONEAGENT_ENABLE_VOLUME_STORAGE
value: "false"
# Optional: arguments to add to the OneAgent installer.
# Available options: https://www.dynatrace.com/support/help/shortlink/linux-custom-installation
# Limitations: https://www.dynatrace.com/support/help/shortlink/oneagent-docker#limitations
#
# args: []
args:
- --set-host-group="laboratorio"
# Configuration for ActiveGate instances.
activeGate:
# Enables listed ActiveGate capabilities
capabilities:
- routing
- kubernetes-monitoring
# Optional: to use a custom ActiveGate Docker image.
# image: ""
# Amount of replicas of ActiveGate pods
#
# replicas: 1
# Optional: tolerations to include with the ActiveGate StatefulSet.
# See more here: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
#
# tolerations:
# - effect: NoSchedule
# key: node-role.kubernetes.io/master
# operator: Exists
# Optional: node selector to control on which nodes the ActiveGate will be deployed.
#
# nodeSelector: {}
# Optional: resource settings for ActiveGate container. Consumption of the ActiveGate heavily depends
# on the workload to monitor; please adjust values accordingly.
#
# Suggested starting point for resources below:
#
# resources:
# requests:
# cpu: 150m
# memory: 250M
# limits:
# cpu: 300m
# memory: 1G
# Optional: labels are customer defined labels for ActiveGate Pods to structure workloads as desired.
#
# labels:
# custom: label
# Optional: additional environment variables to add to the ActiveGate Pods.
#
# env: []
# Optional: Set activation group for ActiveGate
#
# group: ""
group: laboratorio
# Optional: Add a custom properties file by providing it as a value or reference it from a secret
# If referenced from a secret, make sure the key is called 'customProperties'
#
# customProperties:
# value: |
# [connectivity]
# networkZone=
# valueFrom: myCustomPropertiesConfigMap