Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm using lb for prod site. But for internal services (like gitlab, jenkins) I don't want to host a lb. Is there any alternative way to connect to internal services without the use of load balancers? Like could any bastion host do the job?

Having lb for prod and internal services seems to cost around 35 to 45 dollars. I'm trying to reduce the total bill.

I have a nginx ingress controller for production site, wondering if I could do something with it using subdomains for internal services.

question from:https://stackoverflow.com/questions/65650727/gcp-gke-loadbalancer-alternative

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
393 views
Welcome To Ask or Share your Answers For Others

1 Answer

Services on a Kubernetes cluster can talk to each other using their ClusterIP, without any use of a load balancer. The IP can be returned using the internal DNS service such as KubeDNS or CoreDNS

For more details

If you need to connect services in different clusters i’d take a look at Kubefed or Submarier for Multi-Cluster deployment. Which by the way also harness the use of DNS service discovery (this is the term used for in-kubernetes service communication) for service-to-service communication. Kubefed Submariner


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...