<p>I’ve 3 servers : 1. kubernetes Master 2. kubernetes Minion1 3. kubernetes Minion2</p>

<p>A replication controller (with http service) running on kubernetes master with 4 replicas (pods)  with a cluster IP 10.254.x.x</p>

<p>The cluster IP can accessible via busybox pod that is created by kubectl command.</p>

<p>Now I’ve installed docker on kubernetes Master server</p>

<p>Then start a container using docker run command. 
So Now My <strong>Question is: how to communicate between this docker container and kubernetes cluster IP??</strong></p>

<p>The actual goal is: the docker container will act as a reverse proxy for kubernetes cluster IP</p>

<pre><code>Docker container IP : 172.17.x.x
Kubernetes Pods IP : 172.17.x.x
Kubernetes cluster IP : 10.254.x.x 
</code></pre>

<p>Thanks.</p>

<p>As @Grimmy stated, I also think that is accomplished by the use of an <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/" rel="nofollow noreferrer">ingress resource and an ingress controller</a>.</p>

<p>For example, a pod with nginx and an ingress controller, can be used as a load balancer between the internet and your pods. </p>
