Commit Graph
84 Commits
Author SHA1 Message Date
LFA 692daad649 add DD_HOSTNAME, DD_AC_INCLUDE, DD_AC_EXCLUDE to DaemonSet config (#10211)
Signed-off-by: Laurent Fallet <laurent.fallet@gmail.com>
2019-01-08 07:44:09 -08:00
Xavier Vello 296252fe24 Fix clusterchecks leader election (#10468)
* Add service name envvar to the DCA

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* Reword cluster-agent token note to account for token not synced issues

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* update version

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2019-01-08 06:46:29 -08:00
Boris Kurktchiev 0c101b4abc Add support for SELinux label modification (#9778)
* Add support for SELinux label modification in case the
default SPC_T one does not work on a system

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>

* resolve PR comments

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>

* resolve the PR comments properly...

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>

* resolve comments

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>
2019-01-08 06:08:23 -08:00
Xavier Vello f32574707c Fix log pointer path in container + make it configurable on the host side (#10097)
Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2018-12-18 05:55:05 -08:00
Xavier Vello a1b5a7263e Allow to override liveness and readiness probes (#9966)
Raise default failure threshold: agent has 45 seconds to be healthy

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2018-12-13 05:20:10 -08:00
Paul Charlton 06a650e941 [stable/datadog] add configuration for datadog intake server (#9715) (#9716)
Signed-off-by: Paul Charlton <techguru@byiq.com>
2018-12-07 07:45:51 -08:00
Joe Hohertz 4aacf405ff Correction to cluster agent deployment toleration attributes (#9556)
Was taking it from the wrong config section.

Also list the attribute in the README.

Signed-off-by: Joe Hohertz <joe@viafoura.com>
2018-11-28 08:35:12 -08:00
Ben Drucker 01bb76ee56 datadog: document nonLocalTraffic option (#8943)
* datadog: document nonLocalTraffic option

Signed-off-by: Ben Drucker <bvdrucker@gmail.com>

* bump chart version

Signed-off-by: Ben Drucker <bvdrucker@gmail.com>
2018-11-27 01:22:42 -08:00
Haïssam Kaj fa36b73bfa [datadog] Bump kube-state-metrics version (#9456)
* [datadog] bump kube-state-metrics dependency

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

* [datadog] update req.lock to match new dependency version

Signed-off-by: Haissam Kaj <haissam.kaj@gmail.com>
2018-11-21 10:24:39 -08:00
Pierre Margueritte cd01e234e8 [datadog] Update README (#9416)
* [datadog] Update README

Signed-off-by: Pierre <mfpierre@gmail.com>

* [datadog] bump chart version

Signed-off-by: Pierre <mfpierre@gmail.com>
2018-11-21 09:58:19 -08:00
Pierre Margueritte 9e6a3616f1 [Datadog] Add /var/run/s6 volume to avoid noexec on some setups (#9275)
Signed-off-by: Pierre <mfpierre@gmail.com>
2018-11-14 08:35:15 -08:00
Charly Fontaine c8d196dd3b fix cri option typo and add socket path (#9084)
Signed-off-by: charlyF <charly@datadoghq.com>
2018-11-08 02:10:37 -08:00
Charly Fontaine 3bdff56197 Better document cluster agent & Update chart (#8786)
* updating README

Signed-off-by: charlyF <charly@datadoghq.com>

* changing log level to warning

Signed-off-by: charlyF <charly@datadoghq.com>

* bumping chart, lint, updating agent version

Signed-off-by: charlyF <charly@datadoghq.com>

* updating versions in readme and comment

Signed-off-by: charlyF <charly@datadoghq.com>

* leader election is set to true by default

Signed-off-by: charlyF <charly@datadoghq.com>

* adding option and doc to generate and use random token if not provided

Signed-off-by: charlyF <charly@datadoghq.com>

* rephrase README

Signed-off-by: charlyF <charly@datadoghq.com>

* feedback

Signed-off-by: charlyF <charly@datadoghq.com>

* commenting leaderelection option in values.yaml

Signed-off-by: charlyF <charly@datadoghq.com>
2018-11-02 13:32:23 -07:00
Charly Fontaine c6c134b691 adding owner (#8911)
Signed-off-by: charlyF <charly@datadoghq.com>
2018-11-01 09:28:32 -07:00
Charly Fontaine 1d5fbd815a adding configmap to activate the external metrics provider (#8764)
Signed-off-by: charlyF <charly@datadoghq.com>
2018-10-26 01:34:24 -07:00
Ian Levesque 798226aac4 [stable/datadog] Add support for disabling Docker socket mount requirement (#8641)
* Add support for removing Docker socket mount requirement

Signed-off-by: Ian Levesque <ian@quantopian.com>

* Use convention of lowercased 'true'

Signed-off-by: Ian Levesque <ian@quantopian.com>
2018-10-25 07:06:38 -07:00
Haïssam Kaj 27a6de06a3 support CRI in agent Deployment scenario (#8711)
Signed-off-by: Haissam Kaj <haissam.kaj@gmail.com>
2018-10-25 01:09:03 -07:00
Ian Levesque 9cc624867e [stable/datadog] Add support for mapping Kubernetes Labels and Annotations to Datadog Tags (#8643)
* Add support for mapping Kubernetes Labels and Annotations to Datadog
Tags

Signed-off-by: Ian Levesque <ian@quantopian.com>

* use YAML representation of mappings

Signed-off-by: Ian Levesque <ian@quantopian.com>

* Update default values examples

Signed-off-by: Ian Levesque <ian@quantopian.com>
2018-10-24 10:06:41 -07:00
Haïssam Kaj 071fef7e4c Extend container runtime support to CRI (#8661)
Signed-off-by: Haissam Kaj <haissam.kaj@gmail.com>
2018-10-24 04:58:08 -07:00
Charly Fontaine e8cac6f1da updating version of the Datadog Cluster Agent (#8658)
Signed-off-by: charlyF <charly@datadoghq.com>
2018-10-23 08:14:29 -07:00
Ian Levesque 5fc4c8e196 Enables specifying Priority Class for Datadog Agent pods (#8642)
Signed-off-by: Ian Levesque <ian@quantopian.com>
2018-10-23 02:09:51 -07:00
Marc Ian Bucad d719fd92d0 configurable container name (#8592)
* sets container name as defined in values file

use container name defined in Values file else use Chart name by default

Signed-off-by: Marc Ian Bucad <ian.bucad@gmail.com>

* sets container name as defined in values file

use container name defined in Values file else use Chart name by default

Signed-off-by: Marc Ian Bucad <ian.bucad@gmail.com>

* changes default to chart name

prior to this PR, the container name had been "datadog" (Chart name). suddenly changing to dd-agent might/could break things for those upgrading.

Signed-off-by: Marc Ian Bucad <ian.bucad@gmail.com>

* makes cluster agent container name configurable

Signed-off-by: Marc Ian Bucad <ian.bucad@gmail.com>

* adds settings to the readme

Signed-off-by: Marc Ian Bucad <ian.bucad@gmail.com>

* bump version

Signed-off-by: Marc Ian Bucad <ian.bucad@gmail.com>
2018-10-19 09:06:46 -07:00
Andrew Suderman 2390a32f53 [datadog] Fixing failed lint when deployment is enabled. (#8343)
* Fixing regression where the service values are not set when the deployment is enabled.
This can be tested by setting deployment.enabled: True and running helm
lint

Signed-off-by: Andrew Suderman <andrew@sudermanjr.com>

* Changing chart version

Signed-off-by: Andrew Suderman <andrew@sudermanjr.com>

* Changing deployment to default false.  Moving service back to top level

Signed-off-by: Andrew Suderman <andrew@sudermanjr.com>

* Moving service under deployment

Signed-off-by: Andrew Suderman <andrew@sudermanjr.com>
2018-10-12 01:25:25 -07:00
Corey O'Brien 78c5f34abb [stable/datadog] Upgrade to latest app version (#8269)
Signed-off-by: Corey O'Brien <corey@reactiveops.com>
2018-10-08 10:30:58 -07:00
Eric Malloy bc1172991b [stable/datadog] clarify README (YAML vs YML) (#7840)
* clarify README to highlight source of entrypoint command and the particular file extensions that get copied

Signed-off-by: Eric Malloy <malloy.j.eric@gmail.com>

* bump version

Signed-off-by: Eric Malloy <malloy.j.eric@gmail.com>
2018-09-20 10:12:33 -07:00
Corey O'Brien ed7a19eb3d [stable/datadog] Add options to use new cluster-agent (#7565)
* [stable/datadog] Add options to use new cluster-agent

Signed-off-by: Corey O'Brien <corey@reactiveops.com>

* Fix appVersion and use apps/v1

Signed-off-by: Corey O'Brien <corey@reactiveops.com>

* Address review comments

Signed-off-by: Corey O'Brien <corey@reactiveops.com>
2018-09-18 00:47:47 -07:00
Paul Charlton ec510c78ec [stable/datadog] allow configmaps to use templates (#7701)
* Allow datadog to use template interpolation in the expansion of Values that declare configmaps.  This allows datadog plugins to connect with pods and services that contain {{ .Release.Name}} and/or {{ .Release.Namespace }} as part of their name.

    Signed-off-by: Paul Charlton <techguru@byiq.com>

Signed-off-by: Paul Charlton <techguru@byiq.com>

* change datadog chart version to indicate new feature

Signed-off-by: Paul Charlton <techguru@byiq.com>
2018-09-13 07:59:42 -07:00
Torbjørn Vatn f2c178afaa [stable/datadog] Bump datadog/agent and kube-state-metrics versions (#7678)
* Bump datadog/agent and kube-state-metrics versions

To 6.4.2 and 0.9.0/v1.4.0 respectively

Signed-off-by: Torbjørn Vatn <torbjorn.vatn@unacast.com>

* Bump the Chart version and appVersion as well

Signed-off-by: Torbjørn Vatn <torbjorn.vatn@unacast.com>

* Update the image.tag default in README

Signed-off-by: Torbjørn Vatn <torbjorn.vatn@unacast.com>

* Run helm dep update

Signed-off-by: Torbjørn Vatn <torbjorn.vatn@unacast.com>
2018-09-11 15:10:26 -07:00
Rob Scott fa9cf124fa [stable/datadog] Adding live process monitoring option (#7282)
* adding datadog.processAgentEnabled option

Signed-off-by: Rob Scott <rob.scott87@gmail.com>

* bumping datadog chart version, adding processAgentEnabled reference to values.yaml

Signed-off-by: Rob Scott <rob.scott87@gmail.com>

* bumping datadog chart version to 1.2.0

Signed-off-by: Rob Scott <rob.scott87@gmail.com>

* datadog chart to 1.1.0

Signed-off-by: Rob Scott <rob.scott87@gmail.com>
2018-09-06 13:25:35 -07:00
Keith Clawson 85e0e691e4 [stable/datadog] Update README (#7327)
* Fix resource parameters in README.md not matching values.yaml

Signed-off-by: Keith Clawson <keith@tangentspace.org>

* Describe tags parameter in README.md

Signed-off-by: Keith Clawson <keith@tangentspace.org>

* Bump version

Signed-off-by: Keith Clawson <keith@tangentspace.org>
2018-09-04 08:16:53 -07:00
Ryo Sakamoto 7588d5859e Set dnsPolicy for using hostNetwork (#7495)
Signed-off-by: cw-sakamoto <sakamoto@chatwork.com>
2018-09-03 01:02:20 -07:00
svyotov 166e2c9e36 Allow pulling image from private registry (#7263)
* Allow pulling image from private registry

Signed-off-by: Stanislav Yotov <stanislav.yotov@klarrio.com>

* fix documentation

Signed-off-by: Stanislav Yotov <stanislav.yotov@klarrio.com>
2018-08-31 15:58:40 -07:00
Krzysztof Góralski 8dd76955d5 [stable/datadog] add configurable service annotations (#7259)
* add configurable service annotations

* update chart version
2018-08-27 20:55:58 -07:00
Jules Ivanic 2629d5a97d [stable/datadog] Fix https://github.com/kubernetes/charts/issues/6572 (#6695)
* Fix https://github.com/kubernetes/charts/issues/6572

* Update version
2018-08-17 01:18:09 -07:00
Xavier Vello 01f7b1664a [datadog] remove agent5 support, cleanup the chart (#6382)
* remove agent5-only envvars and legacy port

* remove autoconf configmap

* Revert "remove autoconf configmap"

This reverts commit 16383984301070e788b0c89f78fb209177330a52.

* rename apikey secret template

* remove autoconf configmap, merge into confd configmap for compat

* document autoconf deprecation notice

* update RBAC to agent6-only

* add error if user tries to deploy agent5

* fix autoconf deprecation notice

* increase version to 1.0.0, cleanups

* fix confd/checksd mounts

* update readme

* update to 6.3.1

* more readme cleanup

* add deprecation notice for daemonset+deployment

* fix autoconf warning, update version

* update agent to 6.3.2

* fix app label on confd/checksd

* remove confd & checkds configmaps when empty
2018-07-16 01:26:55 -07:00
Philip Champon 847f737479 [stable/datadog]: update labels to match recommended standards (#6377)
* update labels to match recommended standards

* version

* use quote, do not quote

* too much regex

* remove quote from app

* trigger happy search and replace
2018-07-12 06:05:26 -07:00
Timur Khafizov 645c37e81b [stable/datadog] Allow skipping Secret creation (#5285)
* [stable/datadog] Allow skipping Secret creation

* [stable/datadog] Update description of Secret creation in NOTES and README

* [stable/datadog] Use `.Values.existingSecret` instead of `.Values.secret.create` in order to skip API key secret creation and read from the provided one

* [stable/datadog] Bump version to 0.18.0

* [stable/datadog] Use `.Values.datadog.apiKeyExistingSecret` instead of `.Values.existingSecret`

* [stable/datadog] Rename API secret name template from `apiSecretName` to `datadog.apiSecretName`

* [stable/datadog] Update README to properly explain how to override API key secret
2018-06-26 12:03:52 -07:00
Xavier Vello 03a66960ce release 6.3.0 (#6247)
- update image tag to 6.3.0
- update ksm dependency to 0.8.0
- add useHostPID option to enable origin detection
- update supported versions in readme
2018-06-21 02:51:07 -07:00
Teppei Fukuda ebfd2957a9 [stable/datadog] add logsEnabled value (#6013)
* [stable/datadog] add logsEnabled value

* [stable/datadog] a version bump
2018-06-20 08:00:10 -07:00
Tachibana waita 7fe4cc5187 [stable/datadog] add nodePort value in datadog template (#6024)
* add nodePort value in datadog template

* bump up datadog chart version

* bump up minor change version

* change value structure, add become able to set traceNodePort

* add description for .Values.deployment.{dogstatsdNodePort, traceNodePort}

* fix typo

* modify description
2018-06-11 15:59:27 -07:00
Sven Nebel fd3887cafe [stable/datadog] Add nodeSelector and affinity values for daemonset (#4928)
* [stable/datadog] Add nodeSelector and affinity values

* [stable/datadog] Delete duplicated nodeSelector block

* [stable/datadog] Add links for node affinity/selection
2018-06-07 07:37:23 -07:00
Ivan Fitenko deb9980821 [stable/datadog] add configurable affinity and tolerations (#5383)
* [stable/datadog] add configurable affinity and tolerations

* [stable/datadog] increase chart version

* [stable/datadog] uncomment empty tolerations and affinity for deployment

* Update Chart.yaml
2018-06-07 04:21:22 -07:00
Masaya Aoyama (@amsy810) e8c8af99e7 bugfix and version up to 6.2.1 (#5855) 2018-06-04 02:18:53 -07:00
Chris Knowles 1d0b6990a9 [stable/datadog] Support node selector for daemon set (#5613) 2018-06-01 05:58:55 -07:00
Haïssam Kaj 9074a31a83 [datadog] make the agent pod part of the Guaranteed QoS class (#5846)
* [datadog] make the agent pod part of the Guaranteed QoS class

* bump version
2018-06-01 01:59:00 -07:00
Liran Haimovitch d7785c6d1d updated DataDog version to 6.2.0 (#5535)
* updated DataDog version to 6.2.0

* updated chart version

* Update README.md
2018-05-17 13:50:49 -07:00
Chris Knowles f356afd9b5 [stable/datadog] Non-local traffic for agent v6 deployment (#4888)
* Non-local traffic for agent v6 deployment

Follow up to https://github.com/kubernetes/charts/pull/3938, if we want to run dogstatd with agent 6 currently it won't accept non local traffic.

* Bump datadog chart and app versions

Latest agent bug fixes
2018-04-12 04:21:55 -07:00
Matt Farina 0959372446 Fixing version range handling from strings to semver (#4598)
* Fixing version range handling from strings to semver

See #3002 for more detail

* Include pre-releases in the semver ranges

This is important when testing against alpha and beta builds of
Kubernetes along with environments that use pre-releases to denote
things other than pre-releases (e.g., gke denotes the environment
with a pre-releases)
2018-04-03 09:32:06 -07:00
Chris Knowles a7e0c19740 [stable/datadog] Add liveness probe (#4536)
* [stable/datadog] Add liveness probe

Taken from latest docs at https://app.datadoghq.com/account/settings#agent/kubernetes

* Fix YAML lint

* Include appVersion

Appears to be required by the CI checks now
2018-03-30 11:50:02 -07:00
AdamDang 173d666c4e Typo fix in datadog/README.md (#4309)
* add version for datadog

add version for datadog

* Typo fix in datadog/README.md

Typo fix in datadog/README.md
2018-03-20 01:15:59 -07:00