Update kubeadm api version from v1beta1 to v1beta2 #6106
Labels
area/kubernetes-versions
Improving support for versions of Kubernetes
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
The exact command to reproduce the issue:
this issue was part of #6103, and the exact command was
/bin/bash -c \"sudo env PATH=/var/lib/minikube/binaries/v1.17.0:$PATH kubeadm config images pull --config /var/tmp/minikube/kubeadm.yaml\"
The full output of the command that failed:
...
🚜 拉取镜像 ...
❌ 无法拉取映像,有可能是正常状况:running cmd: "/bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.17.0:$PATH kubeadm config images pull --config /var/tmp/minikube/kubeadm.yaml"": /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.17.0:$PATH kubeadm config images pull --config /var/tmp/minikube/kubeadm.yaml": Process exited with status 1
stdout:
stderr:
W1217 08:28:08.405830 2817 common.go:77] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta1". Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
W1217 08:28:08.406353 2817 common.go:77] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta1". Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.
W1217 08:28:08.407869 2817 validation.go:28] Cannot validate kube-proxy config - no validator is available
W1217 08:28:08.407887 2817 validation.go:28] Cannot validate kubelet config - no validator is available
failed to pull image "k8s.gcr.io/kube-apiserver:v1.17.0": output: Error response from daemon: Get https://k8s.gcr.io/v2/: dial tcp: lookup k8s.gcr.io on 10.0.2.3:53: no such host
, error: exit status 1
To see the stack trace of this error execute with --v=5 or higher
...
The output of the
minikube logs
command:The operating system version: MacOS mojave
The text was updated successfully, but these errors were encountered: