简体   繁体   English

为什么部署 Kong 入口 controller 会自动在 Azure Openshift ZBA01976E98AF9BAAAD68 中提供 Azure 负载均衡器

[英]Why does deploying a Kong ingress controller auto provisions a Azure load balancer in Azure Openshift kubernetes

I have created an Openshift cluster where my pods and services are running.我创建了一个运行我的 pod 和服务的 Openshift 集群。 Before creating an ingress, i deployed a Kong ingress controller that auto provisioned a Azure load balancer.在创建入口之前,我部署了一个自动配置了 Azure 负载均衡器的 Kong 入口 controller。

在此处输入图像描述

From my understanding, Kong uses Nginx that can be configured to be used as a load balancer itself.据我了解,Kong 使用 Nginx 可以配置为本身用作负载均衡器。 Why does it need a Load balancer to be provisioned by Cloud infrastructure on which kubernetes cluster is running?为什么运行 kubernetes 集群的云基础设施需要负载均衡器来配置?

You might have deployed the Kong Ingress controller with the service type: LoadBalancer您可能已经部署了具有服务type: LoadBalancer

LoadBalancer service type is mainly use to expose the Kubernetes service using LB of Cloud provider. LoadBalancer服务类型主要用于使用Cloud Provider 的 LB 暴露Kubernetes服务。

ref: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer参考: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer

You can change the Kong service type to ClusterIP and it will as expected it will forward the request.您可以将 Kong 服务类型更改为ClusterIP ,它会按预期转发请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure kubernetes - 带有内部负载均衡器的 Istio 控制器 - Azure kubernetes - Istio controller with Internal load balancer Azure ACS-如何使用内部负载平衡器创建入口控制器 - Azure ACS - How to create ingress controller with internal load balancer 为什么即使我将 AppGateway 用作入口 Controller,也会在 AKS 中创建 Azure 负载均衡器? - Why Azure Load Balancer gets created in AKS even though I have used AppGateway as an Ingress Controller? 无法使用 AKS 私有负载均衡器注释 Kong 入口 controller - Not able to annotate the Kong ingress controller with AKS private load balancer Azure Kubernetes的NGiNX Ingress Controller是否支持多种协议 - Does NGiNX Ingress Controller of Azure Kubernetes support multiple protocol 将所有 TCP 和 UDP 端口从负载均衡器转发到 Azure Kubernetes 服务上的 nginx 入口 - Forward all TCP and UDP ports from load balancer to nginx ingress on Azure Kubernetes Service 无法访问Azure上的Kubernetes Nginx入口控制器 - Kubernetes nginx ingress-controller on Azure not reachable 使用 Azure 在 Kubernetes 中创建 NGINX 入口控制器 - Create an NGINX ingress controller in Kubernetes, using Azure 带有入口控制器 AKS 的自定义域和 Azure Kubernetes - Custom domain and Azure Kubernetes with ingress controller AKS Azure VNet ip 到 Kubernetes 入口 Z594C103F2C6E14C3D8AB059F01 - Azure VNet ip to Kubernetes Ingress controller
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM