<p>I'm trying to use <code>Consul</code> with <code>Registrator</code> in GCE &amp; K8s. Everything launches fine except `Registrator'. </p>

<p>Here is my deployment:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  creationTimestamp: null
  name: consul
spec:
  replicas: 1
  strategy: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        service: consul
    spec:
      restartPolicy: Always
      containers:
        - name: consul
          image: eu.gcr.io/xxx/consul
          ports:
          - containerPort: 8300
            protocol: TCP
          - containerPort: 8400
            protocol: TCP
          - containerPort: 8500
            protocol: TCP
          - containerPort: 53
            protocol: UDP
          env:
            - name: MY_POD_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
          args:
            - -server
            - -bootstrap
            - -advertise=$(MY_POD_IP)

        - name: registrator
          args:
            - -internal
            - -ip=$(MY_POD_IP)
            - consul://localhost:8500
          env:
            - name: MY_POD_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
          image: eu.gcr.io/xxx/registrator
          volumeMounts:
            - mountPath: /tmp/docker.sock
              name: registrator-claim0
      volumes:
        - name: registrator-claim0 
          persistentVolumeClaim:
            claimName: registrator-claim0
status: {}
</code></pre>

<p>Here are the log outputs:
Consul:
<a href="https://i.stack.imgur.com/0xjY7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0xjY7.png" alt="enter image description here"></a>
Registrator:
<a href="https://i.stack.imgur.com/wzq5w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wzq5w.png" alt="enter image description here"></a></p>

<p>In docker-compose everything works fine, but I haven't got my head completeley around K8s and GCE. Thanks for the help!</p>

<p>I have switched to Linkerd which works very well together with k8s. </p>
