https://www.nginx.com/resources/webinars/bringing-kubernetes-to-the-edge-with-nginx-plus/
However in doing so I get constant updates/modifications to the following endpoints :
- kubernetes
- kube-controller-manager
- calico-policy-election
- kube-scheduler
As the solution polls the Nginx status for every update this causes lots of traffic to hit the Nginx server (7k requests in a 1 hour period).
Is this normal? For these services endpoints to change every second or so?
Thanks
Also note that if you delete all PODs in a SVC there is no update sent for the final POD removed. Therefore you don't get that notification and can't update the external LB to remove the last entry.
On Tuesday, June 21, 2016 at 12:32:49 PM UTC-7, Matthew Ceroni wrote:I am using a side car container to monitoring the Endpoints API for changes (/api/v1/endpoints?watch=true) to update an external load balancer. Basically the solution demoed here :https://www.nginx.com/resources/webinars/bringing-kubernetes-to-the-edge-with-nginx-plus/
However in doing so I get constant updates/modifications to the following endpoints :
- kubernetes
- kube-controller-manager
- calico-policy-election
- kube-scheduler
As the solution polls the Nginx status for every update this causes lots of traffic to hit the Nginx server (7k requests in a 1 hour period).
Is this normal? For these services endpoints to change every second or so?
Thanks
--
You received this message because you are subscribed to the Google Groups "kubernetes-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-de...@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/f43a366e-cd6a-4bc1-9c05-5d55eb27ae74%40googlegroups.com.
➜ nginx git:(master) kubectl --namespace=kube-system get ep kube-controller-manager --watch-only
NAME ENDPOINTS AGE
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
kube-controller-manager <none> 4h
I just keeps updating every second with the same output. Is this to be expected? Same thing happens with kube-scheduler, and calico-policy-election.
Thanks