-
Notifications
You must be signed in to change notification settings - Fork 84
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
feat: support blobfuse-proxy on OpenShift #1045
Conversation
/ok-to-test |
/assign @jsafrane |
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.
since there are a few different behaviors between Ubuntu and OpenShift, e.g.
- blobfuse-proxy path
- blobfuse install
- other os related env changes
I think it's better making separate init.sh and blobfuse-proxy.service for Ubuntu and CoreOS, that would version upgrade as little risky as possible.
I've split the installation script into two different scripts for different Linux dstros. Please take another look. @andyzhangx @jsafrane |
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.
From what I can tell without testing, this looks good for RHCOS.
@@ -0,0 +1,68 @@ | |||
#!/bin/sh | |||
|
|||
# Copyright 2019 The Kubernetes Authors. |
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.
Nit: 2024
- name: host-usr | ||
mountPath: /host/usr | ||
- name: host-usr-local | ||
mountPath: /host/usr/local |
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.
Is this necessary if you have already /host/usr
?
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.
Yes, for coreOS, /usr/ and /usr/local are different mount point.
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.
I think what @jsafrane mean is that since L102 is already mounting with /usr
, why not resuse this mount point
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.
Becase for coreOS, /usr/local is not a subpath of /usr, it's a different mount point, so we have to mount /usr/local and /usr seperately.
Hi @feiskyer, It seems that the PR is pending your approval currently, please let us know if any further contribution is needed from Red Hat end in order to successfully proceed with the testing. |
@rh-aelgendy this PR has conflict now, weizhi is on vacation, we will try to merge this PR next week when weizhi is back. |
/retest |
commit 0c185e7 Merge: bd1e028 3f47b3e Author: weizhichen <weizhichen@microsoft.com> Date: Mon Nov 6 05:27:11 2023 +0000 Merge branch 'master' of https://github.com/kubernetes-sigs/blob-csi-driver into support-openshift commit bd1e028 Author: weizhichen <weizhichen@microsoft.com> Date: Wed Oct 18 08:40:28 2023 +0000 fix commit 6270feb Merge: 697f9ab b99e1cf Author: weizhichen <weizhichen@microsoft.com> Date: Wed Oct 18 07:30:33 2023 +0000 Merge branch 'master' of https://github.com/kubernetes-sigs/blob-csi-driver into support-openshift commit 697f9ab Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 08:07:59 2023 +0000 arm commit c79dc0f Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 07:16:45 2023 +0000 fix commit 7096aa8 Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 07:06:17 2023 +0000 fix commit 617ea0e Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 06:48:07 2023 +0000 add mariner commit 2f4473c Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 06:06:48 2023 +0000 fix commit ee5e239 Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 06:01:50 2023 +0000 fix commit fd8e1f5 Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 05:47:02 2023 +0000 fix commit babe2f0 Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 05:44:54 2023 +0000 fix commit 6ce12c8 Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 04:17:51 2023 +0000 support openshift commit 38f50a9 Author: weizhichen <weizhichen@microsoft.com> Date: Mon Oct 16 02:48:57 2023 +0000 Revert "support openshift" This reverts commit e15df33. commit e15df33 Author: weizhichen <weizhichen@microsoft.com> Date: Fri Oct 13 07:27:24 2023 +0000 support openshift
0c185e7
to
fd67c9d
Compare
/retest |
2 similar comments
/retest |
/retest |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx, cvvz, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherrypick release-1.23 |
@andyzhangx: #1045 failed to apply on top of branch "release-1.23":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@cvvz could you cherrypick to release-1.23 manually? |
What type of PR is this?
/kind feature
What this PR does / why we need it:
support blob-csi-driver in openshift
Which issue(s) this PR fixes:
Fixes #791
Requirements:
Special notes for your reviewer:
in coreos, we could just copy the blobfuse2 binary to /usr/local/bin/blobfuse2
Release note: