This walks through standing up a simple Veneur setup in Kubernetes. It will emit a simple global counter (my.global.counter
) that should only have the host tag from the global instance.
-
Create your API key as a secret.
-
Find the API key on the settings page
-
Create the secret in Kubernetes
$ echo -n 'datadog_api_key' > /tmp/dd_name $ echo -n YOUR_API_KEY_HERE > /tmp/dd_api_key $ kubectl create secret generic datadog --from-file=/tmp/dd_name --from-file=/tmp/dd_api_key
-
-
Apply configs to Kubernetes
# Create the RBAC to allow access to Pod list for discovery $ kubectl apply -f veneur-rbac.yaml # Run the global veneur sevice $ kubectl apply -f veneur-global.yaml # Run the proxy veneur service $ kubectl apply -f veneur-proxy.yaml # Run an emitter that creates a metric $ kubectl apply -f veneur-emit.yaml
-
Shortly you should see your metric appear in Datadog