简体   繁体   English

什么是服务中已弃用的 loadBalancerIP 属性的替代品

[英]What is the replacement for the deprecated loadBalancerIP attribute in Services

In the ServiceSpec documentation, the loadBalancerIP attribute is deprecated.ServiceSpec文档中,不推荐使用 loadBalancerIP 属性。 The documentation invites users of Kubernetes 1.24 to use implementation specific annotations.该文档邀请 Kubernetes 1.24 的用户使用特定于实现的注释。 I was wondering what is the plan for Load Balancers when using GKE, since the documentation still only gives the option of using the loadBalancerIP attribute (Ref: https://cloud.google.com/kubernetes-engine/docs/concepts/service-load-balancer-parameters#spd-static-ip ).我想知道使用 GKE 时负载均衡器的计划是什么,因为文档仍然只提供了使用 loadBalancerIP 属性的选项(参考: https://cloud.google.com/kubernetes-engine/docs/concepts/service-负载平衡器参数#spd-static-ip )。

Here is the discussion on the k8s github about what's going to happen to that field [1]这是关于 k8s github 的讨论,关于该领域将会发生什么[1]

My understanding from reading the conversation and the documentation you pointed out is that there is a consensus that the field needs to go away because it doesn't support dual-stack.通过阅读对话和您指出的文档,我的理解是,该领域需要 go 离开,因为它不支持双堆栈。 But for now and until cloud providers have an alternative (via annotation) to setting a static LB IP.但是现在和直到云提供商有替代方法(通过注释)来设置 static LB IP。 That field will remain and will continue to work.该领域将继续存在并将继续发挥作用。

We (GCP) don't have that alternative yet.我们(GCP)还没有那个选择。 So for now you continue using that field until we have it implemented.因此,现在您继续使用该字段,直到我们实现它为止。 In any case it will be mentioned in the GKE release notes无论如何,它都会在 GKE 发行说明中提及

[1] https://github.com/kubernetes/enhancements/pull/1992 [1] https://github.com/kubernetes/enhancements/pull/1992

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

相关问题 用户、组、角色、策略和 AWS 服务之间的关系是什么? - What is the relation between user, group, role, policy and AWS services? WSO2 身份服务器 6.0.0 SOAP API 替换 - WSO2 identity server 6.0.0 SOAP APIs Replacement 为已部署的 Kube.netes 服务获取 YAML? - Get YAML for deployed Kubernetes services? PubSub Zonal Lite 警告的区域服务可用性风险究竟是什么? - What exactly are the zonal services availability risks that PubSub Zonal Lite warns about? 我们应该为每个租户使用单独的服务吗? - Should we use separate services for each tenant? IAM 角色访问另一个 AWS 账户的服务 - IAM role to access services of another AWS account API appengine 微服务网关? - API gateway for appengine micro-services? go 模块 - 替换不起作用 - 没有版本的替换模块必须是目录路径(根或以 - go modules - replace does not work - replacement module without version must be directory path (rooted or starting with Google Cloud sql 5.6+ 是否已弃用存储过程中的“CREATE TEMPORARY TABLE”? - Is "CREATE TEMPORARY TABLE" in store procedure is deprecated for Google Cloud sql 5.6+? 如何替换已弃用的 aws ecr get-login --registry-ids - How to replace deprecated aws ecr get-login --registry-ids
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM