我正在关注Linux Mint 18.3上的一个简单的Kuberentes Minikube教程,尝试从以下入门教程创建一个卷:
https://kubernetes.io/docs/tasks/run-application/run-single-instance-stateful-application/
minikube start --vm-driver=virtualbox
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.
Loading cached images from config file.
kubectl config use-context minikube
Switched to context "minikube"
kubectl create -f https://k8s.io/docs/tasks/run-application/mysql-pv.yaml
error: You must be logged in to the server (the server has asked for the client to provide credentials)
为什么我收到该错误?通过docs和github彻底搜索但找不到答案。