Generate docs for commands to make test happy
parent
e7f568a9d2
commit
15e422d79b
|
@ -13,18 +13,28 @@ Run a kubectl binary matching the cluster version
|
||||||
|
|
||||||
Run the Kubernetes client, download it if necessary. Remember -- after kubectl!
|
Run the Kubernetes client, download it if necessary. Remember -- after kubectl!
|
||||||
|
|
||||||
Examples:
|
This will run the Kubernetes client (kubectl) with the same version as the cluster
|
||||||
minikube kubectl -- --help
|
|
||||||
minikube kubectl -- get pods --namespace kube-system
|
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
|
```shell
|
||||||
minikube kubectl [flags]
|
minikube kubectl [flags]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Examples
|
||||||
|
|
||||||
|
```
|
||||||
|
minikube kubectl -- --help
|
||||||
|
minikube kubectl -- get pods --namespace kube-system
|
||||||
|
```
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
```
|
```
|
||||||
--ssh Use SSH for running kubernetes client
|
--ssh Use SSH for running kubernetes client on the node
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options inherited from parent commands
|
### Options inherited from parent commands
|
||||||
|
|
Loading…
Reference in New Issue