* 'master' of https://github.com/kubernetes/kubernetes.github.io:
  Add no_proxy settings to use minikube and kubectl (#4108)
  Fix installing autocompletion documentation (#4189)
  Set storageClassName to match earlier manual disk creation
This commit is contained in:
Andrew Chen
2017-06-28 16:39:36 -07:00
3 changed files with 9 additions and 4 deletions
@@ -16,6 +16,7 @@ metadata:
spec:
accessModes:
- ReadWriteOnce
storageClassName: ""
resources:
requests:
storage: 20Gi
+2 -4
View File
@@ -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.