From 05c0311185c5cefa52ab34a6287686eb6971f9e1 Mon Sep 17 00:00:00 2001 From: howlla Date: Mon, 29 Apr 2024 14:47:01 -0700 Subject: [PATCH] revert cdk.json --- cdk.json | 59 +++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 52 insertions(+), 7 deletions(-) diff --git a/cdk.json b/cdk.json index b336db65..dc36022b 100644 --- a/cdk.json +++ b/cdk.json @@ -1,8 +1,53 @@ { - "app": "npx ts-node dist/lib/common/default-main.js", - "context": { - "parent.hostedzone.name": "shbhavye.people.aws.dev", - "dev.subzone.name": "kubecost.shbhavye.people.aws.dev", - "allowed.domains.list": "amazon.com" - } -} + "app": "npx ts-node --prefer-ts-exts dist/lib/common/default-main.js", + "watch": { + "include": [ + "**" + ], + "exclude": [ + "README.md", + "cdk*.json", + "**/*.d.ts", + "**/*.js", + "tsconfig.json", + "package*.json", + "yarn.lock", + "node_modules", + "test" + ] + }, + "context": { + "fluxRepository": { + "name": "grafana-dashboards", + "namespace": "grafana-operator", + "repository": { + "repoUrl": "https://github.com/aws-observability/aws-observability-accelerator", + "name": "grafana-dashboards", + "targetRevision": "main", + "path": "./artifacts/grafana-operator-manifests/eks/infrastructure" + }, + "values": { + "GRAFANA_CLUSTER_DASH_URL" : "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/cluster.json", + "GRAFANA_KUBELET_DASH_URL" : "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/kubelet.json", + "GRAFANA_NSWRKLDS_DASH_URL" : "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/namespace-workloads.json", + "GRAFANA_NODEEXP_DASH_URL" : "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/nodeexporter-nodes.json", + "GRAFANA_NODES_DASH_URL" : "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/nodes.json", + "GRAFANA_WORKLOADS_DASH_URL" : "https://raw.githubusercontent.com/aws-observability/aws-observability-accelerator/main/artifacts/grafana-dashboards/eks/infrastructure/workloads.json" + }, + "kustomizations": [ + { + "kustomizationPath": "./artifacts/grafana-operator-manifests/eks/infrastructure" + } + ] + }, + "gpuNodeGroup": { + "instanceType": "g4dn.xlarge", + "desiredSize": 2, + "minSize": 2, + "maxSize": 3, + "ebsSize": 50 + }, + "existing.cluster.name": "single-new-eks-observability-accelerator", + "existing.kubectl.rolename": "YOUR_KUBECTL_ROLE" + } +} \ No newline at end of file