title: Kubernetes Service External -Ip for docker desktop
body: <p>I am facing issue related to kubernetes service external Ip. It is showing as 'pending'. I created deployment of type Load Balancer. I am using docker-desktop. </p>
  
  <p>Please find below my YAML for creating deployment-</p>
  
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  metadata:
    labels:
      app: load-balancer
    name: nginxdeployment
  spec:
    replicas: 3
    selector:
      matchLabels:
        app: load-balancer
    template:
      metadata:
        labels:
          app: load-balancer
      spec:
        containers:
        - image: nginx
          name: nginxcontainer
          ports:
          - containerPort: 8080
  </code></pre>
  
  <p>Here is the command which I have used to expose my deployment- 
   kubectl expose deployment nginxdeployment --type=LoadBalancer --name=nginxservice.</p>
  
  <p>Below is the screenshot of exposed service in CLI-
  <a href="https://i.stack.imgur.com/YZbxg.png" rel="nofollow noreferrer">Kubernets CLI screenshot</a></p>
  
  <p>As highlighted in <strong>yellow</strong> in above image, it is showing <strong>pending</strong> under external IP for load balancer Service. </p>
  
  <p>Please help me how come I can resolve this issue. It should IP instead of <strong>pending</strong>. </p>
  
  <p>Thank you in Advance!!!</p>