kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.5k stars 4.89k forks source link

Enabling 'default-storageclass' returned an error: running callbacks: [Error making standard the default storage class: Error listing StorageClasses: Get "https://localhost:35935/apis/storage.k8s.io/v1/storageclasses": dial tcp [::1]:35935: connect: connection refused] #19502

Open Walyx75 opened 2 months ago

Walyx75 commented 2 months ago

$ minikube start 😄 minikube v1.33.1 on Fedora 40 ✨ Using the qemu2 driver based on existing profile 👍 Starting "minikube" primary control-plane node in "minikube" cluster 🏃 Updating the running qemu2 "minikube" VM ... 🐳 Preparing Kubernetes v1.30.0 on Docker 26.0.2 ... 🤦 Unable to restart control-plane node(s), will reset cluster: ▪ Generating certificates and keys ... ▪ Booting up control plane ... ▪ Configuring RBAC rules ... 🔗 Configuring bridge CNI (Container Networking Interface) ... 🔎 Verifying Kubernetes components... ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5 ❗ Enabling 'default-storageclass' returned an error: running callbacks: [Error making standard the default storage class: Error listing StorageClasses: Get "https://localhost:35935/apis/storage.k8s.io/v1/storageclasses": dial tcp [::1]:35935: connect: connection refused] 🌟 Enabled addons: storage-provisioner

❌ Exiting due to GUEST_START: failed to start node: wait 6m0s for node: wait for healthy API server: apiserver healthz never reported healthy: context deadline exceeded

logs.txt

La versión del sistema operativo que utilizaste: Fedora40

Hola, es la primera vez que detallo un issue. Tuve problemas en Windows e instalé Fedora para probar Minikube. Utilicé este link para instalar Minikube https://geeksterminal.com/install-kubernetes-using-minikube-linux-centos-fedora/3077/

El archivo de log con el problema esta adjunto. Muchas gracias,

Walter

Walyx75 commented 2 months ago

Resuelto, ejecuté sudo usermod -aG docker $USER && newgrp docker' y luego lo levante con minikube start --driver=docker No es que es el qemu2 Saludos!