<p>Error starting tunneling of service.</p>
<p>OS: mac os<br />
minikube version: v1.25.2<br />
kubectl version: 1.24.1.</p>
<p>and using docker desktop</p>
<p>The following script is the configuration of the <code>/zipkin</code> directory.</p>
<pre><code># service.yaml
apiVersion: v1
kind: Service
metadata:
  name: zipkin
spec:
  selector:
    app: zipkin
  ports:
    - port: 9411
      targetPort: 9411
      protocol: TCP
  type: LoadBalancer
</code></pre>
<pre><code># statefulset.yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: zipkin
  labels:
    app: zipkin
spec:
  serviceName: zipkin
  replicas: 1
  template:
    metadata:
      name: zipkin
      labels:
        app: zipkin
    spec:
      containers:
        - name: zipkin
          image: openzipkin/zipkin
          imagePullPolicy: Always
          ports:
            - containerPort: 9411
              protocol: TCP
          resources:
            requests:
              cpu: 100m
              memory: 256Mi
            limits:
              cpu: 200m
              memory: 256Mi
      restartPolicy: Always
  selector:
    matchLabels:
      app: zipkin

</code></pre>
<pre><code>kubectl apply -f zipkin

kubectl get po
NAME         READY   STATUS    RESTARTS   AGE
zipkin-0   1/1     Running   0          49m
</code></pre>
<pre><code>minikube service zipkin --url

🏃  starting tunnel for service zipkin
❗  Because you are using a Docker driver on darwin, the terminal needs to be open to run it.
</code></pre>
<p>it is not wokring. I can't figure out what the problem is.</p>
<p>expected like this:
<a href="https://i.stack.imgur.com/IOk4P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IOk4P.png" alt="enter image description here" /></a></p>

<p>I too had the same issue but then figured out from minikube documentation: <a href="https://minikube.sigs.k8s.io/docs/handbook/accessing/#example-of-nodeport" rel="nofollow noreferrer">https://minikube.sigs.k8s.io/docs/handbook/accessing/#example-of-nodeport</a></p>
<p>In one terminal do this:</p>
<pre><code>minikube service customer-node --url                                                     

🏃  Starting tunnel for service customer-node.
❗  Because you are using a Docker driver on darwin, the terminal needs to be open to run it.
</code></pre>
<p>Open another terminal and check SSH Tunnel</p>
<pre><code>ps -ef | grep docker@127.0.0.1                                                 
  501 81040 81027   0  6:35PM ttys001    0:00.02 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -N docker@127.0.0.1 -p 56541 -i /Users/johndoe/.minikube/machines/minikube/id_rsa -L 64013:10.104.68.137:80
</code></pre>
<p>Check for the port at the end of the output or you can use this command to find the tunnel port</p>
<pre><code>ps -ef | grep docker@127.0.0.1 | head -1 | awk '{print $NF}' | awk -F &quot;:&quot; '{print $1}'
  64013
</code></pre>
<p>You can use then use this port to form this URL for your browser</p>
<pre><code>http://127.0.0.1:64013
</code></pre>
