在高山上运行minibuke时遇到的问题:3.6 / 3.7

时间:2018-07-12 12:22:00

标签: minikube

我能够在高山上构建迷你库,但在启动时遇到问题。

无法启动迷你库 /src/k8s.io/minikube#./out/minikube-linux-amd64 start --vm-driver = none

Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Downloading kubeadm v1.10.0
Downloading kubelet v1.10.0
Finished Downloading kubelet v1.10.0
Finished Downloading kubeadm v1.10.0
E0712 16:31:44.365304   12423 start.go:258] Error updating cluster:  starting kubelet: running command:
sudo systemctl daemon-reload &&
sudo systemctl enable kubelet &&
sudo systemctl start kubelet
: exit status 1
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
        minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]:

minikube的日志:

/src/k8s.io/minikube#./out/minikube-linux-amd64日志

2018/07/12 16:35:48 Error getting machine logs: getting cluster logs: running command: sudo journalctl  -u kubelet
 output: sudo: journalctl: command not found
: running command: sudo journalctl  -u kubelet
.: exit status 1
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
        minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]:

关于如何在高山上启动minikube的任何想法?

1 个答案:

答案 0 :(得分:0)

Minikube的开发旨在从systemd的环境开始。您可以尝试在内部使用systemd使用Ubuntu或其他Linux发行版的官方映像。要在Alpine内部使用Minikube,可以以thisthis为例。