<p>I use minikube on windows 10 and try to generate Persistent Volume with minikube dashboard. Belows are my PV yaml file contents.</p>

<pre><code>apiVersion: v1
kind: PersistentVolume 
metadata:
  name: blog-pv
  labels:
    type: local
spec:
  storageClassName: manual
  capacity:
    storage: 1Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Recycle
  hostPath:
    path: "/mnt/data"

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: blog-pv-claim
spec:
  storageClassName: manual
  volumeName: blog-pv
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 500Mi
</code></pre>

<p>But minikube dashboard throw the following errors.</p>

<pre><code>## Deploying file has failed
the server could not find the requested resource
</code></pre>

<p>But I can generate PV with kubectl command as executing the following command</p>

<pre><code>kubectl apply -f pod-pvc-test.yaml
</code></pre>

<p>For your information, the version of kubectl.exe is</p>

<pre><code>Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0", GitCommit:"70132b0f130acc0bed193d9ba59dd186f0e634cf", GitTreeState:"clean", BuildDate:"2019-12-07T21:20:10Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.2", GitCommit:"59603c6e503c87169aea6106f57b9f242f64df89", GitTreeState:"clean", BuildDate:"2020-01-18T23:22:30Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}
</code></pre>

<p>How can I generate the Persistent Volume with minikube dashboard as well as kubectl command?</p>

<p><strong>== Updated Part==</strong></p>

<pre><code>&gt; kubectl get pv
NAME      CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                   STORAGECLASS   REASON   AGE
blog-pv   1Gi        RWO            Recycle          Bound    default/blog-pv-claim   manual                  5m1s
</code></pre>

Joseph Hwang
<p>I've managed to reproduce the issue you've been describing on my minikube with the <code>v2.0.0-beta8</code> dashboard.</p>

<pre><code>$ minikube version
minikube version: v1.9.1

$ kubectl version
Client Version: GitVersion:"v1.17.4"
Server Version: GitVersion:"v1.18.0"
</code></pre>

<p>Please note that the <a href="https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/" rel="nofollow noreferrer">offical guide</a> reffers to <code>v2.0.0-beta8</code> which is broken :). </p>

<p>Recently there were <a href="https://github.com/kubernetes/dashboard/issues/4999" rel="nofollow noreferrer">some fixes</a> for the broken functionality (they'd been merged to <code>master</code> branch).</p>

<p>Please <strong>update the version of the dashboard</strong> to at least the <code>v2.0.0-rc6</code>. </p>

<pre><code>kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc6/aio/deploy/recommended.yaml
</code></pre>

<p>I was able successfully creating PV and PVC (via dashboard) from yaml provided.</p>

<p>Hope that helps!</p>
