Commit Graph

2492 Commits (892ad3d55de6a138c7e11dde80ed9bb645539b03)

Author SHA1 Message Date
Steven Powell a369264139 removed isClusterRunning check 2021-03-15 16:41:22 -07:00
Steven Powell 3e38a1954a renamed OutputMinikubeLogs to OutputOffline 2021-03-15 16:33:39 -07:00
Steven Powell eb8f7e65b9 Show last start and audit logs on `minikube logs` if minikube not running 2021-03-15 15:43:11 -07:00
Medya Ghazizadeh ff0e25ada8
Merge pull request #10793 from afbjorklund/kubectl-cluster
minikube kubectl: The --cluster flags should be prepended
2021-03-12 14:18:21 -08:00
Medya Gh 67172b636c break down usage for no profile found 2021-03-12 12:29:23 -08:00
Anders F Björklund e8a35de28e The --cluster flags should be prepended
Not appended, because it will break exec
2021-03-12 08:39:41 +01:00
jjkiely e2d08bbd06 Updated more information section of validateChangedMemoryFlags function with correct, working link 2021-03-11 16:19:15 +00:00
Medya Ghazizadeh 5147ef3554
Merge pull request #10730 from sharifelgamal/auth-gce
auto-detect gce and do not enable gcp auth addon
2021-03-10 15:26:34 -08:00
Medya Ghazizadeh b3b4807ed8
Merge pull request #10760 from yxxhero/master
add validateImageRepository func for validates --image-repository args
2021-03-10 13:30:44 -08:00
Medya Ghazizadeh df7cb644af
Merge pull request #10763 from afbjorklund/silent-shell
Silent output when talking to a shell
2021-03-10 13:26:41 -08:00
yxxhero f65333730c add unittest for validateImageRepository and optimize validateImageRepository 2021-03-10 13:28:43 +08:00
Medya Ghazizadeh 05bc047dd1
Merge pull request #10732 from afbjorklund/kubectl-mustload
The cluster doesn't have to be healthy for kubectl
2021-03-09 16:46:03 -08:00
Medya Ghazizadeh 5beacff48f
Merge pull request #10734 from afbjorklund/kubectl-crash
Need to exit if unable to cache kubectl
2021-03-09 16:45:26 -08:00
Sharif Elgamal a3544ae90a create detect package 2021-03-09 15:11:54 -08:00
Sharif Elgamal 15c44bf7ac reorganize addons to make force flag more generic 2021-03-09 13:32:09 -08:00
Anders F Björklund 5e566d3039 Silent output when talking to a shell
If the output is not a terminal, then assume that we are running
docker-env or podman-env under "eval" or similar shell construct.

So don't output all the interactive information, but only return
the actual exit code for some further troubleshooting (perhaps).
2021-03-09 17:59:26 +01:00
yxxhero 416f92a8b5 add validateImageRepository func for validates --image-repository args 2021-03-09 13:47:36 +08:00
Sharif Elgamal e6cb33fa6d oh dear global variable 2021-03-08 12:15:05 -08:00
Sharif Elgamal d12afd6ae5 Merge branch 'master' of github.com:kubernetes/minikube into auth-gce 2021-03-08 12:07:28 -08:00
Sharif Elgamal 5a5abedb3e support force in addons enable command 2021-03-08 08:47:39 -08:00
Medya Ghazizadeh 3760bf765e
Merge pull request #10735 from Loyen/correct-message-spelling
Correct spelling in --insecure-registry validation error message
2021-03-06 14:30:55 -08:00
Patrik Freij a39238ece2 Correct spelling of "Expected formats" 2021-03-06 13:30:02 +01:00
Anders F Björklund d5a69dc10e Need to exit if unable to cache kubectl 2021-03-06 13:00:27 +01:00
Anders F Björklund eb89c8a56f Use the default k8s version if there is no profile
The "mustload" module will abort without a profile
2021-03-06 12:42:00 +01:00
Anders F Björklund 651c81df14 The cluster doesn't have to be healthy for kubectl
We only want to match the kubectl version with it
2021-03-06 09:48:04 +01:00
Medya Ghazizadeh 0f4405798a
Merge pull request #10712 from prezha/kvm-check-libvirt-perms
kvm: provide solution if user doesn't belong to libvirt group
2021-03-05 22:19:32 -08:00
Medya Ghazizadeh d2cb052fca
Merge pull request #10653 from Loyen/add-listen-address-flag
Add flag "--listen-address" for docker and podman driver
2021-03-05 12:56:22 -08:00
Predrag Rogic c3cd3bc500
kvm: check if user belongs to libvirt group 2021-03-04 01:33:01 +00:00
Steven Powell cf23cb12cc changed one more Styled back to Step 2021-03-02 17:23:43 -07:00
Steven Powell a2989a119e reverted actions from Styled to Step 2021-03-02 17:23:43 -07:00
Steven Powell e9d16eb42d replaced non-step logging with Styled 2021-03-02 17:23:43 -07:00
Patrik Freij 29a7145e9d Add podman support for --listen-address 2021-03-02 20:59:27 +01:00
phantooom 529881e01c fix: fix kvm2 numa simulate ut&lint 2021-03-02 22:40:42 +08:00
phantooom badc5d4532 add more check for kvm2 support simulate numa node 2021-03-02 22:27:26 +08:00
phantooom e11f23a4c9 kvm2 driver support simulate numa node 2021-03-02 22:27:26 +08:00
Patrik Freij 21636a5466 Move docker only flag to its own area
Confusing to keep it under "docker & podman" when it's only for docker.
2021-03-01 21:52:42 +01:00
Patrik Freij ca81de183f Add --listen-address validation 2021-03-01 21:08:59 +01:00
Patrik Freij 98633b7e55 Remove unnecessary fmt.Sprintf usage 2021-02-28 23:30:26 +01:00
Patrik Freij cb116e4c1c Add --listen-address for docker driver 2021-02-28 23:14:08 +01:00
Priya Wadhwa fd506460b3 Add README for mkcmp 2021-02-26 13:00:19 -08:00
Medya Ghazizadeh abb403645e
Merge pull request #10617 from ariesliuwei/logche
migrate some logs to structured logging
2021-02-25 11:32:10 -08:00
Medya Ghazizadeh 80219cfa70
Merge pull request #10616 from ariesliuwei/logmod
Migrate kubectl logs to structured logging
2021-02-25 11:31:30 -08:00
Medya Ghazizadeh 33146eac8e
Merge pull request #10615 from ariesliuwei/ari-logfix
Migrate kubectl logs to structured logging
2021-02-25 11:30:50 -08:00
liuwei10 5788d43116 Migrate some logs to structured logging 2021-02-25 18:59:21 +08:00
liuwei10 6ea237047b Migrate kubectl logs to structured logging 2021-02-25 18:47:40 +08:00
liuwei10 f939910a94 Migrate kubectl logs to structured logging 2021-02-25 17:41:38 +08:00
Medya Ghazizadeh 828769b816
Merge pull request #10606 from spowelljr/fixOutOfRange
Check for args length to prevent out of bounds panic
2021-02-24 16:33:09 -08:00
Steven Powell c50bdaabfe Check for args length to prevent out of bounds panic 2021-02-24 16:45:24 -07:00
Medya Gh 4a6f00ba4b add todo with issue numbers 2021-02-24 13:15:36 -08:00
Medya Gh 73772286eb address review comments 2021-02-24 13:07:25 -08:00