Shared PersistenceVolumeClaim(PVC) across namespaces

6/21/2018

Is it possible to reference a PVC (in namespace-A) from namespace-B. Why I need that? I would like to allow the customer (private cloud) to point their volume through PVC, allowing them full control of the storage. At the Helm install time will ask for PVC information and will be used in the pod spec.

-- Obidul Islam
kubernetes
kubernetes-pvc

1 Answer

6/21/2018

It looks impossible, just because PersistentVolumeClaim is a namespaced object. You can look detailed answer here: https://stackoverflow.com/a/35366775/9065705

-- Konstantin Vustin
Source: StackOverflow