<p>The kube-proxy gets the Services and Endpoints information from the master api, but how?</p>

<p>According to these links:</p>

<p><a href="http://kubernetes.io/docs/user-guide/services/#proxy-mode-iptables" rel="nofollow">http://kubernetes.io/docs/user-guide/services/#proxy-mode-iptables</a> </p>

<p><a href="https://github.com/kubernetes/kubernetes/blob/ee2a0694b649941fc0c3be606746db041b75b91d/cmd/kube-proxy/app/server.go" rel="nofollow">https://github.com/kubernetes/kubernetes/blob/ee2a0694b649941fc0c3be606746db041b75b91d/cmd/kube-proxy/app/server.go</a> </p>

<p>The proxy seems to be a watcher of the master api, so the update of the proxy information is immediate. </p>

<p>But then, what is the parameter <strong>config-sync-period</strong> ( <strong>How often configuration from the apiserver is refreshed.  Must be greater than 0.</strong> ) in the proxy that defaults to 15 min?</p>

<p>What configuration is refreshed?</p>

<p>The sync period is how often we force-refresh the whole state, rather than just doing incremental deltas.  This is a safegauard against potential bugs that might cause syncronized state to drift.</p>
