minikube
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révisionLes deux révisions suivantes | |||
minikube [2018/10/25 09:10] – créée simon | minikube [2018/10/25 15:31] – [Prérequis] simon | ||
---|---|---|---|
Ligne 24: | Ligne 24: | ||
</ | </ | ||
+ | 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 | ||
+ | |||
+ | # 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/ | ||
+ | </ | ||