#800  Able to use PVC instead of host path to store cache in k8s deployment
Closed
Robin Shen opened 2 years ago
No description
Robin Shen referenced from other issue 2 years ago
Maciej Grabowski commented 2 years ago

Just to be clear - any type of storage used in Kubernetes should be acquired by PVC, be it cache, project workspace or anything else.

Maciej Grabowski commented 1 year ago

Any chance for improvements in that matter in near future? I see it was raised few times (issue onedev/server#442) and lack of support for PVC makes OneDev completely incompatible with any production Kubernetes cluster, and that's de facto standard platform for container workloads.

Robin Shen commented 1 year ago

This change is not trivial, and I may not be able to come up with it very soon.

Robin Shen added to milestone "10.1.0" 3 months ago
Robin Shen commented 3 months ago

The cache mechanism will be reworked to tar specified directory to OneDev server and untar when needed, the same way as GitHub/GitLab does. This approach is considerably slower than local volume mounting, especially when handing many many small files (such as npm modules), but is easier to manage and share.

The upcoming 10.1 release will also provide an option to use dynamically provisioned PVC for job workspace (#1729).

Robin Shen changed state to 'Closed' 2 months ago
Previous Value Current Value
Open
Closed
Robin Shen commented 2 months ago

Fixed via issue #1732

issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Milestones
Issue Votes (0)
Watchers (5)
Reference
onedev/server#800
Please wait...
Page is in error, reload to recover