简体   繁体   English

AWS EKS - 创建负载均衡器服务将停止服务

[英]AWS EKS - Create Load Balancer Service throws out of service

I have a quick question regarding AWS EKS that whenever I create a K8s service with of type LoadBalancer, it provisions a classic ELB backed the EC2 where services are running. 我有一个关于AWS EKS的快速问题,每当我创建一个类型为LoadBalancer的K8s服务时,它就会提供一个经典的ELB支持运行服务的EC2。 Now whenever I try to hit the Load Balancer ELB from the Internet, it returns ERR_EMPTY_RESPONSE error. 现在,每当我尝试从Internet访问Load Balancer ELB时,它都会返回ERR_EMPTY_RESPONSE错误。 If I navigate back to ELB and look at the instances behind ELB, it shows the status of EC2 instances as OutOfService. 如果我导航回ELB并查看ELB背后的实例,它会将EC2实例的状态显示为OutOfService。

This happens either I use my own K8s deployments & services or the one provided with documentation. 发生这种情况要么是我使用自己的K8s部署和服务,要么是使用文档提供的部署和服务。 Anyone can help me with this? 有人可以帮我这个吗? More over, is there any way to provision a different type of Load Balancer for a K8s service? 更重要的是,有没有办法为K8s服务配置不同类型的负载均衡器? Thanks. 谢谢。

This is default behavior or K8S with on cloud providers , A service type Load Balancer will spins up real one which affect cost. 这是默认行为或K8S与云提供商,服务类型负载均衡器将旋转实际影响成本。 Better to use K8S Ingress as best practice and can use as Endpoint or you can add under External Load Balancer. 最好使用K8S Ingress作为最佳实践,并可以用作Endpoint,或者可以在External Load Balancer下添加。

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

相关问题 AWS EKS - Terraform 在应用 LoadBalancer 服务后不创建负载均衡器 - AWS EKS - Terraform does not create load balancer after applying LoadBalancer service 负载均衡器的 AWS EKS 服务 EXTERNAL-IP 处于待处理状态 - AWS EKS service EXTERNAL-IP of load balancer is Pending EKS 服务 504 网关超时 - AWS 应用程序负载均衡器 Controller - EKS Service 504 Gateway Timeout - AWS Application Load Balancer Controller AWS EKS 负载均衡器服务卡在外部 IP [待定] - AWS EKS load balancer service stuck at external-ip[pending] 使用 NGINX 入口公开 EKS 上的服务和负载均衡器问题 - Exposing a service on EKS using NGINX ingress and issues with load balancer kubectl 等待 AWS EKS 上的服务公开在.status.loadBalancer.ingress 字段中报告的 Elastic Load Balancer (ELB) 地址 - kubectl wait for Service on AWS EKS to expose Elastic Load Balancer (ELB) address reported in .status.loadBalancer.ingress field 使用应用程序负载均衡器在aws ECS上进行服务发现 - Service discovery on aws ECS with Application Load Balancer AWS EKS aws-load-balancer-controller - AWS EKS aws-load-balancer-controller 为现有ECS服务创建负载均衡器 - Create a load balancer for existing ECS service AWS EKS - 创建负载均衡器 controller 失败 - AWS EKS - Failure creating load balancer controller
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM