We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7953d60 commit c922be8Copy full SHA for c922be8
config/samples/v1_cachegroup.yaml
@@ -34,6 +34,10 @@ spec:
34
nodeSelector:
35
juicefs.io/cg-worker: "true"
36
image: juicedata/mount:ee-5.1.1-1faf43b
37
+ tolerations:
38
+ - key: node-role.kubernetes.io/control-plane
39
+ operator: Exists
40
+ effect: NoSchedule
41
hostNetwork: true
42
resources:
43
requests:
@@ -47,13 +51,22 @@ spec:
47
51
type: HostPath
48
52
opts:
49
53
- group-weight=100
54
+ - cache-size=204800
55
+ - free-space-ratio=0.01
50
56
overwrite:
57
- nodes:
58
- k8s-03
59
60
- group-weight=50
61
+ - cache-size=102400
62
63
cacheDirs:
64
- path: /var/jfsCache-1
65
66
- path: /var/jfsCache-2
67
68
+ - nodeSelector:
69
+ k8s/instance-type: c5.large
70
+ opts:
71
+ - group-weight=10
72
+ - cache-size=1024
0 commit comments