Skip to content
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

Add comments to CreateVolume in pkg/ddc/goosefs/cache.go #4825

Open
Ins1s10ce opened this issue Mar 31, 2025 · 0 comments · May be fixed by #4826
Open

Add comments to CreateVolume in pkg/ddc/goosefs/cache.go #4825

Ins1s10ce opened this issue Mar 31, 2025 · 0 comments · May be fixed by #4826

Comments

@Ins1s10ce
Copy link

Which function do you want to add comments to?

CreateVolume in pkg/ddc/goosefs/cache.go

What comments do you want to add?

// CreateVolume creates PersistentVolume and PersistentVolumeClaim for GooseFS runtime. // It creates the following resources in order: // 1. Fuse PersistentVolume for accessing GooseFS file system from pods. // 2. Fuse PersistentVolumeClaim matching the created PV. // 3. HCFS PersistentVolume for compatibility with Hadoop Compatible File System interface. // The method handles getting runtime information, constructing appropriate PV/PVC specs // based on the runtime configuration, and creating them in the Kubernetes cluster. // Returns error if any of the creation operations fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant