Skip to content

Commit

Permalink
chore: add metabase
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Jul 31, 2024
1 parent 4fdb511 commit 87549fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ resource "argocd_application" "metabase" {
}

destination {
server = argocd_cluster.prod.server
name = "ops"
namespace = "guardian"
}
}
Expand Down
9 changes: 3 additions & 6 deletions metabase/prod/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: metabase
spec:
replicas: 3
replicas: 2
selector:
matchLabels:
app: metabase
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion metabase/prod/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 87549fd

Please sign in to comment.