npci / falcon

Falcon: The Hyperledger Fabric Deployment Helper for Kubernetes is an open-source project designed to streamline the deployment and management of Hyperledger Fabric based blockchain networks on K8.
GNU General Public License v3.0
393 stars 41 forks source link

Add support to use default service dns instead of custom dns and ingress controller #15

Open runitmisra opened 9 months ago

runitmisra commented 9 months ago

Users should have the option to not use ingress to pass traffic through, utilizing the default service dns instead of a custom domain. This would help remove dependency on passing traffic through ingress controller removing possible bottlenecks in single cluster environments.

tittuvarghese commented 9 months ago

This is a good feature for a closed loop network / benchmarking / test environments. It can create problems when multi-dc or multi-cluster mode deployment happens as the resolution fails.

jithindevasia commented 9 months ago

@runitmisra Try out the 1.1.0 by adjusting the values file accordingly. Ie, instead of providing a domain.com as the hlf_domain, just use namespace.svc.cluster.local. Example, for ica-org1 deployment, the k8s service name will get rendered as ica-org1. Since the CSR is for ‘ica-org1’ and ica-org1.namespace.svc.cluster.local it will be reachable within the cluster without ingress controller or additional dns entries. All you need to do is adjust the values accordingly. Please try it out and update where it is breaking with logs.