Medya Ghazizadeh
ce8a7e8014
Merge pull request #9996 from daehyeok/profile_list_error
...
Fix profile list when there are multi node clusters
2021-02-02 15:18:31 -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
Yanshu Zhao
67458418ca
Change test naming
2021-02-02 21:39:34 +00:00
Yanshu Zhao
84e7c47e8a
reduce lock scope
2021-02-02 21:20:31 +00:00
Yanshu Zhao
8009a5b3a8
change naming
2021-02-02 20:59:29 +00:00
Yanshu Zhao
4665993109
Add header file for the test
2021-02-02 16:57:47 +00:00
Yanshu Zhao
397b7b2286
Use global flag and only print one warning for the same cmd per binaray
...
run
2021-02-02 16:28:04 +00:00
Daehyeok Mun
4500be129f
Validate minimum docker version
2021-02-01 13:54:20 -08:00
Medya Ghazizadeh
6881977b5e
Merge pull request #10111 from lingsamuel/addon-image-in-code
...
Allow setting custom images for addons
2021-02-01 12:11:22 -08:00
Medya Ghazizadeh
d8849a923f
Merge pull request #10320 from ariesliuwei/aries-log
...
Migrate tunnel/register logs to structured logging
2021-02-01 12:04:06 -08:00
hetong07
276ad6c7c7
First step to address #10311 : disallow running minikube.exe insided WSL.
2021-01-31 12:34:05 -08:00
liuwei10
e388529a31
Migrate tunnel/register logs to structured logging
2021-01-30 16:57:31 +08:00
Daehyeok Mun
5ddaf5f545
Remove cluster's subnode from ListProfiles result.
...
Fix prolbem which ListProfiles return subnodes in Mult-Node clusters as
a part of inValidPs.
2021-01-28 14:43:55 -08: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
Anders F Björklund
604c692926
ssh: support default key path for built-in ssh
2021-01-28 17:02:00 +01:00
Anders F Björklund
40e4521bb2
ssh: validate the ssh-key parameter if given
2021-01-28 08:48:40 +01: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
675633691f
Allow empty custom registry
2021-01-27 10:33:08 +08:00
Ling Samuel
046858778f
Ignore empty params
...
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
76833fd2fa
Make registry configurable
...
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
7b2d1a6838
Remove default image from yaml, fix empty images warning
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-01-27 10:33:06 +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
Steven Powell
44e3aedaa6
made username func private
2021-01-26 15:34:29 -07:00
Medya Ghazizadeh
a1e7799db8
Merge pull request #10270 from afbjorklund/gopsutil-cpu
...
The gopsutil cpu implementation changed in v3
2021-01-26 12:53:38 -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
Anders F Björklund
44a9fa934b
Make the ssh driver opt-in and not default
...
It needs an external VM with an IP address
2021-01-26 17:10:56 +01:00
Priya Wadhwa
a9f435b757
put step in correct place
2021-01-25 11:39:06 -08:00
Priya Wadhwa
37dd783dd8
Fix position of Configuring CNI
2021-01-25 11:03:24 -08:00
Steven Powell
5058ef3e71
moved username validation to cmd
2021-01-25 10:57:52 -07:00
Steven Powell
a239b99ee5
added test for new arg length check
2021-01-25 09:35:11 -07:00
Steven Powell
09d41de3a6
added arg length check to prevent out of bounds
2021-01-25 09:32:48 -07:00
Priya Wadhwa
2b7cab10fb
Add JSON step for CNI to fix failing TestJSONOutput test
2021-01-22 16:05:34 -08:00
Medya Ghazizadeh
8d1c938baa
Merge pull request #10221 from jiefenghe/master
...
configure the crictl yaml file to avoid the warning
2021-01-22 15:20:21 -08: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
Jiefeng He
f520c9d9e9
configure the crictl yaml file to avoid the warning
2021-01-22 11:41:13 -08:00
Medya Ghazizadeh
bc273226e7
Merge pull request #10212 from tstromberg/docker-info-err
...
Split PROVIDER_DOCKER_ERROR into more specific reason codes
2021-01-22 10:11:22 -08:00
Medya Ghazizadeh
3668e15224
Merge pull request #10194 from ilya-zuyev/ilyaz/update_k8s_version_2
...
update k8s version to v1.20.3-rc.0
2021-01-22 10:02:44 -08:00
Thomas Stromberg
545c1c1f05
PROVIDER_DOCKER_DAEMON_INFO_ERROR -> PROVIDER_DOCKER_INFO_ERROR
2021-01-21 18:42:06 -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
Medya Gh
70253a9c87
update kicbase and iso to last build
2021-01-20 16:41:10 -08:00
Steven Powell
82f7df5b56
Add user flag and log executed commands
2021-01-20 17:30:48 -07:00
Ilya Zuyev
daa7b2780b
update k8s version to v1.20.3-rc.0
2021-01-20 16:22:05 -08:00
Medya Gh
91a7436617
bump kicbase version
2021-01-20 15:46:14 -08: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
Ilya Zuyev
227a6af18e
Merge branch 'master' into ilyaz/arm64-fixes
2021-01-14 22:06:10 -08: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
Medya Gh
89a8cdc794
change time format to RFC1123
2021-01-14 15:37:43 -08:00
Thomas Stromberg
70d7018f4e
arm64: Remove legacy arch suffixes from image names
2021-01-14 14:39:06 -08:00
Thomas Stromberg
c6a27bd9ea
Merge to master
2021-01-14 14:22:55 -08:00
Ilya Zuyev
839bd03621
Add unit test for archTag()
2021-01-14 12:28:10 -08:00
Medya Gh
731daf180a
hyphen instead of underscore to match kubeconfig
2021-01-14 10:01:35 -08:00
Medya Gh
ee8d8578d8
lint
2021-01-14 10:01:35 -08:00
Medya Gh
ed03df5b0a
remove debugging
2021-01-14 10:01:35 -08:00
Medya Gh
5ddf54b32f
refactor to make testable
2021-01-14 10:01:35 -08:00
Medya Gh
9f67a557a7
address review comments
2021-01-14 10:01:34 -08:00
Medya Gh
c3e4c1bee0
update comment
2021-01-14 10:01:34 -08:00
Medya Gh
d8fdb5cf5b
add minikube labels to kubecontext extenions
2021-01-14 10:01:34 -08:00
Ilya Zuyev
e47543980a
use arch tag for legacy versions of k8s/etcd images
2021-01-13 12:35:09 -08:00
Medya Ghazizadeh
31aa5c1bad
Merge pull request #10118 from azhao155/yzhao/fix/flacknessDocker-ENV
...
avoid race condition in bootstrap certs for parallel runs
2021-01-13 11:46:41 -08:00
Anders F Björklund
099c6b72a6
The MachineName function was moved to config
2021-01-13 20:20:53 +01:00
Anders F Björklund
abb556f7f5
Merge branch 'master' into generic
2021-01-13 20:15:17 +01:00
Ilya Zuyev
50bf37547d
Merge branch 'master' into ilyaz/arm64-fixes
2021-01-13 10:54:53 -08:00
ilya-zuyev
d3ad8ca784
Merge pull request #9969 from ilya-zuyev/ilyaz/multiarch_kicbase
...
add multi-arch (arm64) support for docker/podman drivers
2021-01-13 10:52:25 -08:00
Yanshu Zhao
e933166cf2
Modify again
2021-01-13 18:47:12 +00:00
Yanshu Zhao
4e368f0c40
Modify comment
2021-01-13 18:45:09 +00:00
Yanshu Zhao
bbbf0d9bb6
Add issue link and comment
2021-01-13 18:39:23 +00:00
Yanshu Zhao
376399cc32
Change naming of lock and log format
2021-01-13 17:37:48 +00:00
Yanshu Zhao
948c1b5f09
check unlock return value
2021-01-13 07:52:27 +00:00
Yanshu Zhao
cbf602e7f0
change unlock to defer
2021-01-13 07:37:23 +00:00
Yanshu Zhao
baf929b14e
Add file lock for protect certs generation
2021-01-13 07:21:31 +00:00
alonyb
44b453019e
add spin stop in WarningT output
2021-01-12 21:33:44 -05:00
Ilya Zuyev
519103f58b
Merge branch 'master' into ilyaz/arm64-fixes
2021-01-12 14:51:23 -08:00
Ilya Zuyev
813094bafb
Merge branch 'master' into ilyaz/multiarch_kicbase
2021-01-12 10:48:01 -08:00
Ilya Zuyev
7ca15031e8
fix kicbase sha1
2021-01-11 18:30:39 -08:00
alonyb
a08f6e946f
add spinner stop in err messages
2021-01-11 21:19:46 -05:00
Anders F Björklund
529d2c3dde
Prevent trying to use localhost as address
2021-01-11 18:18:54 +01:00
Anders F Björklund
1663a030ed
Only add docker group for the docker runtime
2021-01-11 18:12:06 +01:00
Medya Ghazizadeh
f17951c4f2
Merge pull request #10114 from daehyeok/machinename
...
refactor: migrate MachineName function to config package
2021-01-09 11:36:59 -08:00
Yanshu Zhao
4b8b2bc6db
Fix flackness of docker-env in parrallel
2021-01-09 18:46:40 +00:00
Anders F Björklund
b2121eae39
Rename the generic driver to the ssh driver
...
Now that we have forked the machine driver
2021-01-09 14:36:32 +01:00
Anders F Björklund
e53f537b39
Merge branch 'master' into generic
2021-01-09 14:11:09 +01:00
Thomas Stromberg
11ea5b2f1d
Remove debugging code
2021-01-08 16:03:22 -08:00
Thomas Stromberg
6ec94aa064
Merge to master
2021-01-08 15:40:24 -08:00
Thomas Stromberg
66a671fc86
Experimental macOS/arm64 work
2021-01-08 15:38:31 -08:00
Ilya Zuyev
2622e9583c
bump kicbase version to v0.0.16-snapshot1
2021-01-08 13:49:27 -08:00
Ilya Zuyev
921306d88a
fix fallback kicbaseimages list
2021-01-08 13:31:13 -08:00
Ilya Zuyev
9c4a76581c
Merge branch 'master' into ilyaz/multiarch_kicbase
2021-01-08 12:18:22 -08:00
Daehyeok Mun
36d94a2d88
Migrate MachineName function.
...
Migrate MachineName function from driver package to config package.
2021-01-08 11:26:10 -08:00
Ilya Zuyev
da87abd016
enable docker driver for arm64
2021-01-08 11:24:08 -08:00
Anders F Björklund
40ec0e8015
Avoid the hard-coded dependency on systemctl
2021-01-08 18:31:15 +01:00
Anders F Björklund
fb6cf6b6b6
Add placeholder for docs for the generic driver
...
But most of it is identical to the "none" driver
2021-01-08 18:16:58 +01:00
Anders F Björklund
e4ebaeabf6
Complete the container runtime and config change
2021-01-08 17:36:23 +01:00
Anders F Björklund
010e5fb5b0
Add some error checking on the parsed data fields
2021-01-08 16:38:27 +01:00
Anders F Björklund
d51443bee1
Show remote host info and proper progress
2021-01-08 16:38:27 +01:00