Commit Graph

2397 Commits (3942e4365948741aa41dc72d2ea5d613d4093344)

Author SHA1 Message Date
priyawadhwa 09de7ff62f
Merge pull request #10332 from priyawadhwa/delete-timeout
Add 5 minute timeout to deleting a profile
2021-02-10 10:40:32 -08:00
priyawadhwa 51ec098b05
Merge pull request #10366 from priyawadhwa/mk-image-load
Implement minikube image load command
2021-02-09 14:42:31 -08:00
Priya Wadhwa e8945f2934 Add warning for cache add 2021-02-09 13:36:40 -08:00
Priya Wadhwa 6ed56d842e Rename to delCtx 2021-02-09 10:51:51 -08:00
Priya Wadhwa 53dad6a4ae fix log 2021-02-08 15:26:04 -08:00
Priya Wadhwa 8f02a5851e Time everything via context 2021-02-08 15:24:41 -08:00
Priya Wadhwa 51169d68ea Add context to remaining necessary functions 2021-02-08 15:19:01 -08:00
Priya Wadhwa a6372b35a3 Add 5 minute timeout to deleting leftover cvolumes and containers 2021-02-08 15:15:08 -08:00
Priya Wadhwa 9b147f788d Merge branch 'master' of https://github.com/kubernetes/minikube into delete-timeout 2021-02-08 14:56:13 -08:00
Medya Ghazizadeh 1c8944f790
Merge pull request #10395 from govargo/fix-metallb-addon
Fix configuration of the metallb with empty load balancing IP range
2021-02-08 09:12:48 -08:00
Medya Ghazizadeh 262d102ceb
Merge pull request #10354 from hetong07/issue_10311
Provide advice when running windows binary (.exe) inside WSL
2021-02-08 09:05:54 -08:00
hetong07 bdac73d2fd Put the environment check as a separate if-else clause, and make this check as early as possible. 2021-02-07 17:37:01 -08:00
Kent Iso b1030dc28a Fix configuration of the metallb with empty load balancing IP range 2021-02-07 23:43:05 +09:00
Priya Wadhwa 9a9c160b3f Move load test into functional test 2021-02-05 14:28:25 -08:00
Priya Wadhwa 22a65a0c12 Add --all flag to 2021-02-05 10:48:08 -08:00
Priya Wadhwa 0061d72be6 Merge branch 'master' of https://github.com/kubernetes/minikube into mk-image-load 2021-02-05 10:24:23 -08:00
Priya Wadhwa 1d63f085e4 Add command 2021-02-04 14:45:27 -08:00
hetong07 6d8804e10e Use the 'ExProgramUnsupported' as the error code for MK_WRONG_BINARY_WSL error. 2021-02-03 18:29:13 -08:00
hetong07 547f506701 Rephrase the adivce, use the runtime.GOOS to check whether it is .exe binary and modify the error name to address comments in pull request. 2021-02-03 18:06:05 -08:00
hetong07 289bf2fe84 Merge branch 'master' into issue_10311 2021-02-03 17:41:15 -08:00
ilya-zuyev a7489c1bba
Merge pull request #10309 from afbjorklund/ssh-address
Make sure that ssh driver gets an ip address
2021-02-03 11:17:07 -08:00
hetong07 ad08087b44 Allow user to use --force to run windows binary inside WSL. 2021-02-02 23:48:14 -08:00
Priya Wadhwa 0a0f39a112 Implement minikube image load command 2021-02-02 15:47:07 -08:00
Medya Ghazizadeh d97418828d
Merge pull request #10119 from daehyeok/profile_name
Don't allow profile names that conflict with a multi-node name
2021-02-02 15:12:57 -08:00
Anders F Björklund 21206402a9 Check that the ssh-ip-address is a valid IP 2021-02-02 08:36:05 +01:00
Priya Wadhwa 4bda151a62 Fix delete var 2021-02-01 12:47:46 -08:00
Priya Wadhwa d02eabb835 Add 2 minute timeout to deleting a profile 2021-02-01 12:44:43 -08:00
hetong07 276ad6c7c7 First step to address #10311: disallow running minikube.exe insided WSL. 2021-01-31 12:34:05 -08:00
Anders F Björklund f94cb815cf Make sure that ssh driver gets an ip address 2021-01-29 17:12:23 +01:00
Daehyeok Mun a00d632930 Check profile, node name to prevent duplication
Check profile and node name before add to prevent conflict with
machine name on multinode cluster.
2021-01-28 14:42:40 -08:00
Ling Samuel 101d39fc51
Addon custom registry:
* fix missing suffix when using global image repo
* support override global image repo
* change all imagePullPolicy to IfNotPresent
* fix empty global image repo suffix

Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-27 10:33:08 +08:00
Ling Samuel 52f0e49a1e
Fix docker.io/ prefix
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-27 10:33:07 +08:00
Ling Samuel de3c901c18
Implement all addons
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-27 10:33:07 +08:00
Ling Samuel b949034e1a
Manage addon images in code, support custom addon images
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-27 10:33:00 +08:00
Medya Ghazizadeh 597091d84b
Merge pull request #10106 from spowelljr/userFlag
Add new flag --user and to log executed commands
2021-01-26 15:44:58 -08:00
Priya Wadhwa 24aefaebb6 Unhide --schedule flag for scheduled stop 2021-01-26 13:05:30 -08:00
Anders F Björklund 7e9d58c468 The gopsutil cpu implementation changed in v3
Was supposed to return the number of vCPU (i.e. nproc)
Before, both "physical" and "logical" returned the same.

The returned information should match cpuinfo and lscpu:
    CPU(s) = Socket(s) x Core(s) each x Thread(s) each
2021-01-26 17:48:52 +01:00
Steven Powell 5058ef3e71 moved username validation to cmd 2021-01-25 10:57:52 -07:00
Steven Powell 81ac8a1677 fixed user name warning possibly not matching what was checked 2021-01-25 09:45:49 -07:00
Steven Powell 14bcd9ddec added user flag validation and improved some test messages 2021-01-22 15:39:15 -07:00
Priya Wadhwa b2623d4d4e make a default container runtime constant so that it is easy to change in the future 2021-01-22 14:00:47 -08:00
Thomas Stromberg 38b74f1910 Merge branch 'master' into docker-info-err 2021-01-21 18:25:59 -08:00
Thomas Stromberg 6b8469e971 Split PROVIDER_DOCKER_NOT_RUNNING into more specific reason codes 2021-01-21 18:25:45 -08:00
Steven Powell 82f7df5b56 Add user flag and log executed commands 2021-01-20 17:30:48 -07:00
Anders F Björklund fc8ef79c37 Avoid warning about the suggested memory size
The recommendation is to use (at least) 2048 MB *for the VM*,
which means that you will end up something like 1992 MB total.
We should not issue warnings when using the recommended size,
so lower the limit to 1900 MB (kubeadm will validate 1700 MB).

The reason it is broken is because it uses different values
for different drivers, if running a VM or on Bare Metal...
There is also no difference anymore between the "usable"
and the "recommended", so this will need revisiting later.
2021-01-20 20:20:13 +01:00
Anders F Björklund 541193c945 Address review comments, rename to ssh-ip-address 2021-01-16 14:44:56 +01:00
Anders F Björklund 4611e2fe76 Merge branch 'master' into generic 2021-01-16 14:34:04 +01:00
Medya Ghazizadeh 8b76fa2c46
Merge pull request #10126 from medyagh/extension_context
add  annotation to kubeconfig to identify contexts/clusters created by minikube
2021-01-14 17:23:17 -08:00
Thomas Stromberg c6a27bd9ea Merge to master 2021-01-14 14:22:55 -08:00
Medya Gh 5ddf54b32f refactor to make testable 2021-01-14 10:01:35 -08:00