繁体   English   中英

EKS:同步负载均衡器时出错:无法确保负载均衡器:例如找到多个标记的安全组

[英]EKS: Error syncing load balancer: failed to ensure load balancer: Multiple tagged security groups found for instance

Warning  SyncLoadBalancerFailed  54s (x4 over 91s)  service-controller  Error syncing load balancer: failed to ensure load balancer: Multiple tagged security groups found for instance i-05f3a11329a20bb93; ensure only the k8s security group is tagged; the tagged groups were sg-08ca90265d3402e6c(education-eks-ooHfNJwm-node-20221205083117267100000007) sg-04ad04b5d3bb35e66(eks-cluster-sg-education-eks-ooHfNJwm-1857011925)
  Normal   EnsuringLoadBalancer    14s (x5 over 94s)  service-controller  Ensuring load balancer
  Warning  SyncLoadBalancerFailed  13s                service-controller  Error syncing load balancer: failed to ensure load balancer: Multiple tagged security groups found for instance i-046c2cc46714af250; ensure only the k8s security group is tagged; the tagged groups were sg-08ca90265d3402e6c(education-eks-ooHfNJwm-node-20221205083117267100000007) sg-04ad04b5d3bb35e66(eks-cluster-sg-education-eks-ooHfNJwm-1857011925)

我使用以下代码创建了集群: eks using terraform

添加 eks 模块将解决问题。

node_security_group_tags = {
    "kubernetes.io/cluster/${var.cluster_name}" = null
  }

参考:

https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1986 https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1810

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM