Skip to content

Commit e6ee3dc

Browse files
committed
Add more links to the kubectl documentation
Apparently finding the kubernetes documentation for kubectl could be a challenge for new users, so try to help out a bit.
1 parent 26626ce commit e6ee3dc

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

site/content/en/docs/handbook/kubectl.md

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ aliases:
1010
By default, [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) gets configured to access the kubernetes cluster control plane
1111
inside minikube when the `minikube start` command is executed.
1212

13+
```shell
14+
kubectl <kubectl commands>
15+
```
16+
1317
However if `kubectl` is not installed locally, minikube already includes kubectl which can be used like this:
1418

1519
```shell
@@ -92,6 +96,10 @@ For more help
9296
minikube kubectl -- --help
9397
```
9498
99+
Documentation
100+
101+
<https://kubernetes.io/docs/reference/kubectl/>
102+
95103
### Shell autocompletion
96104
97105
After applying the alias or the symbolic link you can follow https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#enable-shell-autocompletion to enable shell-autocompletion.

site/content/en/docs/start/_index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ If minikube fails to start, see the [drivers page]({{<ref "/docs/drivers">}}) fo
510510

511511
<h2 class="step"><span class="fa-stack fa-1x"><i class="fa fa-circle fa-stack-2x"></i><strong class="fa-stack-1x text-primary">3</strong></span>Interact with your cluster</h2>
512512

513-
If you already have kubectl installed, you can now use it to access your shiny new cluster:
513+
If you already have kubectl installed (see [documentation](https://kubernetes.io/docs/tasks/tools/install-kubectl/)), you can now use it to access your shiny new cluster:
514514

515515
```shell
516516
kubectl get po -A
@@ -521,7 +521,7 @@ Alternatively, minikube can download the appropriate version of kubectl and you
521521
```shell
522522
minikube kubectl -- get po -A
523523
```
524-
You can also make your life easier by adding the following to your shell config:
524+
You can also make your life easier by adding the following to your shell config: (for more details see: [kubectl]({{<ref "/docs/handbook/kubectl">}}))
525525
```shell
526526
alias kubectl="minikube kubectl --"
527527
```

0 commit comments

Comments
 (0)