diff --git a/application.tf b/application.tf index 377d61b..7aee20c 100644 --- a/application.tf +++ b/application.tf @@ -175,7 +175,7 @@ resource "argocd_application" "metabase" { } destination { - server = argocd_cluster.prod.server + name = "ops" namespace = "guardian" } } diff --git a/metabase/prod/deploy.yaml b/metabase/prod/deploy.yaml index 0849c5b..bf82f40 100644 --- a/metabase/prod/deploy.yaml +++ b/metabase/prod/deploy.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: metabase spec: - replicas: 3 + replicas: 2 selector: matchLabels: app: metabase @@ -22,12 +22,9 @@ spec: - secretRef: name: metabase resources: - limits: - cpu: '1' - memory: 2000Mi requests: - cpu: 100m - memory: 1000Mi + cpu: 500m + memory: 512Mi livenessProbe: tcpSocket: port: 3000 diff --git a/metabase/prod/route.yaml b/metabase/prod/route.yaml index edcc634..4ce1dc3 100644 --- a/metabase/prod/route.yaml +++ b/metabase/prod/route.yaml @@ -7,7 +7,7 @@ spec: - websecure routes: - kind: Rule - match: Host(`mb.prod.nsl.xyz`) + match: Host(`metabase.naturalselectionlabs.com`) services: - name: metabase port: 3000