Skip to content

Commit

Permalink
fix worker cas
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryang20718 committed Feb 15, 2023
1 parent 14938ee commit c5d7635
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions kubernetes/config/worker-ubuntu22-04.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ data:
fast: {
'local': {
keyLocationMapOnBlockDevice: {
file: {
path: '/storage-worker-cas/key_location_map',
sizeBytes: 100 * 1024 * 1024,
},
file: {
path: '/storage-worker-cas/key_location_map',
sizeBytes: 100 * 1024 * 1024,
},
},
keyLocationMapMaximumGetAttempts: 8,
keyLocationMapMaximumPutAttempts: 32,
Expand Down
7 changes: 4 additions & 3 deletions kubernetes/worker-ubuntu22-04.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
command:
- sh
- -c
- mkdir -pm 0777 /worker/build && mkdir -pm 0700 /worker/cache && mkdir -pm 0777 /storage-worker-cas && chmod 0777 /worker
- mkdir -pm 0777 /worker/build && mkdir -pm 0700 /worker/cache && mkdir -pm 0777 /storage-worker-cas/persistent_state && chmod 0777 /worker
volumeMounts:
- mountPath: /worker
name: worker
Expand Down Expand Up @@ -97,5 +97,6 @@ spec:
path: common.libsonnet
- emptyDir: {}
name: worker
- emptyDir: {}
name: storage-worker-cas
- name: storage-worker-cas
emptyDir: {}

0 comments on commit c5d7635

Please sign in to comment.