Skip to content

Commit

Permalink
feat(*): fix mongo RAM (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbmj authored and caicloud-bot committed Nov 15, 2019
1 parent 8d96daf commit 68474e8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions release/infra-mongo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ _config:
template:
type: template.caicloud.io/application
version: 1.0.0
version: "v0.0.6"
version: "v0.0.7"
controllers:
- containers:
- name: mongo
image: '[[ registry_library ]]/mongo:3.6.5'
image: '[[ registry_library ]]/mongo:3.6.13'
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 500m
memory: 8Gi
requests:
cpu: 100m
memory: 200Mi
memory: 2Gi
probe:
liveness:
handler:
Expand Down Expand Up @@ -53,8 +52,6 @@ _config:
- rs0
- "--bind_ip"
- 0.0.0.0
- "--smallfiles"
- "--noprealloc"
mounts:
- name: mongo-storage
path: /data/db
Expand All @@ -69,7 +66,7 @@ _config:
cpu: 50m
memory: 200Mi
requests:
cpu: 10m
cpu: 20m
memory: 100Mi
env:
- name: MONGO_SIDECAR_POD_LABELS
Expand Down

0 comments on commit 68474e8

Please sign in to comment.