Update vm-driver param and driver links

This commit is contained in:
Christian Wansart 2020-03-20 18:15:59 +01:00
parent 9df5b4ec4c
commit 164729db54
16 changed files with 273 additions and 269 deletions

View File

@ -29,16 +29,18 @@ Lesen Sie [Minikube installieren](/docs/tasks/tools/install-minikube/) für Info
## Schnellstart ## Schnellstart
Folgend finden Sie eine kurze Demo zur Verwendung von Minikube. Folgend finden Sie eine kurze Demo zur Verwendung von Minikube.
Wenn Sie den VM-Treiber ändern möchten, fügen Sie das entsprechende `--vm-driver=xxx`-Flag zu `minikube start` hinzu. Wenn Sie den VM-Treiber ändern möchten, fügen Sie das entsprechende `--driver=xxx`-Flag zu `minikube start` hinzu.
Minikube unterstützt die folgenden Treiber: Minikube unterstützt die folgenden Treiber:
* virtualbox * virtualbox
* vmwarefusion * vmwarefusion
* kvm2 ([Treiber installation](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver)) * docker (EXPERIMENTAL)
* kvm ([Treiber installation](https://git.k8s.io/minikube/docs/drivers.md#kvm-driver)) * kvm2 ([Treiber installation](https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/))
* hyperkit ([Treiber installation](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver)) * hyperkit ([Treiber installation](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/))
* xhyve ([Treiber installation](https://git.k8s.io/minikube/docs/drivers.md#xhyve-driver)) (deprecated) * hyperv ([Treiber installation](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/))
* hyperv ([Treiber installation](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver)) Note that the IP below is dynamic and can change. It can be retrieved with `minikube ip`.
* vmware ([Treiber installation](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* parallels ([Treiber installation](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
Beachten Sie, dass die unten angegebene IP-Adresse dynamisch ist und sich ändern kann. Sie kann mit `minikube ip` abgerufen werden. Beachten Sie, dass die unten angegebene IP-Adresse dynamisch ist und sich ändern kann. Sie kann mit `minikube ip` abgerufen werden.
* none (Führt die Kubernetes-Komponenten auf dem Host und nicht in einer VM aus. Die Verwendung dieses Treibers erfordert Docker ([Docker installieren](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) und eine Linux-Umgebung) * none (Führt die Kubernetes-Komponenten auf dem Host und nicht in einer VM aus. Die Verwendung dieses Treibers erfordert Docker ([Docker installieren](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) und eine Linux-Umgebung)
@ -201,7 +203,7 @@ Hierbei wird ein alternatives Minikube-ISO-Image verwendet, das sowohl rkt als a
### Treiber Plugins ### Treiber Plugins
Weitere Informationen zu unterstützten Treibern und zur Installation von Plugins finden Sie bei Bedarf unter [TREIBER](https://git.k8s.io/minikube/docs/drivers.md). Weitere Informationen zu unterstützten Treibern und zur Installation von Plugins finden Sie bei Bedarf unter [TREIBER](https://minikube.sigs.k8s.io/docs/reference/drivers/).
### Lokale Images durch erneute Verwendung des Docker-Daemon ausführen ### Lokale Images durch erneute Verwendung des Docker-Daemon ausführen

View File

@ -35,7 +35,7 @@ Linux | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [KVM](http://ww
Windows | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) Windows | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
{{< note >}} {{< note >}}
Minikube unterstützt auch die Option `--vm-driver=none`, mit der die Kubernetes-Komponenten auf dem Host und nicht in einer VM ausgeführt werden. Die Verwendung dieses Treibers erfordert Docker und eine Linux-Umgebung, jedoch keinen Hypervisor. Minikube unterstützt auch die Option `--driver=none`, mit der die Kubernetes-Komponenten auf dem Host und nicht in einer VM ausgeführt werden. Die Verwendung dieses Treibers erfordert Docker und eine Linux-Umgebung, jedoch keinen Hypervisor.
{{< /note >}} {{< /note >}}
## Kubectl installieren ## Kubectl installieren

View File

@ -52,7 +52,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
2. Now, you can interact with your cluster using kubectl. For more information, see [Interacting with Your Cluster](#interacting-with-your-cluster). 2. Now, you can interact with your cluster using kubectl. For more information, see [Interacting with Your Cluster](#interacting-with-your-cluster).
Lets create a Kubernetes Deployment using an existing image named `echoserver`, which is a simple HTTP server and expose it on port 8080 using `--port`. Let's create a Kubernetes Deployment using an existing image named `echoserver`, which is a simple HTTP server and expose it on port 8080 using `--port`.
```shell ```shell
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10 kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
``` ```
@ -187,24 +187,26 @@ example, to run version {{< param "fullversion" >}}, you would run the following
minikube start --kubernetes-version {{< param "fullversion" >}} minikube start --kubernetes-version {{< param "fullversion" >}}
``` ```
#### Specifying the VM driver #### Specifying the VM driver
You can change the VM driver by adding the `--vm-driver=<enter_driver_name>` flag to `minikube start`. You can change the VM driver by adding the `--driver=<enter_driver_name>` flag to `minikube start`.
For example the command would be. For example the command would be.
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
Minikube supports the following drivers: Minikube supports the following drivers:
{{< note >}} {{< note >}}
See [DRIVERS](https://git.k8s.io/minikube/docs/drivers.md) for details on supported drivers and how to install See [DRIVERS](https://minikube.sigs.k8s.io/docs/reference/drivers/) for details on supported drivers and how to install
plugins. plugins.
{{< /note >}} {{< /note >}}
* virtualbox * virtualbox
* vmwarefusion * vmwarefusion
* kvm2 ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver)) * docker (EXPERIMENTAL)
* hyperkit ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver)) * kvm2 ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/))
* hyperv ([driver installation](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver)) * hyperkit ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/))
* hyperv ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/))
Note that the IP below is dynamic and can change. It can be retrieved with `minikube ip`. Note that the IP below is dynamic and can change. It can be retrieved with `minikube ip`.
* vmware ([driver installation](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver)) (VMware unified driver) * vmware ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* parallels ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
* none (Runs the Kubernetes components on the host and not in a virtual machine. You need to be running Linux and to have {{< glossary_tooltip term_id="docker" >}} installed.) * none (Runs the Kubernetes components on the host and not in a virtual machine. You need to be running Linux and to have {{< glossary_tooltip term_id="docker" >}} installed.)
{{< caution >}} {{< caution >}}

View File

@ -70,11 +70,11 @@ Make sure you have kubectl installed. You can install kubectl according to the i
If you do not already have a hypervisor installed, install one of these now: If you do not already have a hypervisor installed, install one of these now:
[KVM](https://www.linux-kvm.org/), which also uses QEMU * [KVM](https://www.linux-kvm.org/), which also uses QEMU
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
Minikube also supports a `--vm-driver=none` option that runs the Kubernetes components on the host and not in a VM. Minikube also supports a `--driver=none` option that runs the Kubernetes components on the host and not in a VM.
Using this driver requires [Docker](https://www.docker.com/products/docker-desktop) and a Linux environment but not a hypervisor. Using this driver requires [Docker](https://www.docker.com/products/docker-desktop) and a Linux environment but not a hypervisor.
If you're using the `none` driver in Debian or a derivative, use the `.deb` packages for If you're using the `none` driver in Debian or a derivative, use the `.deb` packages for
@ -83,13 +83,13 @@ You can download `.deb` packages from [Docker](https://www.docker.com/products/d
{{< caution >}} {{< caution >}}
The `none` VM driver can result in security and data loss issues. The `none` VM driver can result in security and data loss issues.
Before using `--vm-driver=none`, consult [this documentation](https://minikube.sigs.k8s.io/docs/reference/drivers/none/) for more information. Before using `--driver=none`, consult [this documentation](https://minikube.sigs.k8s.io/docs/reference/drivers/none/) for more information.
{{< /caution >}} {{< /caution >}}
Minikube also supports a `vm-driver=podman` similar to the Docker driver. Podman run as superuser privilege (root user) is the best way to ensure that your containers have full access to any feature available on your system. Minikube also supports a `vm-driver=podman` similar to the Docker driver. Podman run as superuser privilege (root user) is the best way to ensure that your containers have full access to any feature available on your system.
{{< caution >}} {{< caution >}}
The `podman` driver requires running the containers as root because regular user accounts dont have full access to all operating system features that their containers might need to run. The `podman` driver requires running the containers as root because regular user accounts don't have full access to all operating system features that their containers might need to run.
{{< /caution >}} {{< /caution >}}
### Install Minikube using a package ### Install Minikube using a package
@ -134,11 +134,11 @@ Make sure you have kubectl installed. You can install kubectl according to the i
If you do not already have a hypervisor installed, install one of these now: If you do not already have a hypervisor installed, install one of these now:
[HyperKit](https://github.com/moby/hyperkit) * [HyperKit](https://github.com/moby/hyperkit)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
[VMware Fusion](https://www.vmware.com/products/fusion) * [VMware Fusion](https://www.vmware.com/products/fusion)
### Install Minikube ### Install Minikube
The easiest way to install Minikube on macOS is using [Homebrew](https://brew.sh): The easiest way to install Minikube on macOS is using [Homebrew](https://brew.sh):
@ -170,9 +170,9 @@ Make sure you have kubectl installed. You can install kubectl according to the i
If you do not already have a hypervisor installed, install one of these now: If you do not already have a hypervisor installed, install one of these now:
[Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) * [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
Hyper-V can run on three versions of Windows 10: Windows 10 Enterprise, Windows 10 Professional, and Windows 10 Education. Hyper-V can run on three versions of Windows 10: Windows 10 Enterprise, Windows 10 Professional, and Windows 10 Education.
@ -214,12 +214,12 @@ To confirm successful installation of both a hypervisor and Minikube, you can ru
{{< note >}} {{< note >}}
For setting the `--vm-driver` with `minikube start`, enter the name of the hypervisor you installed in lowercase letters where `<driver_name>` is mentioned below. A full list of `--vm-driver` values is available in [specifying the VM driver documentation](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver). For setting the `--driver` with `minikube start`, enter the name of the hypervisor you installed in lowercase letters where `<driver_name>` is mentioned below. A full list of `--driver` values is available in [specifying the VM driver documentation](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver).
{{< /note >}} {{< /note >}}
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
Once `minikube start` finishes, run the command below to check the status of the cluster: Once `minikube start` finishes, run the command below to check the status of the cluster:

View File

@ -35,7 +35,7 @@ Linux | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [KVM](http://ww
Windows | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) Windows | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
{{< note >}} {{< note >}}
Minikube también soporta una opción `--vm-driver=none` que ejecuta los componentes de Kubernetes directamente en el servidor y no en una máquina virtual (MV). Para usar este modo, se requiere Docker y un entorno Linux, pero no es necesario tener un hipervisor. Minikube también soporta una opción `--driver=none` que ejecuta los componentes de Kubernetes directamente en el servidor y no en una máquina virtual (MV). Para usar este modo, se requiere Docker y un entorno Linux, pero no es necesario tener un hipervisor.
{{< /note >}} {{< /note >}}
## Instalar kubectl ## Instalar kubectl

View File

@ -5,7 +5,7 @@ content_template: templates/concept
{{% capture overview %}} {{% capture overview %}}
Minikube est un outil facilitant lexécution locale de Kubernetes. Minikube est un outil facilitant l'exécution locale de Kubernetes.
Minikube exécute un cluster Kubernetes à nœud unique dans une machine virtuelle (VM) de votre ordinateur portable pour les utilisateurs qui souhaitent essayer Kubernetes ou le développer au quotidien. Minikube exécute un cluster Kubernetes à nœud unique dans une machine virtuelle (VM) de votre ordinateur portable pour les utilisateurs qui souhaitent essayer Kubernetes ou le développer au quotidien.
{{% /capture %}} {{% /capture %}}
@ -53,7 +53,7 @@ Suivez les étapes ci-dessous pour commencer et explorer Minikube.
2. Vous pouvez maintenant interagir avec votre cluster à l'aide de kubectl. 2. Vous pouvez maintenant interagir avec votre cluster à l'aide de kubectl.
Pour plus d'informations, voir [Interagir avec votre cluster.](#interacting-with-your-cluster). Pour plus d'informations, voir [Interagir avec votre cluster.](#interacting-with-your-cluster).
Créons un déploiement Kubernetes en utilisant une image existante nommée `echoserver`, qui est un serveur HTTP, et exposez-la sur le port 8080 à laide de `--port`. Créons un déploiement Kubernetes en utilisant une image existante nommée `echoserver`, qui est un serveur HTTP, et exposez-la sur le port 8080 à l'aide de `--port`.
```shell ```shell
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10 kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
@ -107,7 +107,7 @@ Suivez les étapes ci-dessous pour commencer et explorer Minikube.
minikube service hello-minikube --url minikube service hello-minikube --url
``` ```
6. Pour afficher les détails de votre cluster local, copiez et collez lURL que vous avez obtenue en tant que sortie dans votre navigateur. 6. Pour afficher les détails de votre cluster local, copiez et collez l'URL que vous avez obtenue en tant que sortie dans votre navigateur.
Le résultat est similaire à ceci: Le résultat est similaire à ceci:
@ -226,26 +226,28 @@ minikube start --kubernetes-version {{< param "fullversion" >}}
#### Spécification du pilote de machine virtuelle #### Spécification du pilote de machine virtuelle
Vous pouvez changer le pilote de machine virtuelle en ajoutant l'indicateur `--vm-driver=<nom_du_pilote>` à `minikube start`. Vous pouvez changer le pilote de machine virtuelle en ajoutant l'indicateur `--driver=<nom_du_pilote>` à `minikube start`.
Par exemple, la commande serait: Par exemple, la commande serait:
```shell ```shell
minikube start --vm-driver=<nom_du_pilote> minikube start --driver=<nom_du_pilote>
``` ```
Minikube prend en charge les pilotes suivants: Minikube prend en charge les pilotes suivants:
{{< note >}} {{< note >}}
Voir [DRIVERS](https://git.k8s.io/minikube/docs/drivers.md) pour plus de détails sur les pilotes pris en charge et comment installer les plugins. Voir [DRIVERS](https://minikube.sigs.k8s.io/docs/reference/drivers/) pour plus de détails sur les pilotes pris en charge et comment installer les plugins.
{{< /note >}} {{< /note >}}
* virtualbox * virtualbox
* vmwarefusion * vmwarefusion
* kvm2 ([installation du pilote](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver)) * docker (EXPERIMENTAL)
* hyperkit ([installation du pilote](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver)) * kvm2 ([installation du pilote](https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/))
* hyperv ([installation du pilote](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver)) * hyperkit ([installation du pilote](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/))
* hyperv ([installation du pilote](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/))
Notez que l'adresse IP ci-dessous est dynamique et peut changer. Il peut être récupéré avec `minikube ip`. Notez que l'adresse IP ci-dessous est dynamique et peut changer. Il peut être récupéré avec `minikube ip`.
* vmware ([installation du pilote](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver)) (VMware unified driver) * vmware ([installation du pilote](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* none (Exécute les composants Kubernetes sur lhôte et non sur une machine virtuelle. Il n'est pas recommandé d'exécuter le pilote none sur des postes de travail personnels. L'utilisation de ce pilote nécessite Docker ([docker installer](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) et un environnement Linux) * parallels ([installation du pilote](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
* none (Exécute les composants Kubernetes sur l'hôte et non sur une machine virtuelle. Il n'est pas recommandé d'exécuter le pilote none sur des postes de travail personnels. L'utilisation de ce pilote nécessite Docker ([docker installer](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) et un environnement Linux)
#### Démarrage d'un cluster sur des exécutions de conteneur alternatives #### Démarrage d'un cluster sur des exécutions de conteneur alternatives
@ -304,7 +306,7 @@ minikube start \
#### Utiliser des images locales en réutilisant le démon Docker #### Utiliser des images locales en réutilisant le démon Docker
Lorsque vous utilisez une seule machine virtuelle pour Kubernetes, il est utile de réutiliser le démon Docker intégré de Minikube. Lorsque vous utilisez une seule machine virtuelle pour Kubernetes, il est utile de réutiliser le démon Docker intégré de Minikube.
La réutilisation du démon intégré signifie que vous navez pas besoin de créer un registre Docker sur votre ordinateur hôte et dy insérer limage. La réutilisation du démon intégré signifie que vous n'avez pas besoin de créer un registre Docker sur votre ordinateur hôte et d'y insérer l'image.
Au lieu de cela, vous pouvez créer le même démon Docker que Minikube, ce qui accélère les expériences locales. Au lieu de cela, vous pouvez créer le même démon Docker que Minikube, ce qui accélère les expériences locales.
{{< note >}} {{< note >}}
@ -325,7 +327,7 @@ docker ps
``` ```
{{< note >}} {{< note >}}
Sur Centos 7, Docker peut signaler lerreur suivante: Sur Centos 7, Docker peut signaler l'erreur suivante:
```text ```text
Could not read CA certificate "/etc/docker/ca.pem": open /etc/docker/ca.pem: no such file or directory Could not read CA certificate "/etc/docker/ca.pem": open /etc/docker/ca.pem: no such file or directory
@ -431,7 +433,7 @@ Minikube supporte les [PersistentVolumes](/docs/concepts/storage/persistent-volu
Ces volumes persistants sont mappés vers un répertoire à l'intérieur de la VM Minikube. Ces volumes persistants sont mappés vers un répertoire à l'intérieur de la VM Minikube.
La machine virtuelle Minikube démarre dans un fichier tmpfs, de sorte que la plupart des répertoires ne seront pas conservés lors des redémarrages avec (`minikube stop`). La machine virtuelle Minikube démarre dans un fichier tmpfs, de sorte que la plupart des répertoires ne seront pas conservés lors des redémarrages avec (`minikube stop`).
Toutefois, Minikube est configuré pour conserver les fichiers stockés dans les répertoires dhôte suivants: Toutefois, Minikube est configuré pour conserver les fichiers stockés dans les répertoires d'hôte suivants:
* `/data` * `/data`
* `/var/lib/minikube` * `/var/lib/minikube`
@ -487,7 +489,7 @@ Minikube crée une machine virtuelle qui inclut Kubernetes et un démon Docker.
Lorsque Kubernetes tente de planifier des conteneurs à l'aide de Docker, le démon Docker peut nécessiter un accès réseau externe pour extraire les conteneurs. Lorsque Kubernetes tente de planifier des conteneurs à l'aide de Docker, le démon Docker peut nécessiter un accès réseau externe pour extraire les conteneurs.
Si vous êtes derrière un proxy HTTP, vous devrez peut-être fournir à Docker les paramètres de proxy. Si vous êtes derrière un proxy HTTP, vous devrez peut-être fournir à Docker les paramètres de proxy.
Pour ce faire, transmettez les variables denvironnement requises en tant quindicateurs lors de la création de `minikube start`. Pour ce faire, transmettez les variables d'environnement requises en tant qu'indicateurs lors de la création de `minikube start`.
Par exemple: Par exemple:
@ -520,8 +522,8 @@ Pour plus d'informations sur Minikube, voir la [proposition](https://git.k8s.io/
* **Guide de développement**: Voir [CONTRIBUTING.md](https://git.k8s.io/minikube/CONTRIBUTING.md) pour avoir un aperçu de comment envoyer des pull requests. * **Guide de développement**: Voir [CONTRIBUTING.md](https://git.k8s.io/minikube/CONTRIBUTING.md) pour avoir un aperçu de comment envoyer des pull requests.
* **Construire Minikube**: Pour obtenir des instructions sur la création / test de Minikube à partir des sources, voir le [guide de build](https://git.k8s.io/minikube/docs/contributors/build_guide.md). * **Construire Minikube**: Pour obtenir des instructions sur la création / test de Minikube à partir des sources, voir le [guide de build](https://git.k8s.io/minikube/docs/contributors/build_guide.md).
* **Ajout d'une nouvelle dépendance**: Pour savoir comment ajouter une nouvelle dépendance à Minikube, voir la section [guide d'ajout de dépendances](https://git.k8s.io/minikube/docs/contributors/adding_a_dependency.md). * **Ajout d'une nouvelle dépendance**: Pour savoir comment ajouter une nouvelle dépendance à Minikube, voir la section [guide d'ajout de dépendances](https://git.k8s.io/minikube/docs/contributors/adding_a_dependency.md).
* **Ajout d'un nouvel addon**: Pour savoir comment ajouter un nouvel addon pour Minikube, reportez-vous au [Ajout dun addon](https://git.k8s.io/minikube/docs/contributors/adding_an_addon.md). * **Ajout d'un nouvel addon**: Pour savoir comment ajouter un nouvel addon pour Minikube, reportez-vous au [Ajout d'un addon](https://git.k8s.io/minikube/docs/contributors/adding_an_addon.md).
* **MicroK8s**: Les utilisateurs de Linux qui souhaitent éviter dexécuter une machine virtuelle peuvent envisager [MicroK8s](https://microk8s.io/). * **MicroK8s**: Les utilisateurs de Linux qui souhaitent éviter d'exécuter une machine virtuelle peuvent envisager [MicroK8s](https://microk8s.io/).
## Communauté ## Communauté

View File

@ -62,7 +62,7 @@ Linux | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [KVM](http://ww
Windows | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) Windows | [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
{{< note >}} {{< note >}}
Minikube supporte également une option `--vm-driver=none` qui exécute les composants Kubernetes sur la machine hôte et non dans une VM. L'utilisation de ce pilote nécessite Docker et un environnement Linux mais pas un hyperviseur. Minikube supporte également une option `--driver=none` qui exécute les composants Kubernetes sur la machine hôte et non dans une VM. L'utilisation de ce pilote nécessite Docker et un environnement Linux mais pas un hyperviseur.
{{< /note >}} {{< /note >}}
## Installer kubectl ## Installer kubectl

View File

@ -29,16 +29,20 @@ Minikubeはローカル環境でKubernetesを簡単に実行するためのツ
## クイックスタート ## クイックスタート
これはMinikubeの使い方の簡単なデモです。 これはMinikubeの使い方の簡単なデモです。
もしVMドライバを変更したい場合は、適切な `--vm-driver=xxx` フラグを `minikube start` に設定してください。Minikubeは以下のドライバをサポートしています。 もしVMドライバを変更したい場合は、適切な `--driver=xxx` フラグを `minikube start` に設定してください。Minikubeは以下のドライバをサポートしています。
* vmware ([installation du pilote](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* parallels ([installation du pilote](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
* virtualbox * virtualbox
* vmwarefusion * vmwarefusion
* kvm2 ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver)) * docker (EXPERIMENTAL)
* kvm ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#kvm-driver)) * kvm2 ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/))
* hyperkit ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver)) * hyperkit ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/))
* xhyve ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#xhyve-driver)) (非推奨) * hyperv ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/))
* hyperv ([driver installation](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver))
注意: 以下のIPは動的であり、変更される可能性があります。IPは `minikube ip` で取得することができます。 注意: 以下のIPは動的であり、変更される可能性があります。IPは `minikube ip` で取得することができます。
* vmware ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* parallels ([driver installation](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
* none (VMではなくホスト上でKubernetesコンポーネントを起動する。このドライバを使用するにはDocker ([docker install](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) とLinux環境を必要とします) * none (VMではなくホスト上でKubernetesコンポーネントを起動する。このドライバを使用するにはDocker ([docker install](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) とLinux環境を必要とします)
```shell ```shell
@ -200,7 +204,7 @@ minikube start \
### ドライバープラグイン ### ドライバープラグイン
サポートされているドライバとプラグインのインストールの詳細については [DRIVERS](https://git.k8s.io/minikube/docs/drivers.md) を参照してください。 サポートされているドライバとプラグインのインストールの詳細については [DRIVERS](https://minikube.sigs.k8s.io/docs/reference/drivers/) を参照してください。
### Dockerデーモンの再利用によるローカルイメージの使用 ### Dockerデーモンの再利用によるローカルイメージの使用

View File

@ -71,12 +71,12 @@ kubectlがインストールされていることを確認してください。
ハイパーバイザーがまだインストールされていない場合は、これらのいずれかをインストールしてください: ハイパーバイザーがまだインストールされていない場合は、これらのいずれかをインストールしてください:
[KVM](https://www.linux-kvm.org/)、ただしQEMUも使っているもの * [KVM](https://www.linux-kvm.org/)、ただしQEMUも使っているもの
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
minikubeは、VMではなくホストでKubernetesコンポーネントを実行する`--vm-driver=none`オプションもサポートしています。 minikubeは、VMではなくホストでKubernetesコンポーネントを実行する`--driver=none`オプションもサポートしています。
このドライバーを使用するには、[Docker](https://www.docker.com/products/docker-desktop)とLinux環境が必要ですが、ハイパーバイザーは不要です。 このドライバーを使用するには、[Docker](https://www.docker.com/products/docker-desktop)とLinux環境が必要ですが、ハイパーバイザーは不要です。
noneドライバーを使用する場合は、[Docker](https://www.docker.com/products/docker-desktop)からdockerのaptインストールを使用することをおすすめします。 noneドライバーを使用する場合は、[Docker](https://www.docker.com/products/docker-desktop)からdockerのaptインストールを使用することをおすすめします。
dockerのsnapインストールは、minikubeでは機能しません。 dockerのsnapインストールは、minikubeでは機能しません。
@ -116,11 +116,11 @@ kubectlがインストールされていることを確認してください。
ハイパーバイザーがまだインストールされていない場合は、これらのいずれかをインストールしてください: ハイパーバイザーがまだインストールされていない場合は、これらのいずれかをインストールしてください:
[HyperKit](https://github.com/moby/hyperkit) * [HyperKit](https://github.com/moby/hyperkit)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
[VMware Fusion](https://www.vmware.com/products/fusion) * [VMware Fusion](https://www.vmware.com/products/fusion)
### Minikubeのインストール ### Minikubeのインストール
[Homebrew](https://brew.sh)を使うことでmacOSにMinikubeを簡単にインストールできます: [Homebrew](https://brew.sh)を使うことでmacOSにMinikubeを簡単にインストールできます:
@ -153,9 +153,9 @@ kubectlがインストールされていることを確認してください。
ハイパーバイザーがまだインストールされていない場合は、これらのいずれかをインストールしてください: ハイパーバイザーがまだインストールされていない場合は、これらのいずれかをインストールしてください:
[Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) * [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
Hyper-Vは、Windows 10 Enterprise、Windows 10 Professional、Windows 10 Educationの3つのバージョンのWindows 10で実行できます。 Hyper-Vは、Windows 10 Enterprise、Windows 10 Professional、Windows 10 Educationの3つのバージョンのWindows 10で実行できます。

View File

@ -183,23 +183,26 @@ Minikube는 또한 "minikube" 컨텍스트를 생성하고 이를 kubectl의 기
minikube start --kubernetes-version {{< param "fullversion" >}} minikube start --kubernetes-version {{< param "fullversion" >}}
``` ```
#### VM 드라이버 지정하기 #### VM 드라이버 지정하기
`minikube start` 코멘드에 `--vm-driver=<enter_driver_name>` 플래그를 추가해서 VM 드라이버를 변경할 수 있다. `minikube start` 코멘드에 `--driver=<enter_driver_name>` 플래그를 추가해서 VM 드라이버를 변경할 수 있다.
코멘드를 예를 들면 다음과 같다. 코멘드를 예를 들면 다음과 같다.
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
Minikube는 다음의 드라이버를 지원한다. Minikube는 다음의 드라이버를 지원한다.
{{< note >}} {{< note >}}
지원되는 드라이버와 플러그인 설치 방법에 대한 보다 상세한 정보는 [드라이버](https://git.k8s.io/minikube/docs/drivers.md)를 참조한다. 지원되는 드라이버와 플러그인 설치 방법에 대한 보다 상세한 정보는 [드라이버](https://minikube.sigs.k8s.io/docs/reference/drivers/)를 참조한다.
{{< /note >}} {{< /note >}}
* virtualbox * virtualbox
* vmwarefusion * vmwarefusion
* kvm2 ([드라이버 설치](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver)) * docker (EXPERIMENTAL)
* hyperkit ([드라이버 설치](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver)) * kvm2 ([드라이버 설치](https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/))
* hyperv ([드라이버 설치](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver)) * hyperkit ([드라이버 설치](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/))
* hyperv ([드라이버 설치](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/))
다음 IP는 동적이며 변경할 수 있다. `minikube ip`로 알아낼 수 있다. 다음 IP는 동적이며 변경할 수 있다. `minikube ip`로 알아낼 수 있다.
* vmware ([드라이버 설치](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver)) (VMware unified driver) * vmware ([드라이버 설치](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* parallels ([드라이버 설치](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
* none (쿠버네티스 컴포넌트를 가상 머신이 아닌 호스트 상에서 구동한다. 리눅스를 실행중이어야 하고, {{< glossary_tooltip term_id="docker" >}}가 설치되어야 한다.) * none (쿠버네티스 컴포넌트를 가상 머신이 아닌 호스트 상에서 구동한다. 리눅스를 실행중이어야 하고, {{< glossary_tooltip term_id="docker" >}}가 설치되어야 한다.)
{{< caution >}} {{< caution >}}

View File

@ -70,11 +70,11 @@ kubectl이 설치되었는지 확인한다. kubectl은 [kubectl 설치하고 설
하이퍼바이저를 설치하지 않다면, 운영체제에 적합한 하이퍼바이저를 지금 설치한다. 하이퍼바이저를 설치하지 않다면, 운영체제에 적합한 하이퍼바이저를 지금 설치한다.
[KVM](https://www.linux-kvm.org/), 또한 QEMU를 사용한다 * [KVM](https://www.linux-kvm.org/), 또한 QEMU를 사용한다
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
Minikube는 쿠버네티스 컴포넌트를 VM이 아닌 호스트에서도 동작하도록 `--vm-driver=none` 옵션도 지원한다. Minikube는 쿠버네티스 컴포넌트를 VM이 아닌 호스트에서도 동작하도록 `--driver=none` 옵션도 지원한다.
이 드라이버를 사용하려면 [도커](https://www.docker.com/products/docker-desktop) 와 Linux 환경이 필요하지만, 하이퍼바이저는 필요하지 않다. 이 드라이버를 사용하려면 [도커](https://www.docker.com/products/docker-desktop) 와 Linux 환경이 필요하지만, 하이퍼바이저는 필요하지 않다.
데비안(Debian) 또는 파생된 배포판에서 `none` 드라이버를 사용하는 경우, 데비안(Debian) 또는 파생된 배포판에서 `none` 드라이버를 사용하는 경우,
@ -83,7 +83,7 @@ Minikube에서는 동작하지 않는 스냅 패키지 대신 도커용 `.deb`
{{< caution >}} {{< caution >}}
`none` VM 드라이버는 보안과 데이터 손실 이슈를 일으킬 수 있다. `none` VM 드라이버는 보안과 데이터 손실 이슈를 일으킬 수 있다.
`--vm-driver=none` 을 사용하기 전에 [이 문서](https://minikube.sigs.k8s.io/docs/reference/drivers/none/)를 참조해서 더 자세한 내용을 본다. `--driver=none` 을 사용하기 전에 [이 문서](https://minikube.sigs.k8s.io/docs/reference/drivers/none/)를 참조해서 더 자세한 내용을 본다.
{{< /caution >}} {{< /caution >}}
### 패키지를 이용하여 Minikube 설치 ### 패키지를 이용하여 Minikube 설치
@ -128,11 +128,11 @@ kubectl이 설치되었는지 확인한다. kubectl은 [kubectl 설치하고 설
하이퍼바이저를 설치하지 않았다면, 다음 중 하나를 지금 설치한다. 하이퍼바이저를 설치하지 않았다면, 다음 중 하나를 지금 설치한다.
[HyperKit](https://github.com/moby/hyperkit) * [HyperKit](https://github.com/moby/hyperkit)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
[VMware Fusion](https://www.vmware.com/products/fusion) * [VMware Fusion](https://www.vmware.com/products/fusion)
### Minikube 설치 ### Minikube 설치
가장 쉽게 맥OS에 Minikube를 설치하는 방법은 [Homebrew](https://brew.sh)를 이용하는 것이다. 가장 쉽게 맥OS에 Minikube를 설치하는 방법은 [Homebrew](https://brew.sh)를 이용하는 것이다.
@ -164,9 +164,9 @@ kubectl이 설치되었는지 확인한다. kubectl은 [kubectl 설치하고 설
하이퍼바이저가 설치 안 되어 있다면 아래중 하나를 지금 설치한다. 하이퍼바이저가 설치 안 되어 있다면 아래중 하나를 지금 설치한다.
[Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) * [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
Hyper-V는 다음 세 버전의 윈도우 10에서 실행할 수 있다. Windows 10 Enterprise, Windows 10 Professional, Windows 10 Education. Hyper-V는 다음 세 버전의 윈도우 10에서 실행할 수 있다. Windows 10 Enterprise, Windows 10 Professional, Windows 10 Education.
@ -208,12 +208,12 @@ Minikube 설치를 마친 후, 현재 CLI 세션을 닫고 재시작한다. Mini
{{< note >}} {{< note >}}
`minikube start``--vm-driver` 를 설정하려면, 아래에 `<driver_name>` 로 소문자로 언급된 곳에 설치된 하이퍼바이저의 이름을 입력한다. `--vm-driver` 값의 전체 목록은 [VM driver 문서에서 지정하기](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver)에서 확인할 수 있다. `minikube start``--driver` 를 설정하려면, 아래에 `<driver_name>` 로 소문자로 언급된 곳에 설치된 하이퍼바이저의 이름을 입력한다. `--driver` 값의 전체 목록은 [VM driver 문서에서 지정하기](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver)에서 확인할 수 있다.
{{< /note >}} {{< /note >}}
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
`minikube start` 가 완료되면, 아래 명령을 실행해서 클러스터의 상태를 확인한다. `minikube start` 가 완료되면, 아래 명령을 실행해서 클러스터의 상태를 확인한다.

View File

@ -215,27 +215,29 @@ minikube start --kubernetes-version {{< param "fullversion" >}}
#### Указание драйвера виртуальной машины #### Указание драйвера виртуальной машины
Вы можете изменить драйвер виртуальной машины, добавив флаг `--vm-driver=<enter_driver_name>` в команду `minikube start`. Вы можете изменить драйвер виртуальной машины, добавив флаг `--driver=<enter_driver_name>` в команду `minikube start`.
Тогда команда будет выглядеть так: Тогда команда будет выглядеть так:
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
Minikube поддерживает следующие драйверы: Minikube поддерживает следующие драйверы:
{{< note >}} {{< note >}}
Смотрите файл [DRIVERS](https://git.k8s.io/minikube/docs/drivers.md) для получения подробной информации о поддерживаемых драйверах и как устанавливать плагины. Смотрите файл [DRIVERS](https://minikube.sigs.k8s.io/docs/reference/drivers/) для получения подробной информации о поддерживаемых драйверах и как устанавливать плагины.
{{< /note >}} {{< /note >}}
* virtualbox * virtualbox
* vmwarefusion * vmwarefusion
* kvm2 ([установка драйвера](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver)) * docker (EXPERIMENTAL)
* hyperkit ([установка драйвера](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver)) * kvm2 ([установка драйвера](https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/))
* hyperv ([установка драйвера](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver)) * hyperkit ([установка драйвера](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/))
* hyperv ([установка драйвера](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/))
Обратите внимание, что указанный IP-адрес на этой странице является динамическим и может изменяться. Его можно получить с помощью `minikube ip`. Обратите внимание, что указанный IP-адрес на этой странице является динамическим и может изменяться. Его можно получить с помощью `minikube ip`.
* vmware ([установка драйвера](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver)) (VMware unified driver) * vmware ([установка драйвера](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* parallels ([установка драйвера](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
* none (Запускает компоненты Kubernetes на хосте, а не на виртуальной машине. Использование этого драйвера требует использование Linux и установленного {{< glossary_tooltip term_id="docker" >}}.) * none (Запускает компоненты Kubernetes на хосте, а не на виртуальной машине. Использование этого драйвера требует использование Linux и установленного {{< glossary_tooltip term_id="docker" >}}.)
{{< caution >}} {{< caution >}}

View File

@ -68,21 +68,21 @@ Hyper-V Requirements: A hypervisor has been detected. Features required for
Если у вас ещё не установлен гипервизор, установите один из них: Если у вас ещё не установлен гипервизор, установите один из них:
[KVM](https://www.linux-kvm.org/), который также использует QEMU * [KVM](https://www.linux-kvm.org/), который также использует QEMU
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
Minikube также поддерживает опцию `--vm-driver=none`, которая запускает компоненты Kubernetes на хосте, а не на виртуальной машине. Minikube также поддерживает опцию `--driver=none`, которая запускает компоненты Kubernetes на хосте, а не на виртуальной машине.
Для использования этого драйвера требуется только [Docker](https://www.docker.com/products/docker-desktop) и Linux, но не гипервизор. Для использования этого драйвера требуется только [Docker](https://www.docker.com/products/docker-desktop) и Linux, но не гипервизор.
Если вы используете драйвер `none` в Debian и его производных, используйте пакеты `.deb` для Docker, а не snap-пакет, который не работает с Minikube. Если вы используете драйвер `none` в Debian и его производных, используйте пакеты `.deb` для Docker, а не snap-пакет, который не работает с Minikube.
Вы можете скачать `.deb`-пакеты с сайта [Docker](https://www.docker.com/products/docker-desktop). Вы можете скачать `.deb`-пакеты с сайта [Docker](https://www.docker.com/products/docker-desktop).
{{< caution >}} {{< caution >}}
Драйвера виртуальной машины `none` может привести к проблемам безопасности и потери данных. Перед использованием `--vm-driver=none` обратитесь к [этой документации](https://minikube.sigs.k8s.io/docs/reference/drivers/none/) для получения дополнительной информации. Драйвера виртуальной машины `none` может привести к проблемам безопасности и потери данных. Перед использованием `--driver=none` обратитесь к [этой документации](https://minikube.sigs.k8s.io/docs/reference/drivers/none/) для получения дополнительной информации.
{{< /caution >}} {{< /caution >}}
Minikube также поддерживает `vm-driver=podman`, похожий на драйвер Docker. Podman, работающий с правами суперпользователя (пользователь root) — это лучший способ гарантировать вашим контейнерам полный доступ ко всем возможностям в системе. Minikube также поддерживает `driver=podman`, похожий на драйвер Docker. Podman, работающий с правами суперпользователя (пользователь root) — это лучший способ гарантировать вашим контейнерам полный доступ ко всем возможностям в системе.
{{< caution >}} {{< caution >}}
Драйвер `podman` должен запускать контейнеры от имени суперпользователя, поскольку у обычных аккаунтов нет полного доступа ко всем возможностям операционной системы, которые могут понадобиться контейнерам для работы. Драйвер `podman` должен запускать контейнеры от имени суперпользователя, поскольку у обычных аккаунтов нет полного доступа ко всем возможностям операционной системы, которые могут понадобиться контейнерам для работы.
@ -128,11 +128,11 @@ brew install minikube
Если у вас ещё не установлен гипервизор, установите один из них: Если у вас ещё не установлен гипервизор, установите один из них:
[HyperKit](https://github.com/moby/hyperkit) * [HyperKit](https://github.com/moby/hyperkit)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
[VMware Fusion](https://www.vmware.com/products/fusion) * [VMware Fusion](https://www.vmware.com/products/fusion)
### Установка Minikube ### Установка Minikube
Простейший способ установить Minikube в macOS — использовать [Homebrew](https://brew.sh): Простейший способ установить Minikube в macOS — использовать [Homebrew](https://brew.sh):
@ -164,9 +164,9 @@ sudo mv minikube /usr/local/bin
Если у вас ещё не установлен гипервизор, установите один из них: Если у вас ещё не установлен гипервизор, установите один из них:
[Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) * [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
Hyper-V может работать в трёх версиях Windows 10: Windows 10 Enterprise, Windows 10 Professional и Windows 10 Education. Hyper-V может работать в трёх версиях Windows 10: Windows 10 Enterprise, Windows 10 Professional и Windows 10 Education.
@ -208,12 +208,12 @@ choco install minikube
{{< note >}} {{< note >}}
Для использования опции `--vm-driver` с командой `minikube start` укажите имя установленного вами гипервизора в нижнем регистре в заполнителе `<driver_name>` команды ниже. Полный список значений для опции `--vm-driver` перечислен в разделе по [указанию драйвера виртуальной машины](/docs/setup/learning-environment/minikube/#specifying-the-vm-driver). Для использования опции `--driver` с командой `minikube start` укажите имя установленного вами гипервизора в нижнем регистре в заполнителе `<driver_name>` команды ниже. Полный список значений для опции `--driver` перечислен в разделе по [указанию драйвера виртуальной машины](/docs/setup/learning-environment/minikube/#specifying-the-vm-driver).
{{< /note >}} {{< /note >}}
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
После того, как команда `minikube start` отработала успешно, выполните команду для проверки состояния кластера: После того, как команда `minikube start` отработала успешно, выполните команду для проверки состояния кластера:

View File

@ -70,12 +70,12 @@ Hyper-V Requirements: A hypervisor has been detected. Features required for
Nếu bạn chưa cài đặt Hypervisor, hãy cài đặt một trong những phần mềm sau đây: Nếu bạn chưa cài đặt Hypervisor, hãy cài đặt một trong những phần mềm sau đây:
[KVM](https://www.linux-kvm.org/), sử dụng QEMU * [KVM](https://www.linux-kvm.org/), sử dụng QEMU
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
Minikube cũng hỗ trợ tùy chọn `--vm-driver=none` để chạy các thành phần của Kubernetes ngay trên máy chủ chứ không phải trong một VM. Sử dụng driver này yêu cầu [Docker](https://www.docker.com/products/docker-desktop) và môi trường Linux chứ không phải một Hypervisor. Bạn nên sử dụng cài đặt apt của docker từ [Docker](https://www.docker.com/products/docker-desktop) khi sử dụng non driver. Cài đặt snap của docker không hoạt động với minikube. Minikube cũng hỗ trợ tùy chọn `--driver=none` để chạy các thành phần của Kubernetes ngay trên máy chủ chứ không phải trong một VM. Sử dụng driver này yêu cầu [Docker](https://www.docker.com/products/docker-desktop) và môi trường Linux chứ không phải một Hypervisor. Bạn nên sử dụng cài đặt apt của docker từ [Docker](https://www.docker.com/products/docker-desktop) khi sử dụng non driver. Cài đặt snap của docker không hoạt động với minikube.
{{< /note >}} {{< /note >}}
### Cài đặt Minikube sử dụng package ### Cài đặt Minikube sử dụng package
@ -118,11 +118,11 @@ brew install minikube
Nếu bạn chưa cài đặt Hypervisor, hãy cài đặt một trong những phần mềm sau đây: Nếu bạn chưa cài đặt Hypervisor, hãy cài đặt một trong những phần mềm sau đây:
[HyperKit](https://github.com/moby/hyperkit) * [HyperKit](https://github.com/moby/hyperkit)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
[VMware Fusion](https://www.vmware.com/products/fusion) * [VMware Fusion](https://www.vmware.com/products/fusion)
### Cài đặt Minikube ### Cài đặt Minikube
Cách đơn giản nhất để cài đặt Minikube trên macOS là sử dụng [Homebrew](https://brew.sh): Cách đơn giản nhất để cài đặt Minikube trên macOS là sử dụng [Homebrew](https://brew.sh):
@ -154,9 +154,9 @@ sudo mv minikube /usr/local/bin
Nếu bạn chưa cài đặt Hypervisor, hãy cài đặt một trong những phần mềm sau đây: Nếu bạn chưa cài đặt Hypervisor, hãy cài đặt một trong những phần mềm sau đây:
[Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) * [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
Hyper-V có thể chạy trên 3 phiên bản khác nhau của Windows 10: Windows 10 Enterprise, Windows 10 Professional, và Windows 10 Education. Hyper-V có thể chạy trên 3 phiên bản khác nhau của Windows 10: Windows 10 Enterprise, Windows 10 Professional, và Windows 10 Education.

View File

@ -105,7 +105,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
--> -->
<!-- <!--
Lets create a Kubernetes Deployment using an existing image named `echoserver`, which is a simple HTTP server and expose it on port 8080 using `--port`. Let's create a Kubernetes Deployment using an existing image named `echoserver`, which is a simple HTTP server and expose it on port 8080 using `--port`.
--> -->
让我们使用名为 `echoserver` 的镜像创建一个 Kubernetes Deployment并使用 `--port` 在端口 8080 上暴露服务。`echoserver` 是一个简单的 HTTP 服务器。 让我们使用名为 `echoserver` 的镜像创建一个 Kubernetes Deployment并使用 `--port` 在端口 8080 上暴露服务。`echoserver` 是一个简单的 HTTP 服务器。
@ -378,17 +378,17 @@ minikube start --kubernetes-version {{< param "fullversion" >}}
#### 指定 VM 驱动程序 #### 指定 VM 驱动程序
<!-- <!--
You can change the VM driver by adding the `--vm-driver=<enter_driver_name>` flag to `minikube start`. You can change the VM driver by adding the `--driver=<enter_driver_name>` flag to `minikube start`.
--> -->
您可以通过将 `--vm-driver=<enter_driver_name>` 参数添加到 `minikube start` 来更改 VM 驱动程序。 您可以通过将 `--driver=<enter_driver_name>` 参数添加到 `minikube start` 来更改 VM 驱动程序。
<!-- <!--
For example the command would be. For example the command would be.
--> -->
例如命令: 例如命令:
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
<!-- <!--
Minikube supports the following drivers: Minikube supports the following drivers:
@ -396,35 +396,24 @@ minikube start --vm-driver=<driver_name>
Minikube 支持以下驱动程序: Minikube 支持以下驱动程序:
<!-- <!--
See [DRIVERS](https://git.k8s.io/minikube/docs/drivers.md) for details on supported drivers and how to install plugins. See [DRIVERS](https://minikube.sigs.k8s.io/docs/reference/drivers/) for details on supported drivers and how to install plugins.
-->
<!--
* virtualbox
* vmwarefusion
* kvm2 ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver))
* hyperkit ([driver installation](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver))
* hyperv ([driver installation](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver))
Note that the IP below is dynamic and can change. It can be retrieved with `minikube ip`.
* vmware ([driver installation](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver)) (VMware unified driver)
* none (Runs the Kubernetes components on the host and not in a VM. Using this driver requires Docker ([docker install](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) and a Linux environment)
--> -->
{{< note >}} {{< note >}}
有关支持的驱动程序以及如何安装插件的详细信息,请参阅[驱动程序](https://git.k8s.io/minikube/docs/drivers.md)。 有关支持的驱动程序以及如何安装插件的详细信息,请参阅[驱动程序](https://minikube.sigs.k8s.io/docs/reference/drivers/)。
{{< /note >}} {{< /note >}}
* virtualbox * virtualbox
* vmwarefusion * vmwarefusion
* kvm2 ([驱动安装](https://git.k8s.io/minikube/docs/drivers.md#kvm2-driver)) * docker (EXPERIMENTAL)
* hyperkit ([驱动安装](https://git.k8s.io/minikube/docs/drivers.md#hyperkit-driver)) * kvm2 ([驱动安装](https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/))
* hyperv ([驱动安装](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperv-driver)) * hyperkit ([驱动安装](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperkit/))
<!-- * hyperv ([驱动安装](https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/))
Note that the IP below is dynamic and can change. It can be retrieved with `minikube ip`.
-->
请注意,下面的 IP 是动态的,可以更改。可以使用 `minikube ip` 检索。 请注意,下面的 IP 是动态的,可以更改。可以使用 `minikube ip` 检索。
* vmware ([驱动安装](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#vmware-unified-driver)) VMware 统一驱动) * vmware ([驱动安装](https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/)) (VMware unified driver)
* parallels ([驱动安装](https://minikube.sigs.k8s.io/docs/reference/drivers/parallels/))
* none (在主机上运行Kubernetes组件而不是在 VM 中。使用该驱动依赖 Docker ([安装 Docker](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) 和 Linux 环境) * none (在主机上运行Kubernetes组件而不是在 VM 中。使用该驱动依赖 Docker ([安装 Docker](https://docs.docker.com/install/linux/docker-ce/ubuntu/)) 和 Linux 环境)
<!-- <!--

View File

@ -135,17 +135,17 @@ If you do not already have a hypervisor installed, install one of these now:
如果还没有装过 hypervisor请选择以下方式之一进行安装 如果还没有装过 hypervisor请选择以下方式之一进行安装
<!-- <!--
[KVM](https://www.linux-kvm.org/), which also uses QEMU * [KVM](https://www.linux-kvm.org/), which also uses QEMU
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
--> -->
[KVM](https://www.linux-kvm.org/),也使用了 QEMU * [KVM](https://www.linux-kvm.org/),也使用了 QEMU
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
<!-- <!--
Minikube also supports a `--vm-driver=none` option that runs the Kubernetes components on the host and not in a VM. Minikube also supports a `--driver=none` option that runs the Kubernetes components on the host and not in a VM.
Using this driver requires [Docker](https://www.docker.com/products/docker-desktop) and a Linux environment but not a hypervisor. Using this driver requires [Docker](https://www.docker.com/products/docker-desktop) and a Linux environment but not a hypervisor.
If you're using the `none` driver in Debian or a derivative, use the `.deb` packages for If you're using the `none` driver in Debian or a derivative, use the `.deb` packages for
@ -153,7 +153,7 @@ Docker rather than the snap package, which does not work with Minikube.
You can download `.deb` packages from [Docker](https://www.docker.com/products/docker-desktop). You can download `.deb` packages from [Docker](https://www.docker.com/products/docker-desktop).
--> -->
Minikube 还支持使用一个 `--vm-driver=none` 选项,让 Kubernetes 组件运行在主机中,而不是在 VM 中。 Minikube 还支持使用一个 `--driver=none` 选项,让 Kubernetes 组件运行在主机中,而不是在 VM 中。
使用这种驱动方式需要 [Docker](https://www.docker.com/products/docker-desktop) 和 Linux 环境,但不需要 hypervisor。 使用这种驱动方式需要 [Docker](https://www.docker.com/products/docker-desktop) 和 Linux 环境,但不需要 hypervisor。
如果你在 Debian 系的 OS 中使用了 `none` 这种驱动方式,请使用 `.deb` 包安装 Docker不要使用 snap 包的方式Minikube 不支持这种方式。 如果你在 Debian 系的 OS 中使用了 `none` 这种驱动方式,请使用 `.deb` 包安装 Docker不要使用 snap 包的方式Minikube 不支持这种方式。
@ -162,23 +162,23 @@ Minikube 还支持使用一个 `--vm-driver=none` 选项,让 Kubernetes 组件
{{< caution >}} {{< caution >}}
<!-- <!--
The `none` VM driver can result in security and data loss issues. The `none` VM driver can result in security and data loss issues.
Before using `--vm-driver=none`, consult [this documentation](https://minikube.sigs.k8s.io/docs/reference/drivers/none/) for more information. Before using `--driver=none`, consult [this documentation](https://minikube.sigs.k8s.io/docs/reference/drivers/none/) for more information.
--> -->
`none` VM 驱动方式存在导致安全和数据丢失的问题。 `none` VM 驱动方式存在导致安全和数据丢失的问题。
使用 `--vm-driver=none` 之前,请参考[这个文档](https://minikube.sigs.k8s.io/docs/reference/drivers/none/)获取详细信息。 使用 `--driver=none` 之前,请参考[这个文档](https://minikube.sigs.k8s.io/docs/reference/drivers/none/)获取详细信息。
{{< /caution >}} {{< /caution >}}
<!-- <!--
Minikube also supports a `vm-driver=podman` similar to the Docker driver. Podman run as superuser privilege (root user) is the best way to ensure that your containers have full access to any feature available on your system. Minikube also supports a `driver=podman` similar to the Docker driver. Podman run as superuser privilege (root user) is the best way to ensure that your containers have full access to any feature available on your system.
--> -->
Minikube 还支持另外一个类似于 Docker 驱动的方式 `vm-driver=podman`。 Minikube 还支持另外一个类似于 Docker 驱动的方式 `driver=podman`。
使用超级用户权限root 用户)运行 Podman 可以最好的确保容器具有足够的权限使用你操作系统上的所有特性。 使用超级用户权限root 用户)运行 Podman 可以最好的确保容器具有足够的权限使用你操作系统上的所有特性。
{{< caution >}} {{< caution >}}
<!-- <!--
The `podman` driver requires running the containers as root because regular user accounts dont have full access to all operating system features that their containers might need to run. The `podman` driver requires running the containers as root because regular user accounts don't have full access to all operating system features that their containers might need to run.
--> -->
`Podman` 驱动方式需要以 root 用户身份运行容器,因为普通用户帐户没有足够的权限使用容器运行可能需要的操作系统上的所有特性。 `Podman` 驱动方式需要以 root 用户身份运行容器,因为普通用户帐户没有足够的权限使用容器运行可能需要的操作系统上的所有特性。
{{< /caution >}} {{< /caution >}}
@ -261,11 +261,11 @@ If you do not already have a hypervisor installed, install one of these now:
如果你还没有安装 hypervisor请选择以下方式之一进行安装 如果你还没有安装 hypervisor请选择以下方式之一进行安装
[HyperKit](https://github.com/moby/hyperkit) * [HyperKit](https://github.com/moby/hyperkit)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
[VMware Fusion](https://www.vmware.com/products/fusion) * [VMware Fusion](https://www.vmware.com/products/fusion)
<!-- <!--
### Install Minikube ### Install Minikube
@ -324,9 +324,9 @@ If you do not already have a hypervisor installed, install one of these now:
如果你还没有安装 hypervisor请选择以下方式之一进行安装 如果你还没有安装 hypervisor请选择以下方式之一进行安装
[Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install) * [Hyper-V](https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
{{< note >}} {{< note >}}
<!-- <!--
@ -405,16 +405,16 @@ To confirm successful installation of both a hypervisor and Minikube, you can ru
{{< note >}} {{< note >}}
<!-- <!--
For setting the `--vm-driver` with `minikube start`, enter the name of the hypervisor you installed in lowercase letters where `<driver_name>` is mentioned below. A full list of `--vm-driver` values is available in [specifying the VM driver documentation](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver). For setting the `--driver` with `minikube start`, enter the name of the hypervisor you installed in lowercase letters where `<driver_name>` is mentioned below. A full list of `--driver` values is available in [specifying the VM driver documentation](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver).
--> -->
通过 `minikube start` 设置 `--vm-driver`。在下面提到 `<driver_name>` 的地方,用小写字母,输入你安装的 hypervisor 的名称。 通过 `minikube start` 设置 `--driver`。在下面提到 `<driver_name>` 的地方,用小写字母,输入你安装的 hypervisor 的名称。
[指定 VM 驱动程序](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver) 列举了 `--vm-driver` 值的完整列表 [指定 VM 驱动程序](https://kubernetes.io/docs/setup/learning-environment/minikube/#specifying-the-vm-driver) 列举了 `--driver` 值的完整列表
{{< /note >}} {{< /note >}}
```shell ```shell
minikube start --vm-driver=<driver_name> minikube start --driver=<driver_name>
``` ```
<!-- <!--