Skip to content

Conversation

@Syspretor
Copy link
Collaborator

@Syspretor Syspretor commented Feb 11, 2025

Currently, many storage products have not been adapted to cloud-native environments and only provide mounting clients suitable for traditional VM environments. In such scenarios, users can only manually mount on Kubernetes nodes and then mount to the Pod using HostPathVolume. For these users, to enable management of this type of mount through dataset orchestration, this PR introduces a fluid.fuse.hostvolume option in the dataset. This configuration will be converted into a hostVolume and related volumeMount of fuse pod in thinruntime, enabling the management of such mountPoints on HostPath through thinruntime. This approach allows users to leverage Fluid's features, such as fluid dataProcess and referenceDataset capabilities.

apiVersion: data.fluid.io/v1alpha1
kind: Dataset
metadata:
  name: dataset-on-host
spec:
  mounts:
  - mountPoint: fsType://$fsId
    name: demo
    path: /
    options:
      fluid.fuse.hostvolume: /host-mountpoint

@Syspretor Syspretor force-pushed the feature/support-hostvolume-mountpoint branch from a4a423f to 623152e Compare February 11, 2025 03:11
@Syspretor Syspretor force-pushed the feature/support-hostvolume-mountpoint branch 5 times, most recently from 5157030 to 092c125 Compare February 12, 2025 05:53
Signed-off-by: jiuyu <guotongyu.gty@alibaba-inc.com>
@Syspretor Syspretor force-pushed the feature/support-hostvolume-mountpoint branch from 092c125 to b47a3fb Compare February 18, 2025 07:49
@sonarqubecloud
Copy link

Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Feb 18, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Syspretor Syspretor merged commit f8cf228 into fluid-cloudnative:master Feb 18, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants