-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix CSI and add multi mount #86
Conversation
ssz1997
commented
Oct 20, 2023
- Use default /mnt/alluxio/fuse on host machine for alluxio mount point instead of staging path provided by CSI, which for unknown reason doesn't work.
- Add multi mount check for fuse template
@@ -36,11 +36,6 @@ type controllerServer struct { | |||
func (cs *controllerServer) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest) (*csi.CreateVolumeResponse, error) { | |||
volumeID := sanitizeVolumeID(req.GetName()) | |||
|
|||
if err := cs.Driver.ValidateControllerServiceRequest(csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME); err != nil { |
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.
This check is not needed
@@ -16,8 +16,6 @@ kind: PersistentVolumeClaim | |||
metadata: | |||
name: {{ $fullName }}-alluxio-csi-fuse-pvc | |||
spec: | |||
accessModes: | |||
- ReadWriteOnce |
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.
Lift the restriction
@@ -119,9 +119,6 @@ spec: | |||
- until nslookup {{ $fullName }}-master-0; | |||
do sleep 2; | |||
done | |||
volumeMounts: |
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.
Unnecessary volumeMount.
Ask a question |
@jayxie8 The initContainer of the fuse pod would try to create the staging path if it doesn't exist, but then the actual container is not able to find that path. |