<p>I'm building a 3 VM (CentOS 7) cluster of Kubernetes 1.3.2.
According to this kubernetes documentation page <a href="http://kubernetes.io/docs/admin/networking/" rel="nofollow">Networking in Kubernetes</a>: “We give every pod its own IP address” and by that there is no port collision when few pods use the same ports on the same node.
But as seen here, the pods do get the same IP addresses:</p>

<pre><code>[root@gloom kuber-test]# kubectl get pods -o wide -l app=userloc
NAME                          READY     STATUS    RESTARTS   AGE       IP           NODE
userloc-dep-857294609-0am9d   1/1       Running   0          27m       172.17.0.5   157.244.150.86
userloc-dep-857294609-a4538   1/1       Running   0          27m       172.17.0.7   157.244.150.96
userloc-dep-857294609-c4wzy   1/1       Running   0          6h        172.17.0.3   157.244.150.86
userloc-dep-857294609-hbl9i   1/1       Running   0          6h        172.17.0.5   157.244.150.96
userloc-dep-857294609-rpgyd   1/1       Running   0          27m       172.17.0.5   157.244.150.198
userloc-dep-857294609-tnnho   1/1       Running   0          6h        172.17.0.3   157.244.150.198
</code></pre>

<p>What do I miss?</p>

<p><strong>EDIT - 31/07/16:</strong><br>
Following Sven Walter's comments, maybe the issue is that somehow the IPs which the pods had received are of the docker bridge subnet 172.17.0.0/16 (which is not distinct per node) instead of flannel’s subnets 10.x.x.x/24 (which are distinct per node).
Can this be the issue?</p>

<p>In case needed, here is the deployment yaml:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: userloc-dep 
spec:
  replicas: 6
  template:
    metadata:
      labels:
        app: userloc
    spec:
      containers:
      - name: userloc
        image: globe:5000/openlso/userlocation-ms:0.1 
        ports:
        - containerPort: 8081
</code></pre>

<p>The issue occured becuase following <a href="https://docs.docker.com/engine/admin/systemd/" rel="nofollow">docker documentation</a> I had added additional docker config in <em>/etc/systemd/system/docker.service.d/docker.conf</em> that overrides the config in <em>/usr/lib/systemd/system/docker.service</em>. Unfortunatelly the scripts I used to setup the cluster (master.sh and worker.sh) doesn't refer to the first file but to the second one.<br>
Once I removed the <em>docker.conf</em> file the pods got flannel’s subnet.</p>
