This project is currently in Beta
The Datadog Blueprints AddOn deploys the Datadog Agent on Amazon EKS using the eks-blueprints CDK construct.
npm install @datadog/datadog-eks-blueprints-addon
import * as cdk from 'aws-cdk-lib';
import * as blueprints from '@aws-quickstart/eks-blueprints';
import { DatadogAddOn } from '@datadog/datadog-eks-blueprints-addon';
const app = new cdk.App();
const addOns: Array<blueprints.ClusterAddOn> = [
new DatadogAddOn({
// Kubernetes secret holding Datadog API key
// The value should be set with the `api-key` key in the secret object.
apiKeyExistingSecret: '<secret name>'
})
];
const account = '<aws account id>'
const region = '<aws region>'
const props = { env: { account, region } }
new blueprints.EksBlueprint(app, { id: '<eks cluster name>', addOns}, props)
Option | Description | Default |
---|---|---|
apiKey |
Your Datadog API key | "" |
appKey |
Your Datadog APP key | "" |
apiKeyExistingSecret |
Existing k8s Secret storing the API key | "" |
appKeyExistingSecret |
Existing k8s Secret storing the APP key | "" |
apiKeyAWSSecret |
Secret in AWS Secrets Manager storing the API key | "" |
appKeyAWSSecret |
Secret in AWS Secrets Manager storing the APP key | "" |
namespace |
Namespace where to install the Datadog Agent | "default" |
version |
Version of the Datadog Helm chart | "2.28.13" |
release |
Name of the Helm release | "datadog" |
repository |
Repository of the Helm chart | "https://helm.datadoghq.com" |
values |
Configuration values passed to the chart, options are documented here | {} |