Able to use PVC instead of host path to store cache in k8s deployment (OD-800)
Robin Shen opened 4 years ago
No description
  • Maciej Grabowski commented 4 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 3 years 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 3 years ago

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

  • Robin Shen added to iteration "10.1.0" 2 years ago
  • Robin Shen commented 2 years 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 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 2 years ago

    Fixed via issue #1732

issue 1/1
Type
Improvement
Priority
Normal
Assignee
Iterations
Issue Votes (0)
Watchers (5)
Reference
OD-800
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover