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édente | ||
minikube [2018/10/25 15:35] – [Installation de Minikube] simon | minikube [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Minikube ====== | ||
- | ===== Prérequis ===== | ||
- | Il faut tout d' | ||
- | <code bash> | ||
- | $ sudo apt update | ||
- | |||
- | $ sudo apt install apt-transport-https ca-certificates software-properties-common curl | ||
- | |||
- | $ curl -fsSL https:// | ||
- | OK | ||
- | |||
- | $ sudo add-apt-repository \ | ||
- | "deb [arch=armhf] https:// | ||
- | $(lsb_release -cs) \ | ||
- | stable" | ||
- | |||
- | $ sudo apt update | ||
- | |||
- | $ sudo apt install docker-ce | ||
- | |||
- | $ docker --version | ||
- | Docker version 18.06.1-ce, build e68fc7a | ||
- | </ | ||
- | |||
- | Configurer le service : | ||
- | <code bash> | ||
- | $ sudo systemctl enable docker | ||
- | Synchronizing state of docker.service with SysV service script with / | ||
- | Executing: / | ||
- | |||
- | $ sudo systemctl start docker | ||
- | |||
- | $ sudo systemctl status docker | ||
- | ● docker.service - Docker Application Container Engine | ||
- | | ||
- | | ||
- | Docs: https:// | ||
- | Main PID: 24001 (dockerd) | ||
- | Tasks: 42 | ||
- | | ||
- | | ||
- | | ||
- | |||
- | (...) | ||
- | </ | ||
- | |||
- | Il faut aussi installer [[https:// | ||
- | <code bash> | ||
- | $ curl -s https:// | ||
- | OK | ||
- | |||
- | $ echo "deb http:// | ||
- | deb http:// | ||
- | |||
- | $ sudo apt update | ||
- | |||
- | $ sudo apt-get install -y kubectl | ||
- | </ | ||
- | ===== Installation de Minikube ===== | ||
- | <code bash> | ||
- | $ curl -LO https:// | ||
- | && sudo install minikube-linux-amd64 / | ||
- | % Total % Received % Xferd Average Speed | ||
- | | ||
- | 100 40.3M 100 40.3M 0 | ||
- | </ | ||
- | |||
- | Si on a déjà une configuration kubectl, ça coince : | ||
- | <code bash> | ||
- | # minikube start | ||
- | Starting local Kubernetes v1.10.0 cluster... | ||
- | Starting VM... | ||
- | Downloading Minikube ISO | ||
- | | ||
- | 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 | ||
- | Setting up certs... | ||
- | Connecting to cluster... | ||
- | Setting up kubeconfig... | ||
- | E1025 17: | ||
- | ================================================================================ | ||
- | 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/ | ||
- | </ | ||
- | |||
- | Si on a pas installé virtualbox, ça coince : | ||
- | <code bash> | ||
- | $ sudo minikube start | ||
- | Starting local Kubernetes v1.10.0 cluster... | ||
- | Starting VM... | ||
- | Downloading Minikube ISO | ||
- | | ||
- | E1025 17: | ||
- | : VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path. | ||
- | |||
- | | ||
- | E1025 17: | ||
- | : VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path | ||
- | ================================================================================ | ||
- | 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/ | ||
- | </ |