Skip to content

Commit

Permalink
add limits for ephemeral storage (#1852)
Browse files Browse the repository at this point in the history
  • Loading branch information
davejrt authored Feb 18, 2021
1 parent 92988e3 commit 731e3dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/frontend/sourcegraph-frontend.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ spec:
resources:
limits:
cpu: "2"
ephemeral-storage: "8Gi"
memory: 4G
requests:
cpu: "2"
ephemeral-storage: "4Gi"
memory: 2G
volumeMounts:
- mountPath: /mnt/cache
Expand Down
2 changes: 2 additions & 0 deletions base/searcher/searcher.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ spec:
resources:
limits:
cpu: "2"
ephemeral-storage: "8Gi"
memory: 2G
requests:
cpu: 500m
ephemeral-storage: "4Gi"
memory: 500M
volumeMounts:
- mountPath: /mnt/cache
Expand Down
2 changes: 2 additions & 0 deletions base/symbols/symbols.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ spec:
resources:
limits:
cpu: "2"
ephemeral-storage: "8Gi"
memory: 2G
requests:
cpu: 500m
ephemeral-storage: "4Gi"
memory: 500M
volumeMounts:
- mountPath: /mnt/cache
Expand Down

0 comments on commit 731e3dc

Please sign in to comment.