Merge pull request #11997 from KShivendu/docs-kubectl-alias
docs: Suggest using alias for minikube kubectl --pull/12612/head
commit
3673edc09c
|
@ -501,11 +501,15 @@ If you already have kubectl installed, you can now use it to access your shiny n
|
|||
kubectl get po -A
|
||||
```
|
||||
|
||||
Alternatively, minikube can download the appropriate version of kubectl, if you don't mind the double-dashes in the command-line:
|
||||
Alternatively, minikube can download the appropriate version of kubectl and you should be able to use it like this:
|
||||
|
||||
```shell
|
||||
minikube kubectl -- get po -A
|
||||
```
|
||||
You can also make your life easier by adding the following to your shell config:
|
||||
```shell
|
||||
alias kubectl="minikube kubectl --"
|
||||
```
|
||||
|
||||
Initially, some services such as the storage-provisioner, may not yet be in a Running state. This is a normal condition during cluster bring-up, and will resolve itself momentarily. For additional insight into your cluster state, minikube bundles the Kubernetes Dashboard, allowing you to get easily acclimated to your new environment:
|
||||
|
||||
|
|
Loading…
Reference in New Issue