In kube v1.2 Service has an annotation called 'service.beta.kubernetes.io/load-balancer-source-ranges' which can set this if your cloud provider supports it. In v1.3 that is promoted to a field 'Service.spec.loadBalancerSourceRanges`
On Mon, May 23, 2016 at 6:47 AM, toms <[email protected]> wrote: > For interested people, use table FORWARD for doing this > > > Le lundi 23 mai 2016 11:31:26 UTC+2, toms a écrit : >> >> Hi, >> >> I've setup a k8s cluster and deployed some services in loadbalancer mode >> (public port), and I want that only some IPs have access to this services. >> >> How can I setup iptables on my nodes for doing this ? >> For now, accessing to master_ip:port (or workerX_ip:port) is authorized. >> >> Thomas >> >> > -- > You received this message because you are subscribed to the Google Groups > "Containers at Google" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-containers. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Containers at Google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-containers. For more options, visit https://groups.google.com/d/optout.
