Commit Graph
67 Commits
Author SHA1 Message Date
Cedric Lamoriniere 4226ebff42 Improves ClusterRole management in Datadog chart (#12705)
If a user choose to deploy a dedicated agent deployment for running
the cluster checks, the agent RBAC is updated in order to give only
ClusterRole permission to the Agent that need it.

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-04-12 05:50:46 -07:00
Cedric Lamoriniere 6549e12d22 Add ClusterChecks deployment template (#12582)
* Add ClusterChecks deployment template

Add the possibility to run dedicated agent(s) for handling the
Cluster Checks process. It allows having dedicated `resources`
request/limit for the Cluster Checks.

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

* Some small update

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-03-28 07:12:46 -07:00
Xavier Vello 121a1a8819 Update chart for new cluster-checks feature (#11241)
* Add AD annotation for cluster-agent container

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

* Add clusterChecks support

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

* values format

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

* .enabled and clusterName options, cleanup default values
Update cluster-agent to 1.2.0

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

* update agent to 6.10.1 + update helper description

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

* update chart version

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

* fix confd template

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2019-03-14 08:32:27 -07:00
Naseem 9437b3b233 [stable/datadog] Add fullnameOverride and nameOverride in README and values file (#11903)
* Refactor naming

Add fullnameOverride and nameOverride in README+values file
Use recommended labels
Refactor naming of objects

Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>

* Modify README and values

Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>
2019-03-13 17:37:10 -07:00
Tomasz Nowak 512ccd9fea [datadog] Enable dogstatsd over unix domain socket (#11474)
Signed-off-by: Tomasz Nowak <tomanowa@gmail.com>
2019-02-18 02:52:37 -08:00
Simon Guerrier 28130149db update clusterrole rbacs to be able to fetch clusterquotas from openshift correctly (#11272)
Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>
2019-02-08 06:43:44 -08:00
Naseem 50b435fdaa Modernizing helpers file (#11250)
Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>
2019-02-07 16:40:10 -08:00
Simon Guerrier 9abdb3adca Datadog helm update (#10827)
* updated comment about useHostPort for APM

Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>

* changed liveness probe and added env var DD_HEALTH_PORT

Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>

* bump version to 1.17.0

Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>
2019-01-22 09:21:59 -08:00
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
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 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 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
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
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
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
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
Chris Knowles 1d0b6990a9 [stable/datadog] Support node selector for daemon set (#5613) 2018-06-01 05:58:55 -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
Julien Balestra 5c1c4d99b5 Support the agent6 in the helm chart (#3938) 2018-03-05 04:42:53 -08:00
Xavier Vello 12eb363290 [datadog] mount auto_conf in the right folder for alpine images (#3575)
* datadog: mount auto_conf in the right folder for alpine images

* update chart version
2018-02-06 12:49:12 -08:00
M. Ryan Rigdon bf7c49b74b [datadog] Too much whitespace stripping (#3584)
* [datadog] Too much whitespace stripping

The double whitespace stripping is causing the api version to get concatenated with the comment above

* bump chart version to 0.10.5
2018-02-06 12:33:13 -08:00
Xavier Vello 083fde4663 [stable/datadog] update chart to support agent6 beta (#3368)
* Update Datadog chart to prepare for agent6

- upgrade kube-state-metrics dependency
- use DD_ prefixed envvars when supported by agent5
- add commented lines for using agent6 images
- cleanup pod specs: remove empty envvars and volumes
- remove kubernetes_state.yaml autoconf as it's shipped by default
- update readme

* fix ressources in spec, fixes #2930

* linting
2018-01-27 05:30:30 -08:00
Josh Souza 3a7a4983ae [stable/datadog] Tag pods for deployments service to only use deployment (#2702) 2017-12-21 08:36:34 -08:00