From 798c007d999ed67921b361f27d36d1e1f192713f Mon Sep 17 00:00:00 2001 From: "re;i" Date: Fri, 27 Mar 2020 01:06:50 +0000 Subject: [PATCH] commit FAQ --- site/content/en/docs/FAQ/_index.md | 8 ++++++++ site/content/en/docs/FAQ/sudo_prompts.md | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 site/content/en/docs/FAQ/_index.md create mode 100644 site/content/en/docs/FAQ/sudo_prompts.md diff --git a/site/content/en/docs/FAQ/_index.md b/site/content/en/docs/FAQ/_index.md new file mode 100644 index 0000000000..4c22c42c78 --- /dev/null +++ b/site/content/en/docs/FAQ/_index.md @@ -0,0 +1,8 @@ +--- +title: "FAQ" +linkTitle: "FAQ" +weight: 5 +description: > + Questions that come up regularly +--- + diff --git a/site/content/en/docs/FAQ/sudo_prompts.md b/site/content/en/docs/FAQ/sudo_prompts.md new file mode 100644 index 0000000000..a78b9d141d --- /dev/null +++ b/site/content/en/docs/FAQ/sudo_prompts.md @@ -0,0 +1,20 @@ +--- +title: "Sudo prompts" +linkTitle: "Sudo prompts" +weight: 1 +date: 2020-03-26 +description: > + Disabling sudo prompts when using minikude start/stop/status, kubectl cluster-info, ... +--- + +## Use the `docker` driver + +Use the `docker` driver rather than the `none` driver. `docker` driver should be used unless it does not meet requirements for some reason. + +## For `none` users + +For `none` users, `CHANGE_MINIKUBE_NONE_USER=true`, kubectl and such will still work: [see environment variables](https://minikube.sigs.k8s.io/docs/reference/environment_variables/) + +## Otherwise deal with `sudo` + +Configure `sudo` to never prompt for the commands issued by minikube.