Skip to content

Commit c922be8

Browse files
committed
fix: add more example
Signed-off-by: Xuhui zhang <[email protected]>
1 parent 7953d60 commit c922be8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

config/samples/v1_cachegroup.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ spec:
3434
nodeSelector:
3535
juicefs.io/cg-worker: "true"
3636
image: juicedata/mount:ee-5.1.1-1faf43b
37+
tolerations:
38+
- key: node-role.kubernetes.io/control-plane
39+
operator: Exists
40+
effect: NoSchedule
3741
hostNetwork: true
3842
resources:
3943
requests:
@@ -47,13 +51,22 @@ spec:
4751
type: HostPath
4852
opts:
4953
- group-weight=100
54+
- cache-size=204800
55+
- free-space-ratio=0.01
5056
overwrite:
5157
- nodes:
5258
- k8s-03
5359
opts:
5460
- group-weight=50
61+
- cache-size=102400
62+
- free-space-ratio=0.01
5563
cacheDirs:
5664
- path: /var/jfsCache-1
5765
type: HostPath
5866
- path: /var/jfsCache-2
5967
type: HostPath
68+
- nodeSelector:
69+
k8s/instance-type: c5.large
70+
opts:
71+
- group-weight=10
72+
- cache-size=1024

0 commit comments

Comments
 (0)