-
Notifications
You must be signed in to change notification settings - Fork 1k
/
NOTES.txt
194 lines (152 loc) · 9.83 KB
/
NOTES.txt
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
{{- if (or (.Values.datadog.apiKeyExistingSecret) (not (eq .Values.datadog.apiKey "<DATADOG_API_KEY>"))) }}
Datadog agents are spinning up on each node in your cluster. After a few
minutes, you should see your agents starting in your event stream:
https://app.datadoghq.com/event/stream
{{- if .Values.datadog.apiKeyExistingSecret }}
You disabled creation of Secret containing API key, therefore it is expected
that you create Secret named '{{ .Values.datadog.apiKeyExistingSecret }}' which includes a key called 'api-key' containing the API key.
{{- else if not (eq .Values.datadog.apiKey "<DATADOG_API_KEY>") }}
{{- end }}
{{- if (and .Values.datadog.securityAgent.runtime.enabled (not .Values.datadog.systemProbe.enabled)) }}
##############################################################################
#### NOTE: Configuration notice. ####
##############################################################################
You enabled runtime security features in the SecurityAgent but the System Probe is not explicitly enabled.
The System Probe will be enabled as required by these features. Please make sure this is expected for your configuration.
{{- end }}
{{- else }}
##############################################################################
#### ERROR: You did not set a datadog.apiKey. ####
##############################################################################
This deployment will be incomplete until you get your API key from Datadog.
One can sign up for a free Datadog trial at https://app.datadoghq.com/signup
Once registered you can request an API key at:
https://app.datadoghq.com/account/settings#agent/kubernetes
Then run:
helm upgrade {{ .Release.Name }} \
--set datadog.apiKey=YOUR-KEY-HERE stable/datadog
{{- end }}
{{- $healthPort := .Values.agents.containers.agent.healthPort }}
{{- with $liveness := .Values.agents.containers.agent.livenessProbe.httpGet }}
{{- if and $liveness.port (ne $healthPort $liveness.port) }}
##############################################################################
#### ERROR: Node Agent liveness probe misconfiguration ####
##############################################################################
Node Agent liveness probe port ({{ $liveness.port }}) is different from the configured health port ({{ $healthPort }}).
{{- end }}
{{- end }}
{{- with $readiness := .Values.agents.containers.agent.readinessProbe.httpGet }}
{{- if and $readiness.port (ne $healthPort $readiness.port) }}
##############################################################################
#### ERROR: Node Agent readiness probe misconfiguration ####
##############################################################################
Node Agent readiness probe port ({{ $readiness.port }}) is different from the configured health port ({{ $healthPort }}).
{{- end }}
{{- end }}
{{- if .Values.clusterAgent.enabled }}
{{- if .Values.clusterAgent.metricsProvider.enabled }}
{{- if .Values.datadog.appKeyExistingSecret }}
You disabled creation of Secret containing APP key, therefore it is expected
that you create a Secret named '{{ .Values.datadog.appKeyExistingSecret }}' which includes a key called 'app-key' containing the APP key.
{{- else if (.Values.datadog.appKey) }}
{{- else }}
##############################################################################
#### ERROR: You did not set a datadog.appKey. ####
##############################################################################
This deployment will be incomplete until you get your APP key from Datadog.
Create an application key at https://app.datadoghq.com/account/settings#api
{{- end }}
{{- end }}
{{- $healthPort := .Values.clusterAgent.healthPort }}
{{- with $liveness := .Values.clusterAgent.livenessProbe.httpGet }}
{{- if and $liveness.port (ne $healthPort $liveness.port) }}
##############################################################################
#### ERROR: Cluster Agent liveness probe misconfiguration ####
##############################################################################
Cluster Agent liveness probe port ({{ $liveness.port }}) is different from the configured health port ({{ $healthPort }}).
{{- end }}
{{- end }}
{{- with $readiness := .Values.clusterAgent.readinessProbe.httpGet }}
{{- if and $readiness.port (ne $healthPort $readiness.port) }}
##############################################################################
#### ERROR: Cluster Agent readiness probe misconfiguration ####
##############################################################################
Cluster Agent readiness probe port ({{ $readiness.port }}) is different from the configured health port ({{ $healthPort }}).
{{- end }}
{{- end }}
{{- if and .Values.datadog.clusterChecks.enabled .Values.clusterChecksRunner.enabled }}
{{- $healthPort := .Values.clusterChecksRunner.healthPort }}
{{- with $liveness := .Values.clusterChecksRunner.livenessProbe.httpGet }}
{{- if and $liveness.port (ne $healthPort $liveness.port) }}
#####################################################################################
#### ERROR: Cluster Checks Runner liveness probe misconfiguration ####
#####################################################################################
Cluster Checks Runner liveness probe port ({{ $liveness.port }}) is different from the configured health port ({{ $healthPort }}).
{{- end }}
{{- end }}
{{- with $readiness := .Values.clusterChecksRunner.readinessProbe.httpGet }}
{{- if and $readiness.port (ne $healthPort $readiness.port) }}
#####################################################################################
#### ERROR: Cluster Checks Runner readiness probe misconfiguration ####
#####################################################################################
Cluster Checks Runner readiness probe port ({{ $readiness.port }}) is different from the configured health port ({{ $healthPort }}).
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.datadog.apm.enabled }}
{{- $apmPort := .Values.datadog.apm.port }}
{{- with $liveness := .Values.agents.containers.traceAgent.livenessProbe.tcpSocket }}
{{- if and $liveness.port (ne $apmPort $liveness.port) }}
##############################################################################
#### ERROR: Trace Agent liveness probe misconfiguration ####
##############################################################################
Trace Agent liveness probe port ({{ $liveness.port }}) is different from the configured APM port ({{ $apmPort }}).
{{- end }}
{{- end }}
The Datadog Agent is listening on port {{ $apmPort }} for APM service.
{{- end }}
{{- if .Values.datadog.autoconf }}
#################################################################
#### WARNING: Deprecation notice ####
#################################################################
The autoconf value is deprecated, Autodiscovery templates can now
be safely moved to the confd value. As a temporary measure, both
values were merged into the {{ template "datadog.fullname" . }}-confd configmap,
but this will be removed in a future chart release.
Please note that duplicate file names may have conflicted during
the merge. In that case, the confd entry will take precedence.
{{- end }}
{{- if eq .Values.agents.image.repository "datadog/docker-dd-agent" }}
######################################################################
#### ERROR: Unsupported agent version ####
######################################################################
This version of the chart does not support deploying Agent 5.x.
If you cannot upgrade to Agent 6.x or later, you can use a previous version
of the chart by calling helm install with `--version 0.18.0`.
{{- end }}
{{- if .Values.agents.podSecurity.securityContext }}
#################################################################
#### WARNING: Deprecation notice ####
#################################################################
You are using the datadog.podSecurity.securityContext parameter, which has been renamed datadog.podSecurity.seLinuxContext.
This version still supports datadog.podSecurity.securityContext, but it will be removed in the next major version of our Helm chart.
More information about this change: https://github.com/DataDog/helm-charts/pull/46
{{- end }}
{{- if or .Values.agents.networkPolicy.create .Values.clusterAgent.networkPolicy.create .Values.clusterChecksRunner.networkPolicy.create }}
#################################################################
#### WARNING: Deprecation notice ####
#################################################################
You are using the agents.networkPolicy.create, the clusterAgent.networkPolicy.create or the clusterChecksRunner.networkPolicy.create parameter,
which have been replaced by datadog.networkPolicy.create.
This version still supports agents.networkPolicy.create, clusterAgent.networkPolicy.create and clusterChecksRunner.networkPolicy.create,
but they will be removed in the next major version of our Helm chart.
More information about this change: https://github.com/DataDog/helm-charts/pull/99
{{- end }}
{{- if .Values.datadog.systemProbe.enabled }}
#################################################################
#### WARNING: Deprecation notice ####
#################################################################
You are using datadog.systemProbe.enabled which has been deprecated in favor using one of networkMonitoring.enabled, systemProbe.enableTCPQueueLength, systemProbe.enableOOMKill, or securityAgent.runtime.enabled.
More information about this change: https://github.com/DataDog/helm-charts/pull/101
{{- end }}