Skip to content

Commit

Permalink
add updateStrategy for juicefs fuse (#2375)
Browse files Browse the repository at this point in the history
Signed-off-by: zwwhdls <zww@hdls.me>

Signed-off-by: zwwhdls <zww@hdls.me>
  • Loading branch information
zwwhdls authored and cheyang committed Jan 3, 2023
1 parent 07edc39 commit 0dd4fc6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/juicefs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ Support configurable tieredstore's volume type

0.2.8
- Add volumes and volumeMounts to worker and fuse

0.2.9
- Add updateStrategy for fuse
2 changes: 1 addition & 1 deletion charts/juicefs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: juicefs
apiVersion: v1
description: FileSystem aimed for data analytics and machine learning in any cloud.
version: 0.2.8
version: 0.2.9
appVersion: v1.0.0
home: https://juicefs.com/
maintainers:
Expand Down
2 changes: 2 additions & 0 deletions charts/juicefs/templates/fuse/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ metadata:
uid: {{ .Values.owner.uid }}
{{- end }}
spec:
updateStrategy:
type: {{ .Values.fuse.updateStrategy.type }}
selector:
matchLabels:
app: {{ template "juicefs.name" . }}
Expand Down
2 changes: 2 additions & 0 deletions charts/juicefs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ fuse:
hostMountPath: /mnt/jfs
command: "/usr/local/bin/juicefs mount /mnt/jfs"
statCmd: "stat -c %i /mnt/jfs"
updateStrategy:
type: OnDelete
resources:
requests:
# cpu: "0.5"
Expand Down

0 comments on commit 0dd4fc6

Please sign in to comment.