- 22, Oct 2024
- #1
Запуск gentoo linux... Я новичок в kubernetes и изучаю его в своем облаке разработки. Я могу запустить minikube без проблем (кроме отсутствия второго узла... не знаю почему). Тогда я останавливаю миникубе. Когда я запускаю его снова, он не начинается с
one@work ~
% minikube start --nodes=2
ð minikube v1.22.0 on Gentoo 2.7 (amd64)
⨠Using the docker driver based on existing profile
ð Starting control plane node minikube in cluster minikube
ð Pulling base image ...
𤷠docker "minikube" container is missing, will recreate.
ð¥ Creating docker container (CPUs=2, Memory=7300MB) ...
ð³ Preparing Kubernetes v1.21.2 on Docker 20.10.7 ...
⪠Generating certificates and keys ...
⪠Booting up control plane ...
⪠Configuring RBAC rules ...
ð Verifying Kubernetes components...
⪠Using image gcr.io/k8s-minikube/storage-provisioner:v5
ð Enabled addons: storage-provisioner, default-storageclass
â The cluster minikube already exists which means the --nodes parameter will be ignored. Use "minikube node add" to add nodes to an existing cluster.
ð Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
one@work ~
% minikube status
minikube
type: Control Plane
host: Running
kubelet: Running
apiserver: Running
kubeconfig: Configured
one@work ~
% minikube stop
â Stopping node "minikube" ...
ð Powering off "minikube" via SSH ...
ð 1 nodes stopped.
one@work ~
% minikube start --nodes=2
ð minikube v1.22.0 on Gentoo 2.7 (amd64)
⨠Using the docker driver based on existing profile
ð Starting control plane node minikube in cluster minikube
ð Pulling base image ...
ð Restarting existing docker container for "minikube" ...
𤦠StartHost failed, but will try again: provision: get ssh host-port: unable to inspect a not running container to get SSH port
ð Restarting existing docker container for "minikube" ...
ð¿ Failed to start docker container. Running "minikube delete" may fix it: provision: get ssh host-port: unable to inspect a not running container to get SSH port
â Exiting due to GUEST_PROVISION_CONTAINER_EXITED: Docker container exited prematurely after it was created, consider investigating Docker's performance/health.
. I have to reboot my server to resolve it.
Кто-нибудь знает, как это исправить?
GUEST_PROVISION_CONTAINER_EXITED
#kubernetes #linux #minikube