-
Notifications
You must be signed in to change notification settings - Fork 90
Add support for --allow-downgrades flag in init container #2066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,11 @@ This option does not depend on cloud provider config file, supports cross subscr | |
> If you want to install a lower version of blobfuse2 than the current version, you can add ` --allow-downgrades` to the `BLOBFUSE2_VERSION` value, e.g. | ||
> ```console | ||
> kubectl patch daemonset csi-blob-node -n kube-system -p '{"spec":{"template":{"spec":{"initContainers":[{"env":[{"name":"INSTALL_BLOBFUSE2","value":"true"},{"name":"BLOBFUSE2_VERSION","value":"2.3.0 --allow-downgrades"}],"name":"install-blobfuse-proxy"}]}}}}' | ||
> ``` | ||
> | ||
> Alternatively, when using Helm charts, you can use the dedicated `allowBlobfuse2Downgrades` parameter for cleaner configuration: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. revert all changes in README.md There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All README.md changes have been reverted as requested. The file is now back to its original state. (8a1a96c) |
||
> ```console | ||
> helm upgrade --set node.blobfuseProxy.blobfuse2Version="2.3.0" --set node.blobfuseProxy.allowBlobfuse2Downgrades=true blob-csi-driver charts/latest/blob-csi-driver | ||
> ``` | ||
|
||
- install by [helm charts](./charts) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,10 +88,14 @@ spec: | |
value: "{{ .Values.node.blobfuseProxy.installBlobfuse }}" | ||
- name: BLOBFUSE_VERSION | ||
value: "{{ .Values.node.blobfuseProxy.blobfuseVersion }}" | ||
- name: ALLOW_BLOBFUSE_DOWNGRADES | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. blobfuse install is already deprecated, pls remove this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the deprecated |
||
value: "{{ .Values.node.blobfuseProxy.allowBlobfuseDowngrades }}" | ||
- name: INSTALL_BLOBFUSE2 | ||
value: "{{ .Values.node.blobfuseProxy.installBlobfuse2 }}" | ||
- name: BLOBFUSE2_VERSION | ||
value: "{{ .Values.node.blobfuseProxy.blobfuse2Version }}" | ||
- name: ALLOW_BLOBFUSE2_DOWNGRADES | ||
value: "{{ .Values.node.blobfuseProxy.allowBlobfuse2Downgrades }}" | ||
- name: INSTALL_BLOBFUSE_PROXY | ||
value: "{{ .Values.node.enableBlobfuseProxy }}" | ||
- name: SET_MAX_OPEN_FILE_NUM | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,8 +122,10 @@ node: | |
blobfuseProxy: | ||
installBlobfuse: false | ||
blobfuseVersion: "1.4.5" | ||
allowBlobfuseDowngrades: false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. blobfuse install is already deprecated, pls remove this parameter There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the deprecated |
||
installBlobfuse2: true | ||
blobfuse2Version: "2.4.1" | ||
allowBlobfuse2Downgrades: false | ||
setMaxOpenFileNum: true | ||
maxOpenFileNum: "9000000" | ||
disableUpdateDB: true | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this change in README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the README.md changes as requested. (e4e4e18)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove all changes in README.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed all README.md changes as requested. The file has been reverted to its original state before any modifications.