Skip to content

Kubernetes services unable to start due to DNS or Certificate issues #3769

Closed
@neiltwist

Description

@neiltwist
  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: D79424CC-C069-4CEC-9E5F-868CAC14C0D0/20190418080540

Expected behavior

  • Select the Checkbox to start Kubernetes
  • Kubernetes starts

Actual behavior

  • Select the checkbox to start Kubernetes
  • Kubernetes is always in the "starting" state
  • kubectl get nodes returns No resources found.

Information

  • Windows Version: 1709
  • Docker for Windows Version: 2.0.3.0 (31778)

Steps to reproduce the behavior

  1. Enable Kubernetes
  2. The Kubernetes containers start up
  3. Look at the logs of the running kubernetes containers and they have the following: 1 log.go:172] http: TLS handshake error from 192.168.65.3:48722: remote error: tls: bad certificate and Get https://vm.docker.internal:6443/api/v1/nodes?limit=500&resourceVersion=0: x509: certificate is valid for docker-for-desktop, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, host.docker.internal, not vm.docker.internal
  4. Look at the Docker for Windows logs and see: vpnkit.exe: ICMP: destination unreachable from 192.168.65.3 and time="2019-04-18T09:43:57+01:00" msg="DNS failure: docker-desktop.\tIN\t AAAA: errno 9002: DnsQuery: DNS server failure." and time="2019-04-18T09:43:57+01:00" msg="0/3 system pods running, found labels but still waiting for labels k8s-app=kube-dns, component=kube-controller-manager, component=kube-apiserver..."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions