macOS のみ対応しています。
make
aws ecr create-repository --repository-name event-cwl-exporter
docker build . -t [URI]:[Version]
aws ecr get-login-password | docker login --username AWS --password-stdin [ECR endpoint]
docker push [URI]:[Version]
デフォルトリージョンは us-west-2 になっています。
yaml/event-cwl-exporter.yaml の以下のプレースホルダを置換してください。
- {{EKS cluster name}}
- {{Image URI}}
その上で以下のコマンドを実行します。
kubectl apply -f yaml/event-cwl-exporter.yaml
なお、ワーカーノードのロールに CloudWatchAgentServerPolicy のポリシーが必要です。