Skip to content

Commit

Permalink
Merge pull request #1707 from GiganticMinecraft/add_growi_components
Browse files Browse the repository at this point in the history
update mongo
  • Loading branch information
outductor authored Jan 13, 2024
2 parents 310dcce + dceedab commit e73d33c
Showing 1 changed file with 32 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,35 @@ spec:
app: mongodb
spec:
containers:
- name: mongodb
image: mongo:6.0
ports:
- containerPort: 27017
- name: mongodb
image: mongo:6.0
ports:
- containerPort: 27017
volumeMounts:
- name: mongo-data
mountPath: /data/db
livenessProbe:
exec:
command:
- mongo
- --eval
- "db.adminCommand('ping')"
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
exec:
command:
- mongo
- --eval
- "db.adminCommand('ping')"
initialDelaySeconds: 5
periodSeconds: 10
volumeClaimTemplates:
- metadata:
name: mongo-data
spec:
accessModes:
- "ReadWriteOnce"
resources:
requests:
storage: 20Gi

0 comments on commit e73d33c

Please sign in to comment.