title: Unable to connect to Kubernetes - Invalid Configuration
body: <p>I here for hours every day, reading and learning, but this is my first question, so bear with me.</p>
  <p>I'm simply trying to get my Kubernetes cluster to start up.</p>
  <p>Below is my <code>skaffold.yaml</code> file in the root of the project:</p>
  <pre><code>apiVersion: skaffold/v2alpha3
  kind: Config
  deploy:
    kubectl:
      manifests:
        - ./infra/k8s/*
  build:
    local:
      push: false
    artifacts:
      - image: omesadev/auth
        context: auth
        docker:
          dockerfile: Dockerfile
        sync:
          manual:
            - src: 'src/**/*.ts'
              dest: .
  </code></pre>
  <p>Below is my <code>auth-depl.yaml</code> file in the <strong>infra/k8s/</strong> directory:</p>
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: auth-depl
  spec:
    replicas: 1
    selector:
      matchLabels:
        app: auth
    template:
      metadata:
        labels:
          app: auth
      spec:
        containers:
          - name: auth
            image: omesadev/auth
  ---
  apiVersion: v1
  kind: Service
  metadata:
    name: auth-srv
  spec:
    selector:
      app: auth
    ports:
      - name: auth
        protocol: TCP
        port: 3000
        targetPort: 3000
  </code></pre>
  <p>Below is the error message I'm receiving in the cli:</p>
  <pre><code>exiting dev mode because first deploy failed: unable to connect to Kubernetes: getting client config for Kubernetes client: error creating REST client config for kubeContext &quot;&quot;: invalid configuration: [unable to read client-cert C:\Users\omesa\.minikube\profiles\minikube\client.crt for minikube due to open C:\Users\omesa\.minikube\profiles\minikube\client.crt: The system cannot find the path specified., unable to read client-key C:\Users\omesa\.minikube\profiles\minikube\client.key for minikube due to open C:\Users\omesa\.minikube\profiles\minikube\client.key: The system cannot find the path specified., unable to read certificate-authority C:\Users\omesa\.minikube\ca.crt for minikube due to open C:\Users\omesa\.minikube\ca.crt: The system cannot find the file specified.
  </code></pre>
  <p>I've tried to install kubernetes, minikube, and kubectl. I've added them to the path and removed them a few times in different ways because I thought my configuration or usage could have been incorrect.</p>
  <p>Then, I read that if I'm using the Docker GUI that Kubernetes should be running in that, so I checked the settings in the Docker GUI to ensure Kubernetes was running through Docker and it is.</p>
  <p>I have Hyper-V set up. I've used it in the past successfully with Docker and with Virtualbox, so I know my Hyper-V is not the issue.</p>
  <p>I've also attached an image of my file directory, but I'm pretty sure everything is good to go here too.</p>
  <p><a href="https://i.stack.imgur.com/mft9X.jpg" rel="nofollow noreferrer">src tree</a></p>
  <p>Thanks in advance!</p>