You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -546,7 +548,7 @@ The connection to the server <server-name:port> was refused - did you specify th
546
548
```
547
549
548
550
<!--
549
-
For example, if you are intending to run a Kubernetes cluster on your laptop (locally), you will need a tool like minikube to be installed first and then re-run the commands stated above.
551
+
For example, if you are intending to run a Kubernetes cluster on your laptop (locally), you will need a tool like Minikube to be installed first and then re-run the commands stated above.
550
552
551
553
If kubectl cluster-info returns the url response but you can't access your cluster, to check whether it is configured properly, use:
552
554
-->
@@ -561,7 +563,7 @@ kubectl cluster-info dump
561
563
<!--
562
564
## Optional kubectl configurations
563
565
564
-
## Enabling shell autocompletion
566
+
### Enabling shell autocompletion
565
567
566
568
kubectl provides autocompletion support for Bash and Zsh, which can save you a lot of typing.
567
569
@@ -803,7 +805,7 @@ You now have to ensure that the kubectl completion script gets sourced in all yo
803
805
实现这点有两种方式:
804
806
805
807
<!--
806
-
- Source the completion script in your `~/.bashrc` file:
808
+
- Source the completion script in your `~/.bash_profile` file:
807
809
-->
808
810
- 在 `~/.bash_profile` 文件中源引自动补齐脚本
809
811
@@ -812,12 +814,12 @@ You now have to ensure that the kubectl completion script gets sourced in all yo
812
814
```
813
815
814
816
<!--
815
-
- Add the completion script to the `/etc/bash_completion.d` directory:
817
+
- Add the completion script to the `/usr/local/etc/bash_completion.d` directory:
0 commit comments