Amazon EKS(Elastic Kubernetes Service)는 관리형 쿠버네티스 서비스로 표준 쿠버네티스 환경에 대해 일정 배포와 유지관리를 자동화해줍니다.
Amazon EKS Blueprints는 클러스터 설정과 배포 도구를 통합하는 프레임워크입니다.
Datadog Blueprints 애드온은 Blueprints를 사용해 Amazon EKS에 Datadog 에이전트를 배포합니다.
설정
설치
npm install @datadog/datadog-eks-blueprints-addon
사용량
기존 쿠버네티스 기밀 사용
import*ascdkfrom'aws-cdk-lib';import*asblueprintsfrom'@aws-quickstart/eks-blueprints';import{DatadogAddOn}from'@datadog/datadog-eks-blueprints-addon';constapp=newcdk.App();constaddOns:Array<blueprints.ClusterAddOn>=[newDatadogAddOn({// Kubernetes secret holding Datadog API key
// The value should be set with the `api-key` key in the secret object.
apiKeyExistingSecret:'<secret name>'})];constaccount='<aws account id>'constregion='<aws region>'constprops={env:{account,region}}newblueprints.EksBlueprint(app,{id:'<eks cluster name>',addOns},props)