-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7252 from medyagh/kic_docs
add site docs for docker/podman driver
- Loading branch information
Showing
20 changed files
with
169 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
site/content/en/docs/Reference/Drivers/includes/check_baremetal_linux.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
To use baremetal driver (none driver). verify that your operating system is Linux and also have 'systemd' installed. | ||
|
||
```shell | ||
pidof systemd && echo "yes" || echo "no" | ||
``` | ||
If the above command outputs "no": | ||
Your system is not suitable for none driver. |
11 changes: 11 additions & 0 deletions
11
site/content/en/docs/Reference/Drivers/includes/check_virtualization_linux.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
To use VM drivers, verify that your system has virtualization support enabled: | ||
|
||
```shell | ||
egrep -q 'vmx|svm' /proc/cpuinfo && echo yes || echo no | ||
``` | ||
|
||
If the above command outputs "no": | ||
|
||
- If you are running within a VM, your hypervisor does not allow nested virtualization. You will need to use the *None (bare-metal)* driver | ||
- If you are running on a physical machine, ensure that your BIOS has hardware virtualization enabled | ||
|
19 changes: 19 additions & 0 deletions
19
site/content/en/docs/Reference/Drivers/includes/check_virtualization_windows.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
To check if virtualization is supported, run the following command on your Windows terminal or command prompt. | ||
|
||
```shell | ||
systeminfo | ||
``` | ||
If you see the following output, virtualization is supported: | ||
|
||
```shell | ||
Hyper-V Requirements: VM Monitor Mode Extensions: Yes | ||
Virtualization Enabled In Firmware: Yes | ||
Second Level Address Translation: Yes | ||
Data Execution Prevention Available: Yes | ||
``` | ||
|
||
If you see the following output, your system already has a Hypervisor installed and you can skip the next step. | ||
|
||
```shell | ||
Hyper-V Requirements: A hypervisor has been detected. | ||
``` |
16 changes: 16 additions & 0 deletions
16
site/content/en/docs/Reference/Drivers/includes/docker_usage.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Install Docker | ||
|
||
- [Docker Desktop](https://hub.docker.com/search?q=&type=edition&offering=community&sort=updated_at&order=desc) | ||
|
||
## Usage | ||
|
||
Start a cluster using the docker driver: | ||
|
||
```shell | ||
minikube start --driver=docker | ||
``` | ||
To make docker the default driver: | ||
|
||
```shell | ||
minikube config set driver docker | ||
``` |
21 changes: 21 additions & 0 deletions
21
site/content/en/docs/Reference/Drivers/includes/podman_usage.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## experimental | ||
|
||
This is an experimental driver. please use it only for experimental reasons. | ||
for a better kubernetes in container experience, use docker [driver](https://minikube.sigs.k8s.io/docs/reference/drivers/docker). | ||
|
||
## Install Podman | ||
|
||
- [Podman](https://podman.io/getting-started/installation.html) | ||
|
||
## Usage | ||
|
||
Start a cluster using the docker driver: | ||
|
||
```shell | ||
minikube start --driver=podman | ||
``` | ||
To make docker the default driver: | ||
|
||
```shell | ||
minikube config set driver podman | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: "podman" | ||
linkTitle: "podman" | ||
weight: 3 | ||
date: 2020-03-26 | ||
description: > | ||
Podman driver | ||
--- | ||
|
||
## Overview | ||
|
||
The podman driver is another kubernetes in container driver for minikube. simmilar to [docker](https://minikube.sigs.k8s.io/docs/reference/drivers/docker/) driver. | ||
podman driver is currently experimental. | ||
and only supported on Linux and MacOs (with a remote podman server) | ||
|
||
|
||
## Try it with CRI-O container runtime. | ||
```shell | ||
minikube start --driver=podman --container-runtime=cri-o | ||
``` | ||
|
||
|
||
{{% readfile file="/docs/Reference/Drivers/includes/podman_usage.inc" %}} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.