238 Commits
Author SHA1 Message Date
Matt FarinaandGitHub dc7e5997de Revert "Updating to new repo locations (#24419)" (#24420)
This reverts commit e2ecc4d816.
2020-11-13 18:28:12 -05:00
Matt FarinaandGitHub e2ecc4d816 Updating to new repo locations (#24419)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 18:21:11 -05:00
Matt FarinaandGitHub 4a04b6f964 Removed old owners files (#24416)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 17:06:05 -05:00
Vincent BoulineauandGitHub 67e3d9f574 Deprecate stable/datadog (#23384)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-08-05 10:34:29 -07:00
Vincent BoulineauandGitHub d6da827531 [stable/datadog] Fix metricsProvider port with Kubernetes <= 1.14 (#23358)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-07-27 14:19:07 -07:00
Xavier LucasandGitHub 4d69d73c2e [stable/datadog] Update README (#23334)
* Correct default values

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Bump version

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>
2020-07-27 05:16:19 -07:00
Julio GreffandGitHub 13d9e696aa [stable/datadog] Propagate custom check definitions to CLC Runners (#23139)
It's already possible to define `checksd` and in the Agent config, but
those options are not propagated to the Clusterchecks Runner. As a
runner is basically an agent, we're just reusing the same configuration.

Signed-off-by: Julio Greff <julio.greff@datadoghq.com>
2020-07-27 01:52:17 -07:00
09afc28910 [stable/datadog] Add support of DD_CONTAINER_{INCLUDE,EXCLUDE}_{METRICS,LOGS} (#23336)
* Update README.md

2 properties marked as deprecated here https://docs.datadoghq.com/agent/docker/?tab=standard

Signed-off-by: Igor_Sychev <Igor_Sychev@epam.com>

* [stable/datadog] Add support of DD\_CONTAINER\_{INCLUDE,EXCLUDE}\_{METRICS,LOGS}

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

Co-authored-by: SychevIgor <SychevIgor@users.noreply.github.com>
2020-07-24 09:28:23 -07:00
Hasan MahmoodandGitHub 8e234d655c Adding NET_BROADCAST for system-probe capabilities (#23323)
Signed-off-by: Hasan Mahmood <hasan.mahmood@datadoghq.com>
2020-07-24 03:22:21 -07:00
Vincent BoulineauandGitHub cb51173a85 Bump Agent version following 7.21 release (#23321)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-07-23 06:51:40 -07:00
Ahmed MezghaniandGitHub 9e5938fe87 support admission controller (#23064)
Signed-off-by: Ahmed Mezghani <ahmed.mezghani@outlook.com>
2020-07-20 05:10:51 -07:00
Vincent BoulineauandGitHub 72e746707d Add support for scaling on DatadogMetrics (#23063)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-07-20 03:36:50 -07:00
Cedric LamoriniereandGitHub ae5f7d19e7 [stable/datadog] Add podSecurity.securityContext (#23233)
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-07-17 03:37:01 -07:00
Vincent BoulineauandGitHub 1aec76c088 [stable/datadog] Always add os in nodeSelector based on targetSystem (#23199)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-07-15 08:50:38 -07:00
b3b68945ba [stable/datadog] fix daemonset templates for go 1.14 (#23166)
* fix datadog daemonset.yaml to be compatible with go 1.14

Signed-off-by: Shun Yamamoto <shun-yamamoto@m3.com>

* bump version up

Signed-off-by: Shun Yamamoto <shun-yamamoto@m3.com>

* Update stable/datadog/CHANGELOG.md

Co-authored-by: Harrison Heck <harrison.heck@gmail.com>
Signed-off-by: Shun Yamamoto <shun-yamamoto@m3.com>

* bump version up

Signed-off-by: Shun Yamamoto <shun-yamamoto@m3.com>

Co-authored-by: Shun Yamamoto <shun-yamamoto@m3.com>
Co-authored-by: Harrison Heck <harrison.heck@gmail.com>
2020-07-15 06:30:38 -07:00
Timo SandandGitHub 9d26622a45 [stable/datadog] Change to use specified port instead of default (#23154)
* Change to use specified port instead of default

Signed-off-by: Timo Sand <timo.sand@iki.fi>

* Bump patch version

Signed-off-by: Timo Sand <timo.sand@iki.fi>
2020-07-15 00:40:37 -07:00
Julio GreffandGitHub b47163db0c [stable/datadog] Small chart tweaks for cluster agent (#23079)
* [stable/datadog] Default external metrics provider port to 8443

In order to avoid issues with non-root users inside a container trying
to listen on port 443, from now on we're going to set the default port
for the external metrics provider in the DCA container to 8443.

Signed-off-by: Julio Greff <julio.greff@datadoghq.com>

* [stable/datadog] Document `clusterAgent.env`

Signed-off-by: Julio Greff <julio.greff@datadoghq.com>

* [stable/datadog] Bump version to 2.3.29

Signed-off-by: Julio Greff <julio.greff@datadoghq.com>
2020-07-10 03:09:48 -07:00
Cedric LamoriniereandGitHub 8884cab443 fix daemonset generation if datadog.securityContext==nil (#23146)
If the `datadog.securityContext` value is set to `nil` instead of `{}`
when a user want to remove the default `securityContext`, helm is not
able to generate the Daemonset manifest.

To support this configuration we have change how we test the value.
With the new `{{ if ...}}` check we don't check the second comparison
if the first already return false.

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-07-10 02:49:48 -07:00
056f930c3e [stable/datadog] add systemProbe.collectDNSStats (#23086)
* [stable/datadog] add collectDNSStats option, remove selinux defaults

Adds collectDNSStats which enabled the system_probe.collect_dns_stats
flag. The flag is only rendered into system-probe.yaml if set to true.
This will allow the agent default to changed to true down the line
without requiring a chart bump.

Signed-off-by: Lee Avital <lee.avital@datadoghq.com>

* Update stable/datadog/templates/system-probe-configmap.yaml

Co-authored-by: Cedric Lamoriniere <cedric.lamoriniere@datadoghq.com>
Signed-off-by: Lee Avital <lee.avital@datadoghq.com>

Co-authored-by: Cedric Lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-07-09 09:10:36 -07:00
Cedric LamoriniereandGitHub 92cfeadd81 [stable/datadog] fix PodSecurityContext seLinux (#23088)
Fixes #23084

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-07-06 15:47:58 -07:00
Vincent BoulineauandGitHub 97b1209819 [stable/datadog] Align ENV var handling (avoid ranging through them to allow any K8S valid syntax) (#23080)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-07-06 09:40:53 -07:00
Haïssam KajandGitHub 5eacc193ec [stable/datadog] add orchestrator-explorer option (#23018)
* add setting to enable the orchestrator explorer

Signed-off-by: Haissam Kaj <haissam@datadoghq.com>

* switch default to false

Signed-off-by: Haissam Kaj <haissam@datadoghq.com>
2020-07-06 04:54:51 -07:00
Cedric LamoriniereandGitHub f715786d2f [stable/datadog] Add PSP and SCC (#22529)
* [stable/datadog] Add PSP and SCC

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>

* update after review

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-07-06 02:32:53 -07:00
2c62cc6964 [stable/datadog] Merge several pending PRs (#23066)
* Remove duplicate imagePullSecrets

Signed-off-by: Brian Choy <bycEEE@gmail.com>

* [stable/datadog] Fix a bunch of nil defaults

Signed-off-by: George Christou <gechrr@gmail.com>

* [stable/datadog] Adding explanation for metricsProvider.enabled

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Fix DataDog location to useConfigMap in docs

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

Co-authored-by: Brian Choy <bycEEE@gmail.com>
Co-authored-by: George Christou <gechrr@gmail.com>
Co-authored-by: Sagar2366 <sagarutekar2366@gmail.com>
Co-authored-by: Gregory Jones <grjones@rapid7.com>
2020-07-03 08:22:47 -07:00
George ChristouandGitHub 0066fae0b4 [stable/datadog] Fix a bunch of nil defaults (#22999)
Signed-off-by: George Christou <gechrr@gmail.com>
2020-07-03 07:12:47 -07:00
Lee AvitalandGitHub 08453f9827 Mount system-probe.yaml in the process-agent container when enabled (#23035)
* Mount system-probe.yaml in the process-agent container when enabled

https://github.com/helm/charts/pull/22686/files changed the location of
the system-probe socket away from the default.

Since the process-agent was relying on the socket being at the default
location by dint of not having the system-probe.yaml file, this commit
broke the process-agent -> system-probe communication.

Signed-off-by: Lee Avital <lee.avital@datadoghq.com>

* rev version

Signed-off-by: Lee Avital <lee.avital@datadoghq.com>
2020-07-01 17:36:01 -07:00
Roarke GaskillandGitHub 4cca4ec999 fix: new line is removed from useSocketVolume section (#23020)
Template produces invalid yaml when useSocketVolume is enabled.

Signed-off-by: Roarke Gaskill <roarke.gaskill@gmail.com>
2020-06-30 13:10:06 -07:00
Stanislav PetrashovandGitHub 830781c41a [stable/datadog] Handle arguments in the cluster-agent command (#22922)
Without quotes around the command and its arguments Kubernetes joins all
string in a single binary name, so it's not possible to run
`datadog-cluster-agent start` in the container

Signed-off-by: Stanislav Petrashov <stanislav.petrashov@n26.com>
2020-06-25 15:15:31 -07:00
d1efe909ac [stable/datadog] Typo and grammar fixes in documentation (#22944)
* grammar edits!

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* Typo in log config

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

Co-authored-by: cswatt <cecilia.watt@datadoghq.com>
Co-authored-by: John Girvan <3327314+jrgirvan@users.noreply.github.com>
2020-06-25 01:58:38 -07:00
entoandGitHub df411feb22 [stable/datadog] Volume mounts and ServiceAccount annotations for Cluster Checks runners (#22659)
* [stable/datadog] Add params for mounting volumes to cluster checks runners

Signed-off-by: Marica Odagaki <marica@noredink.com>

* [stable/datadog] Add param for annotating ServiceAccount for cluster checks runners

Signed-off-by: Marica Odagaki <marica@noredink.com>

* [stable/datadog] Bump to 2.3.9

Signed-off-by: Marica Odagaki <marica@noredink.com>
2020-06-25 01:20:37 -07:00
Lénaïc HuardandGitHub 8655b15921 [stable/datadog] Mount kernel headers in system-probe container (#22686)
The goal is to implement runtime-compiled eBPF probes in system-probe
and collect the data to convert them in DataDog metrics in the agent.

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-06-24 11:04:37 -07:00
Stanislav PetrashovandGitHub c2164018be [stable/datadog] Allow overriding cluster-agent command (#22913)
Signed-off-by: Stanislav Petrashov <stanislav.petrashov@n26.com>
2020-06-23 13:19:19 -07:00
Lénaïc HuardandGitHub 77eb3fc924 [stable/datadog] Use dedicated endpoints for liveness and readiness probes (#21942)
Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-06-23 06:07:41 -07:00
Vincent BoulineauandGitHub ba15fcdbe1 Align CLC configuration with other agent - fix endpoint checks (#22874)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-06-23 00:49:40 -07:00
Lénaïc HuardandGitHub ab3bbd8701 [stable/datadog] Bump the default version of the docker images (#22910)
Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-06-23 00:09:42 -07:00
orong-ppandGitHub a4e2bf8bdd [stable/datadog] introduce dnsConfig helm values for the different co… (#22727)
* [stable/datadog] introduce dnsConfig values for the different containers

Signed-off-by: Oron Gola <oron.gola@perception-point.io>

* [stable/datadog] add dnsConfig default values to values.yaml

Signed-off-by: Oron Gola <oron.gola@perception-point.io>

* [stable/datadog] dnsConfig fix documentation and suggested default value

Signed-off-by: Oron Gola <oron.gola@perception-point.io>
2020-06-15 07:25:59 -07:00
Matheus Weber da ConceiçãoandGitHub 333eefddc9 [stable/datadog] Add clusterAgent.podLabels variable to add labels to the Cluster Agent Pod(s) (#22715)
Signed-off-by: Matheus Weber da Conceição <matheuswcon@gmail.com>
2020-06-09 01:47:18 -07:00
Xavier LucasandGitHub f6fdad0836 Fix templating errors when using clusterAgent.datadog_cluster_yaml (#22589)
Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>
2020-05-29 09:07:16 -07:00
Lénaïc HuardandGitHub 49ae02250e [stable/datadog] Fix an agent warning at startup because of a deprecated parameter (#22584)
Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-05-29 04:13:15 -07:00
AkiraFukushimaandGitHub 459bd1f72e [stable/datadog] Add affinity to cluster agent deployment (#22562)
* [stable/datadog] Add affinity to cluster agent deployment

Signed-off-by: AkiraFukushima <h3.poteto@gmail.com>

* [stable/datadog] Update CHANGELOG for 2.3.6

Signed-off-by: AkiraFukushima <h3.poteto@gmail.com>
2020-05-28 04:44:02 -07:00
Cedric LamoriniereandGitHub 0da34dafa5 [stable/datadog] ADD UDS socket for trace agent (#22463)
* Add `DD_AC_INCLUDE` and `DD_AC_EXCLUDE` to all containers
* Add "Unix Domain Socket" support in trace-agent
* Add new parameter to specify the dogstatsd socket path on the host
* Fix typos in values.yaml
* Update "tags:" example in values.yaml
* Add rate_limit_queries_ metrics

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-05-26 02:05:11 -07:00
Aditya SundaramurthyandGitHub 3467b87fcd [stable/datadog] Fixes "merging map" warning messages with Helm 2 (#22436)
* Fix warning messages with Helm 2.x

Fixes warning messages like the below examples when using Helm 2.

```
Warning: Merging destination map for chart 'datadog'. The destination item 'confd' is a table and ignoring the source 'confd' as it has a non-table value of: <nil>
Warning: Merging destination map for chart 'datadog'. The destination item 'resources' is a table and ignoring the source 'resources' as it has a non-table value of: <nil>
```
Fixes #22428

Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>

* Bump chart version

Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>

* Updated changelog

Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>

* Bump chart version

Signed-off-by: Aditya Sundaramurthy <aditya.sundaramurthy@gmail.com>
2020-05-25 03:17:11 -07:00
Lénaïc HuardandGitHub 0df5e75f9b [stable/datadog] Allow pre-release versions as docker image tag (#22457)
See http://masterminds.github.io/sprig/semver.html#working-with-prerelease-versions

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-05-20 03:24:18 -07:00
Lénaïc HuardandGitHub a12a8c25eb [stable/datadog] Update the DCA RBAC to allow it to create events in the HPA (#22414)
Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-05-15 06:45:45 -07:00
Lénaïc HuardandGitHub be326f47c9 [stable/datadog] Update the example for datadog.securityContext (#22379)
Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-05-13 09:02:26 -07:00
Lénaïc HuardandGitHub de0939a800 [stable/datadog] Make the datadog agent resilient to docker daemon restarts (#21300)
* [stable/datadog] Honor image pull policy setting in init containers

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Pass DD_CRI_SOCKET_PATH to the init container

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Bump version and fill changelog

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Revert "[stable/datadog] Revert "Mount the directory containing the CRI socket instead of the socket itself" (#21268)"

This reverts commit 6de689e7e4.

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Explicitly set DOCKER_HOST

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Bump version and fill changelog

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datalog] Do not enable the `cri` check when running on a `docker` setup

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Add a check for the version of the image

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* fixup! [stable/datadog] Add a check for the version of the image

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Bump the version to highlight the non-backward compatible change

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Do not touch the docker named pipe for Windows

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Add an `agents.image.tag.doNotCheckTag` parameter

to skip the compatibility check with the docker image version.

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Do not use by default a “floating” tag

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>

* [stable/datadog] Document the `agents.image.doNotCheckTag` parameter

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
2020-05-07 03:15:09 -07:00
Brandon KimbroughandGitHub c3c38c80d9 [stable/datadog] adding init container resource requests to the system probe init container (#21532)
* ISSUE-20035 - adding initi container resource requests to the system probe init container

Signed-off-by: Brandon Kimbrough <bkimbrough@bandwidth.com>

* ISSUE-20035 - bumping chart version

Signed-off-by: Brandon Kimbrough <bkimbrough@bandwidth.com>

* bumping version and adding changelog

Signed-off-by: Brandon Kimbrough <bkimbrough@bandwidth.com>
2020-05-06 10:13:08 -07:00
Cedric LamoriniereandGitHub dea2dc81d4 [stable/datadog] KSM update and add doc for secret creation (#22244)
* [stable/datadog] ksm + doc update

* Add documentations around secret management in the datadog helm chart. It is to upstream
  requested changes in the IBM charts repository: https://github.com/IBM/charts/pull/690#discussion_r411702458
* update `kube-state-metrics` dependency
* uncomment every values.yaml parameter for IBM chart compliancy

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>

* [stable/datadog] update KSM dependency

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>

* [stable/datadog] update KSM dependency

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-05-05 02:43:08 -07:00
Vincent BoulineauandGitHub 80edc663f4 [stable/datadog] Remove old and misleading KSM option from value file (#22246)
Signed-off-by: Vincent Boulineau <vincent.boulineau@datadoghq.com>
2020-05-04 01:42:27 -07:00
Cedric LamoriniereandGitHub 20a26fc4ea [stable/datadog] volumemount conflict fix and docs (#22188)
* Fixing variables description in README and Migration documentation (#22031)
* Avoid volumes mount conflict between `system-probe` and `logs` volumes in the `agent`.

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2020-04-29 10:52:25 -07:00