parent
4575f1b05d
commit
c49945a289
5 changed files with 15 additions and 14 deletions
umami/resources
|
@ -4,7 +4,7 @@ kind: Deployment
|
|||
metadata:
|
||||
name: umami
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: umami
|
||||
|
@ -25,7 +25,7 @@ spec:
|
|||
- name: DATABASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: db-credentials-umami
|
||||
name: default-cluster-pguser-umami
|
||||
key: PQ_URL
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
|
@ -66,9 +66,9 @@ spec:
|
|||
memory: "256Mi"
|
||||
cpu: "300m"
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
protocol: TCP
|
||||
name: web
|
||||
- containerPort: 3000
|
||||
protocol: TCP
|
||||
name: web
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/heartbeat
|
||||
|
@ -100,4 +100,4 @@ spec:
|
|||
securityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
runAsNonRoot: true
|
||||
runAsNonRoot: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue