minikube
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
minikube [2018/10/25 15:35] – [Installation de Minikube] simon | minikube [2018/11/15 14:05] – simon | ||
---|---|---|---|
Ligne 66: | Ligne 66: | ||
100 40.3M 100 40.3M 0 | 100 40.3M 100 40.3M 0 | ||
</ | </ | ||
+ | |||
+ | ==== Erreurs rencontrées ==== | ||
Si on a déjà une configuration kubectl, ça coince : | Si on a déjà une configuration kubectl, ça coince : | ||
Ligne 114: | Ligne 116: | ||
Please enter your response [Y/ | Please enter your response [Y/ | ||
</ | </ | ||
+ | |||
+ | J'ai eu une autre erreur où il me dit de faire un '' | ||
+ | <code bash> | ||
+ | $ minikube start | ||
+ | Starting local Kubernetes v1.10.0 cluster... | ||
+ | Starting VM... | ||
+ | E1115 14: | ||
+ | |||
+ | | ||
+ | E1115 14: | ||
+ | ================================================================================ | ||
+ | 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/ | ||
+ | </ | ||
+ | |||
+ | J' | ||
+ | <code bash> | ||
+ | $ minikube delete | ||
+ | Deleting local Kubernetes cluster... | ||
+ | Errors occurred deleting machine: | ||
+ | </ | ||
+ | |||
+ | Encore un problème de permissions... C'est quoi les permissions sur ce dossier ? | ||
+ | <code bash> | ||
+ | $ ls -al / | ||
+ | drwxr-xr-x | ||
+ | .rw-r--r-- 1,3k root 25 oct 17:12 apiserver.crt | ||
+ | .rw------- 1,7k root 25 oct 17:12 apiserver.key | ||
+ | .rw-r--r-- 1,1k root 25 oct 17:12 ca.crt | ||
+ | .rw------- 1,7k root 25 oct 17:12 ca.key | ||
+ | .r----x--x 1,0k root 25 oct 17:08 ca.pem | ||
+ | drwxr-xr-x | ||
+ | .r----x--x 1,1k root 25 oct 17:08 cert.pem | ||
+ | drwxr-xr-x | ||
+ | .rw-r--r-- 1,1k root 25 oct 17:12 client.crt | ||
+ | .rw------- 1,7k root 25 oct 17:12 client.key | ||
+ | drwxr-xr-x | ||
+ | drwxr-xr-x | ||
+ | .r----x--x 1,7k root 25 oct 17:08 key.pem | ||
+ | drwxr-xr-x | ||
+ | drwxr-xr-x | ||
+ | drwx------ | ||
+ | .rw-r--r-- 1,1k root 25 oct 17:12 proxy-client-ca.crt | ||
+ | .rw------- 1,7k root 25 oct 17:12 proxy-client-ca.key | ||
+ | .rw-r--r-- 1,1k root 25 oct 17:12 proxy-client.crt | ||
+ | .rw------- 1,7k root 25 oct 17:12 proxy-client.key | ||
+ | </ | ||
+ | |||
+ | ==== Résolution et lancement de minikube ==== | ||
+ | Les permissions étaient en root partout ! C'est pour ça que ça coinçait ! | ||
+ | <code bash> | ||
+ | $ sudo chown -R simon:simon / | ||
+ | |||
+ | $ minikube start | ||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | **Yes!** Minikube est lancé ! |