将https负载均衡器的白名单/过滤传入ips [英] Whitelist/Filter incoming ips for https load balancer

查看:300
本文介绍了将https负载均衡器的白名单/过滤传入ips的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Google Container Engine与Kubernetes结合使用. 我创建了一个https负载均衡器,该负载均衡器终止ssl并将流量转发到k8s集群节点.问题是我看不到将进入的IP地址列入白名单/过滤的选项.有没有?

I use Google Container Engine with Kubernetes. I have created an https load balancer which terminates ssl and forwards traffic to k8s cluster nodes. The problem is I see no option to whitelist/filter incoming ip addresses. Is there any?

推荐答案

如果尚无法使用gce控制器[1],则只有nginx控制器[2]接受白名单ip.

If you're using gce controller is not yet possible[1], just nginx controller[2] accept whitelist ip.

[1] https://github.com/kubernetes/ingress/issues/566

[2] https: //github.com/kubernetes/ingress/blob/188c64aaac17ef29400e0f143b9aed7770e32fee/controllers/nginx/configuration.md#whitelist-source-range

这篇关于将https负载均衡器的白名单/过滤传入ips的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆