Generate docs for commands to make test happy

pull/10844/head
Anders F Björklund 2021-03-18 07:20:33 +01:00
parent e7f568a9d2
commit 15e422d79b
1 changed files with 14 additions and 4 deletions

View File

@ -13,18 +13,28 @@ Run a kubectl binary matching the cluster version
Run the Kubernetes client, download it if necessary. Remember -- after kubectl!
Examples:
minikube kubectl -- --help
minikube kubectl -- get pods --namespace kube-system
This will run the Kubernetes client (kubectl) with the same version as the cluster
Normally it will download a binary matching the host operating system and architecture,
but optionally you can also run it directly on the control plane over the ssh connection.
This can be useful if you cannot run kubectl locally for some reason, like unsupported
host. Please be aware that when using --ssh all paths will apply to the remote machine.
```shell
minikube kubectl [flags]
```
### Examples
```
minikube kubectl -- --help
minikube kubectl -- get pods --namespace kube-system
```
### Options
```
--ssh Use SSH for running kubernetes client
--ssh Use SSH for running kubernetes client on the node
```
### Options inherited from parent commands