Fix syntax of minikube kubectl example command

Need to terminate the minikube flags with --,
before starting with the kubectl command flags.
pull/6255/head
Anders F Björklund 2020-01-09 19:47:26 +01:00
parent 359a1c2a83
commit 3207b27c11
8 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@ var kubectlCmd = &cobra.Command{
Long: `Run the kubernetes client, download it if necessary.
Examples:
minikube kubectl -- --help
kubectl get pods --namespace kube-system`,
minikube kubectl -- get pods --namespace kube-system`,
Run: func(cmd *cobra.Command, args []string) {
api, err := machine.NewAPIClient()
if err != nil {

View File

@ -22,7 +22,7 @@ minikube kubectl [flags]
```
minikube kubectl -- --help
kubectl get pods --namespace kube-system
minikube kubectl -- get pods --namespace kube-system
```

View File

@ -290,7 +290,7 @@
"Run 'minikube delete' to delete the stale VM": "",
"Run kubectl": "",
"Run minikube from the C: drive.": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nkubectl get pods --namespace kube-system": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nminikube kubectl -- get pods --namespace kube-system": "",
"Run the minikube command as an Administrator": "",
"Running on localhost (CPUs={{.number_of_cpus}}, Memory={{.memory_size}}MB, Disk={{.disk_size}}MB) ...": "",
"Set failed": "",

View File

@ -290,7 +290,7 @@
"Run 'minikube delete' to delete the stale VM": "",
"Run kubectl": "",
"Run minikube from the C: drive.": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nkubectl get pods --namespace kube-system": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nminikube kubectl -- get pods --namespace kube-system": "",
"Run the minikube command as an Administrator": "",
"Running on localhost (CPUs={{.number_of_cpus}}, Memory={{.memory_size}}MB, Disk={{.disk_size}}MB) ...": "",
"Set failed": "",

View File

@ -291,7 +291,7 @@
"Run 'minikube delete' to delete the stale VM": "",
"Run kubectl": "",
"Run minikube from the C: drive.": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nkubectl get pods --namespace kube-system": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nminikube kubectl -- get pods --namespace kube-system": "",
"Run the minikube command as an Administrator": "",
"Running on localhost (CPUs={{.number_of_cpus}}, Memory={{.memory_size}}MB, Disk={{.disk_size}}MB) ...": "",
"Set failed": "",

View File

@ -290,7 +290,7 @@
"Run 'minikube delete' to delete the stale VM": "",
"Run kubectl": "",
"Run minikube from the C: drive.": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nkubectl get pods --namespace kube-system": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nminikube kubectl -- get pods --namespace kube-system": "",
"Run the minikube command as an Administrator": "",
"Running on localhost (CPUs={{.number_of_cpus}}, Memory={{.memory_size}}MB, Disk={{.disk_size}}MB) ...": "",
"Set failed": "",

View File

@ -290,7 +290,7 @@
"Run 'minikube delete' to delete the stale VM": "",
"Run kubectl": "Uruchamia kubectl",
"Run minikube from the C: drive.": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nkubectl get pods --namespace kube-system": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nminikube kubectl -- get pods --namespace kube-system": "",
"Run the minikube command as an Administrator": "",
"Running on localhost (CPUs={{.number_of_cpus}}, Memory={{.memory_size}}MB, Disk={{.disk_size}}MB) ...": "",
"Set failed": "",

View File

@ -327,7 +327,7 @@
"Run 'kubectl describe pod coredns -n kube-system' and check for a firewall or DNS conflict": "",
"Run 'minikube delete' to delete the stale VM, or and ensure that minikube is running as the same user you are issuing this command with": "执行 'minikube delete' 以删除过时的虚拟机,或者确保 minikube 以与您发出此命令的用户相同的用户身份运行",
"Run minikube from the C: drive.": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nkubectl get pods --namespace kube-system": "",
"Run the kubernetes client, download it if necessary.\nExamples:\nminikube kubectl -- --help\nminikube kubectl -- get pods --namespace kube-system": "",
"Run the minikube command as an Administrator": "",
"Run: 'chmod 600 $HOME/.kube/config'": "执行 'chmod 600 $HOME/.kube/config'",
"Running on localhost (CPUs={{.number_of_cpus}}, Memory={{.memory_size}}MB, Disk={{.disk_size}}MB) ...": "",