Merge pull request #11638 from sharifelgamal/faq-cleanup

site: Cleanup FAQ formatting and grammar.
pull/11641/head
Medya Ghazizadeh 2021-06-11 16:06:29 -04:00 committed by GitHub
commit 6c6a62f2f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 21 deletions

View File

@ -3,14 +3,14 @@ title: "FAQ"
linkTitle: "FAQ"
weight: 3
description: >
Questions that come up regularly
Frequently Asked Questions
---
## How to run an older Kubernetes version with minikube ?
## Can I run an older Kubernetes version with minikube? Do I have to downgrade my minikube version?
You do not need to download an older minikube to run an older kubernetes version.
You can create a Kubenretes cluster with any version you desire using `--kubernetes-version` flag.
You can create a Kubernetes cluster with any version you desire using `--kubernetes-version` flag.
Example:
@ -19,26 +19,27 @@ minikube start --kubernetes-version=v1.15.0
```
## Docker Driver: How to set the cgroup manager minikube uses?
## Docker Driver: How can I set minikube's cgroup manager?
By default minikube uses the `cgroupfs` cgroup manager for the Kubernetes clusters, if you are on a system with a systemd cgroup manager, this could cause conflicts.
To use `systemd` cgroup manager, run:
By default minikube uses the `cgroupfs` cgroup manager for Kubernetes clusters. If you are on a system with a systemd cgroup manager, this could cause conflicts.
To use the `systemd` cgroup manager, run:
```bash
minikube start --force-systemd=true
```
## How to run minikube with Docker driver if existing cluster is VM?
## How can I run minikube with the Docker driver if I have an existing cluster with a VM driver?
If you have an existing cluster with a VM driver (virtualbox, hyperkit, KVM,...).
First please ensure your Docker service is running. Then you need to either:
(a) Delete the existing cluster and create a new one
First please ensure your Docker service is running and then you need to either delete the existing cluster and create one
```bash
minikube delete
minikube start --driver=docker
```
Alternatively, if you want to keep your existing cluster you can create a second cluster with a different profile name. (example p1)
Alternatively, (b) Create a second cluster with a different profile name:
```bash
minikube start -p p1 --driver=docker
@ -46,27 +47,27 @@ minikube start -p p1 --driver=docker
## Does minikube support IPv6?
minikube currently doesn't support IPv6. However, it is on the [roadmap]({{< ref "/docs/contrib/roadmap.en.md" >}}).
minikube currently doesn't support IPv6. However, it is on the [roadmap]({{< ref "/docs/contrib/roadmap.en.md" >}}). You can also refer to the [open issue](https://github.com/kubernetes/minikube/issues/8535).
## How can I prevent password prompts on Linux?
The easiest approach is to use the `docker` driver, as the backend service always runs as `root`.
`none` users may want to try `CHANGE_MINIKUBE_NONE_USER=true`, where kubectl and such will still work: [see environment variables]({{< ref "/docs/handbook/config.md#environment-variables" >}})
`none` users may want to try `CHANGE_MINIKUBE_NONE_USER=true`, where kubectl and such will work without `sudo`. See [environment variables]({{< ref "/docs/handbook/config.md#environment-variables" >}}) for more details.
Alternatively, configure `sudo` to never prompt for the commands issued by minikube.
Alternatively, you can configure `sudo` to never prompt for commands issued by minikube.
## How to ignore system verification?
## How can I ignore system verification?
minikube's bootstrapper, [Kubeadm](https://github.com/kubernetes/kubeadm) verifies a list of features on the host system before installing Kubernetes. in case you get this error, and you still want to try minikube anyways despite your system's limitation you can skip the verification by starting minikube with this extra option:
[kubeadm](https://github.com/kubernetes/kubeadm), minikube's bootstrapper, verifies a list of features on the host system before installing Kubernetes. In the case you get an error and still want to try minikube despite your system's limitation, you can skip verification by starting minikube with this extra option:
```shell
minikube start --extra-config kubeadm.ignore-preflight-errors=SystemVerification
```
## what is the resource allocation for Knative Setup using minikube?
## What is the minimum resource allocation necessary for a Knative setup using minikube?
Please allocate sufficient resources for Knative setup using minikube, especially when you run a minikube cluster on your local machine. We recommend allocating at least 6 CPUs and 8G memory.
Please allocate sufficient resources for Knative setup using minikube, especially when running minikube cluster on your local machine. We recommend allocating at least 6 CPUs and 8G memory:
```shell
minikube start --cpus 6 --memory 8000
@ -74,16 +75,18 @@ minikube start --cpus 6 --memory 8000
## Do I need to install kubectl locally?
No, minikube comes with built-in kubectl [see minikube's kubectl documentation]({{< ref "docs/handbook/kubectl.md" >}}).
No, minikube comes with a built-in kubectl installation. See [minikube's kubectl documentation]({{< ref "docs/handbook/kubectl.md" >}}).
## How to opt-in to beta notifications?
## How can I opt-in to beta release notifications?
Simply run the following command to be enrolled into beta notifications.
Simply run the following command to be enrolled into beta notifications:
```
minikube config set WantBetaUpdateNotification true
```
Yes! If you prefer not having emoji in your minikube output 😔 , just set the MINIKUBE_IN_STYLE environment variable to 0 or false
## Can I get rid of the emoji in minikube's outpuut?
Yes! If you prefer not having emoji in your minikube output 😔 , just set the `MINIKUBE_IN_STYLE` environment variable to `0` or `false`:
```
MINIKUBE_IN_STYLE=0 minikube start