How enable datadog plugin for k8s/dbless/ingressController

Hi All,

I would like to enable this plugin:

According to doc I need to use:

- name: datadog
  service: {service}
    port: 8125

in a declarative configuration.

As I’m using helm chart to deploy Kong I found option: dblessConfig.
However, this only available when ingressController is disabled.

Is Datadog plugin working only when ingressController is disabled? If yes, then why?

kong1.4, helm chart 0.27

You need to define KongPlugin resource for this instead. can help you understand how this all works.

Thanks @hbagdi for your anwser.

I was able to turn on Datadog plugin in Kong 2.0:

  host: datadog-agents-service.other-namespace.svc
  port: 8125
kind: KongPlugin
  name: my-kong-datadog
plugin: datadog

Then in Ingress:

apiVersion: extensions/v1beta1
kind: Ingress
  annotations: my-kong-datadog

WARNING: Datadog plugin uses UDP (not TCP) connection. Please make sure your network configuration allows such communication on port 8125.

For some reason I was not able to do it in Kong 1.4.

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ