简体   繁体   English

自定义 Apache Ignite Kube.netes Operator 以创建类型为“ClusterIP”而不是“LoadBalancer”的服务

[英]Customize Apache Ignite Kubernetes Operator to create service of type "ClusterIP" instead of "LoadBalancer"

We have deployed Apache ignite 2.14 in Kube.netes using GridGain's Operator .我们已经使用GridGain 的 Operator在 Kube.netes 中部署了 Apache ignite 2.14。

The Operator is creating the service of type "LoadBalancer", when we try to change the type as "ClusterIP" operator is change it back to "LoadBalancer".运营商正在创建类型为“LoadBalancer”的服务,当我们尝试将类型更改为“ClusterIP”时,运营商正在将其改回“LoadBalancer”。 We are trying to use this in production, so we cannot expose public IP. We need service of type "ClusterIP"我们正在尝试在生产中使用它,所以我们不能公开公共 IP。我们需要“ClusterIP”类型的服务

Is there any way to tell the operator to create the service as "ClusterIP" instead of "LoadBalancer"?有没有办法告诉操作员将服务创建为“ClusterIP”而不是“LoadBalancer”?

Also is there any way to pass the tolerations & affinity information to operator, so that operator will create the ignite cluster based on that affinity?还有什么方法可以将容忍度和亲和力信息传递给操作员,以便操作员根据该亲和力创建点燃集群?

As per this config , there is not a setting which could direct the operator to根据这个配置,没有可以指导操作员的设置
use anything except a LoadBalancer.使用 LoadBalancer 以外的任何东西。 You can however, adjust the settings on your cloud provider to make the IP not be visible to the outside world.但是,您可以调整云提供商的设置,使 IP 对外界不可见。

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

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