Gluster StorageClasses: Use heketi internal service address instead of external route
Issue
-
When installed CNS with openshift_storage_glusterfs_heketi_is_native=true (default),
e.g)
[glusterfs]
knakayam-ose39-c-node1.example.com glusterfs_devices='[ "/dev/vdb" ]'
knakayam-ose39-c-node2.example.com glusterfs_devices='[ "/dev/vdb" ]'
knakayam-ose39-c-node3.example.com glusterfs_devices='[ "/dev/vdb" ]'
storageclass has an external route for the resturl.
[root@knakayam-ose39-c ~]# oc get sc -o yaml |grep resturl
resturl: http://heketi-storage-glusterfs.10.64.222.1.xip.io
- It is not possible to use service name like below?
resturl: http://heketi-storage.glusterfs.svc.cluster.local:8080
Environment
- OpenShift Container Platform
- 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
