From c6d4695cb8c768041e135afb082a136dad1c6bad Mon Sep 17 00:00:00 2001 From: Chainarong Tangsurakit Date: Wed, 28 Jun 2017 14:02:28 +0700 Subject: [PATCH 1/3] Set storageClassName to match earlier manual disk creation https://github.com/kubernetes/kubernetes.github.io/issues/4218 --- docs/tasks/run-application/mysql-deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tasks/run-application/mysql-deployment.yaml b/docs/tasks/run-application/mysql-deployment.yaml index 8be6ae7b3d..19e102947f 100644 --- a/docs/tasks/run-application/mysql-deployment.yaml +++ b/docs/tasks/run-application/mysql-deployment.yaml @@ -16,6 +16,7 @@ metadata: spec: accessModes: - ReadWriteOnce + storageClassName: "" resources: requests: storage: 20Gi From 00df48fb9cc286e0ba90895bbf93135601c88cb7 Mon Sep 17 00:00:00 2001 From: Bastian Klein Date: Wed, 28 Jun 2017 20:49:52 +0200 Subject: [PATCH 2/3] Fix installing autocompletion documentation (#4189) * Fix installing autocompletion documentation The written solution did not work for me with the error `-bash: __git_ps1: command not found`. Since the auto-completion is already installed you can simply add the Kubernetes autocompletion to it. * Remove sourcing bash-completion in .bash_profile --- docs/tasks/tools/install-kubectl.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/tasks/tools/install-kubectl.md b/docs/tasks/tools/install-kubectl.md index 4c84c348fd..df655eb7a5 100644 --- a/docs/tasks/tools/install-kubectl.md +++ b/docs/tasks/tools/install-kubectl.md @@ -183,12 +183,10 @@ Follow the "caveats" section of brew's output to add the appropriate bash comple If you've installed kubectl using the [Homebrew instructions](#install-with-homebrew-on-macos) then kubectl completion should start working immediately. -If you have installed kubectl manually, then run: `source <(kubectl completion bash)` - -To add kubectl autocompletion to your profile (so it is automatically loaded in future shells): +If you have installed kubectl manually, you need to add kubectl autocompletion to the bash-completion: ```shell -echo "source <(kubectl completion bash)" >> ~/.bash_profile +kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl ``` The Homebrew project is independent from kubernetes, so the bash-completion packages are not guaranteed to work. From 206a264c0e2e2f72abaf4c264382456eac32d496 Mon Sep 17 00:00:00 2001 From: Yohann B Date: Wed, 28 Jun 2017 20:51:25 +0200 Subject: [PATCH 3/3] Add no_proxy settings to use minikube and kubectl (#4108) * Add no_proxy settings one might need to use minikube and kubectl behind a proxy. * add extra line before shell block for formatting * include suggestions from chenopis --- docs/getting-started-guides/minikube.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting-started-guides/minikube.md b/docs/getting-started-guides/minikube.md index 8ef8b78cb0..8877a70a21 100644 --- a/docs/getting-started-guides/minikube.md +++ b/docs/getting-started-guides/minikube.md @@ -281,6 +281,12 @@ $ minikube start --docker-env HTTP_PROXY=http://$YOURPROXY:PORT \ --docker-env HTTPS_PROXY=https://$YOURPROXY:PORT ``` +If your Virtual Machine address is 192.168.99.100, then chances are your proxy settings will prevent kubectl from directly reaching it. +To by-pass proxy configuration for this IP address, you should modify your no_proxy settings. You can do so with: + +```shell +$ export no_proxy=$no_proxy,$(minikube ip) +``` ## Known Issues * Features that require a Cloud Provider will not work in Minikube. These include: