Skip to content

Commit

Permalink
Use resourceFieldRef selector for ephemeral-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
daxmc99 committed Jul 20, 2021
1 parent 2cb8e99 commit e63fb0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions base/searcher/searcher.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ spec:
env:
- name: SEARCHER_CACHE_SIZE_MB
valueFrom:
fieldRef:
fieldPath: spec.resources.requests.ephemeral-storage
resourceFieldRef:
containerName: searcher
resource: requests.ephemeral-storage
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
5 changes: 3 additions & 2 deletions base/symbols/symbols.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ spec:
env:
- name: SYMBOLS_CACHE_SIZE_MB
valueFrom:
fieldRef:
fieldPath: spec.resources.requests.ephemeral-storage
resourceFieldRef:
containerName: symbols
resource: requests.ephemeral-storage
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down

0 comments on commit e63fb0d

Please sign in to comment.