https://rancher.com/ logo
Title
b

bitter-tailor-6977

05/15/2023, 1:06 PM
Hi, we have installed the longhorn in default namespace (longhorn-system) now we need to access the services of Longhorn from other namespace like default or any ? how to do ?
a

agreeable-oil-87482

05/15/2023, 1:13 PM
Once longhorn is installed any workload in any namespace can request persistent volumes
b

bitter-tailor-6977

05/15/2023, 1:25 PM
no longhorn-backend is unable to call from default namespace
curl: (6) Could not resolve host: longhorn-backend
i am trying to see the size of the pvc from default namespace, so just tried the longhorn-backend:9500 and i am not able to reach
a

agreeable-oil-87482

05/15/2023, 1:40 PM
Use the FQDN
b

bitter-tailor-6977

05/15/2023, 6:10 PM
great from which longhorn API we can get the size and used size of the PVC ?
trying out this - http://longhorn-backend.longhorn-system.svc.cluster.local:9500/v1/volumes but used disk values not found ?
figured out, anyways thanks a lot