projectcalico / k8s-exec-plugin

[Deprecated] Kubernetes Exec Plugin
Apache License 2.0
47 stars 12 forks source link

Reason for running calico/node container on kubernetes master #112

Closed adohe-zz closed 8 years ago

adohe-zz commented 8 years ago

FYI. Why we have to run calico/node container on kubernetes master?

caseydavenport commented 8 years ago

@AdoHe - calico/node needs to run on the kubernetes master so that it knows how to route to pod IP addresses.

The typically example is the Kubernetes DNS addon - the pod needs to access the Kubernetes API running on the master, and so the master must be able to route packets back to the pod.