Medya Gh
3a7041c3b2
add logging
2020-02-19 22:01:45 -08:00
Medya Gh
d548eabdc6
added kic mount
2020-02-19 22:01:45 -08:00
Medya Gh
1ee08c7517
add funcs to get routable host ip from inside container
2020-02-19 22:01:45 -08:00
Priya Wadhwa
d506aa18b4
Download preloaded images tarball with --download-only flag
2020-02-19 21:53:44 -08:00
Medya Gh
1da0a370ff
code review comments
2020-02-17 10:55:53 -08:00
Medya Gh
3ce0164281
add logging for prune
2020-02-16 11:54:56 -08:00
Medya Gh
a007c0790c
Delete volumes created by kic
2020-02-14 01:39:16 -08:00
Medya Gh
a4ee4186bd
create docker volumes explictily with a label
2020-02-14 01:01:53 -08:00
Medya Ghazizadeh
4c6b435f68
revert docker volume host path ( #6616 )
2020-02-13 10:57:23 -07:00
Medya Ghazizadeh
398c7ef00b
Add podman driver ( #6515 )
2020-02-12 19:11:44 -07:00
tstromberg
97f926eeb1
Use vmpath constants where possible
2020-02-07 13:06:00 -08:00
Medya Gh
4b9d15a34c
point to host docker
2020-02-04 16:09:43 -08:00
Medya Gh
c86b20ade2
add option to exec runner to point to host docker daemon
2020-02-04 15:33:04 -08:00
Medya Gh
6c95a28c10
remove default crictl setting
2020-02-03 23:25:55 -08:00
Medya Gh
e231e7ae96
rever dockefile changes
2020-02-03 22:32:08 -08:00
Medya Gh
a2f2df9f81
add options to docker service for kic
2020-02-03 20:21:41 -08:00
Thomas Strömberg
901cb520b9
Merge pull request #6452 from tstromberg/none-paused
...
Fix none driver bugs with "pause"
2020-02-03 16:16:34 -08:00
Medya Ghazizadeh
3dd5495d2f
trim kic base image ( #6478 )
2020-02-03 16:31:52 -07:00
tstromberg
4124fbdb69
Consider a paused apiserver to be controlled by a running host
2020-02-03 14:20:57 -08:00
Thomas Stromberg
1176aa468f
More status logging
2020-01-31 19:00:59 -08:00
Thomas Stromberg
cee9448fa0
Make none.GetState more intelligent to fix stop issues
2020-01-31 18:54:27 -08:00
Thomas Stromberg
7f0e83508a
Add more logging
2020-01-31 18:44:00 -08:00
Thomas Stromberg
dd4ad10b83
Improve handling of paused none clusters.
2020-01-31 16:23:25 -08:00
Medya Gh
0e5059ddd0
log warning if docker is stuck
2020-01-30 21:36:56 -08:00
Medya Gh
a6ec05e35a
unexport noderolekey
2020-01-30 21:05:51 -08:00
Medya Gh
968fe86869
unexport more funcs
2020-01-30 21:01:27 -08:00
Medya Gh
006c781fbc
remove unused kic code
2020-01-30 20:44:32 -08:00
Medya Gh
23e125649d
rename createConfig
2020-01-30 18:13:11 -08:00
Medya Gh
b20322a8c2
rename funcs
2020-01-30 18:12:04 -08:00
Medya Gh
5b055d7ff8
add comment
2020-01-30 16:57:53 -08:00
Medya Gh
58b637b05f
delete all cleans up stale kic profiles
2020-01-30 16:42:14 -08:00
Medya Gh
8e0ffdf1cf
resolve conflict
2020-01-30 16:20:55 -08:00
Medya Ghazizadeh
4bf3fc422a
Add docker run-time for kic driver ( #6436 )
...
* Add docker container run time for kic
2020-01-30 14:30:04 -08:00
Medya Gh
b3404a70e6
patch node refactor for kic
2020-01-24 19:03:50 -08:00
Thomas Strömberg
82e096a7a1
Merge pull request #6390 from medyagh/kic_bindip
...
kic driver: add multiple profiles and ssh
2020-01-24 15:45:51 -08:00
Medya Gh
ba3965b076
specify SSH username
2020-01-24 14:42:28 -08:00
Medya Gh
83dd9fc4ff
Bump kic base image for ssh
2020-01-24 14:20:49 -08:00
Medya Gh
c6c0046c57
let docker/podman choose hostbind port
2020-01-24 14:15:48 -08:00
tstromberg
35f1e58583
Merge conflict
2020-01-24 10:40:26 -08:00
Medya Gh
2bd169f508
add config fields for kic SSH and API ports
2020-01-23 23:51:41 -08:00
Medya Gh
ca0f4c7e20
generate ssh keys for kic container
2020-01-23 19:20:44 -08:00
Medya Gh
09d9d05c6b
generate ssh certs for kic during creation
2020-01-23 18:43:26 -08:00
Medya Gh
3d5c9ae870
implement SSHPortName for kic
2020-01-23 18:28:32 -08:00
Medya Gh
1e05b11703
Add ssh to kic image
2020-01-23 18:24:51 -08:00
Medya Gh
773510b9c1
Add ssh to kic container image
2020-01-23 17:45:50 -08:00
Medya Gh
5191659ff2
bind ip use const instead of string
2020-01-23 17:28:30 -08:00
tstromberg
b81960e37c
Fix none driver
2020-01-22 14:28:18 -08:00
tstromberg
c83ee09417
Update Kubernetes libraries to v1.17.2
2020-01-22 14:10:53 -08:00
Thomas Stromberg
5f0420f72e
Merge branch 'master' into pause
2020-01-22 09:48:26 -08:00
Thomas Stromberg
7e2e9eb15b
Merge conflicts
2020-01-21 20:00:21 -08:00
Medya Gh
5a3c13815e
network overlay only for kic
2020-01-21 15:14:51 -08:00
Medya Ghazizadeh
19c8ddee9f
Merge pull request #6151 from medyagh/kic_exp
...
Experimental verison of kic
2020-01-10 00:42:01 -08:00
Medya Gh
40a011c49a
use api port for host binding port
2020-01-08 16:09:24 -08:00
Medya Gh
cf9e6e512f
fix ineffectual assignment
2020-01-08 15:21:57 -08:00
Medya Gh
de0d603c7f
convert base image to a const
2020-01-08 13:56:23 -08:00
Medya Gh
ddf5ab027a
add extra option fail swap for kic
2020-01-08 12:53:29 -08:00
Medya Ghazizadeh
6da07be75d
Merge pull request #6175 from q384566678/oci-remove-todo
...
pkg/drivers/kic/oci: delete TODO info
2020-01-08 10:40:32 -08:00
Zhou Hao
7e0b89cc9d
code optimization
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-01-08 16:25:11 +08:00
Medya Gh
f80572bb4c
code review
2020-01-07 13:59:41 -08:00
Medya Gh
77394db9aa
add Dockerfile for kic images
2020-01-07 13:54:00 -08:00
Medya Gh
a64a2721d5
Add localhost to ca cert
2020-01-07 13:54:00 -08:00
Medya Gh
e9b7451278
auto set podsubnet for kic improve none auto set
2020-01-07 13:54:00 -08:00
Medya Gh
c7bc61af2c
Add overlay network for kic
2020-01-07 13:54:00 -08:00
Medya Gh
6cf2554877
add flag for kic host binding port
2020-01-07 13:54:00 -08:00
Medya Gh
ac97b51058
implement setup certs for kicbs
2020-01-07 13:52:47 -08:00
Medya Gh
a358aff093
fix ocibinary
2020-01-07 13:52:47 -08:00
Zhou Hao
c1859c44e3
kic/oci: parse all kind of states
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-01-02 14:16:54 +08:00
Medya Ghazizadeh
e5f5abda89
Merge pull request #6179 from q384566678/fix-pause
...
pkg/drivers/kic: fix wrong command in Unpause
2019-12-30 18:42:28 -08:00
Zhou Hao
9c4e3fbd3c
pkg/drivers/kic: fix wrong command in Unpause
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-30 15:54:48 +08:00
Zhou Hao
ae61e56594
pkg/drivers/kic/oci: fix Status info
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-30 15:21:03 +08:00
Zhou Hao
aa52255be0
pkg/drivers/kic/oci: delete TODO info
...
When the docker exit status is 125, it is not entirely certain that it is caused by duplicate names.There may also be other errors.
e.g:
➜ minikube git:(oci-remove-todo) ✗ docker run -itzz
unknown shorthand flag: 'z' in -zz
See 'docker run --help'.
➜ minikube git:(oci-remove-todo) ✗ echo $?
125
So delete this TODO info.
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2019-12-30 14:43:11 +08:00
Medya Gh
f39ba0deb0
add unit test for feature gate supports
2019-12-20 01:17:33 -08:00
Medya Gh
cce503033d
rename CreateParam to CreateConfig
2019-12-19 11:12:49 -08:00
Medya Gh
e1d5704170
get rid of default oci
2019-12-19 11:08:05 -08:00
Medya Gh
6cbdfe3961
remove more codefrom node
2019-12-19 10:47:07 -08:00
Medya Gh
310cef80de
get rid of node cache
2019-12-19 10:37:15 -08:00
Medya Gh
f001dd703a
convert kic restart to case switch
2019-12-19 10:01:18 -08:00
Medya Gh
80b15e8e6c
Add comment for config structs
2019-12-19 09:52:53 -08:00
Medya Gh
19560a631b
Add kic specific machine creation message
2019-12-18 15:53:34 -08:00
Medya Gh
2243847f98
add kic command runner to machine
2019-12-18 13:57:32 -08:00
Medya Gh
c627f58fbb
add default image
2019-12-18 13:04:09 -08:00
Medya Gh
71b260292c
remove more code
2019-12-17 21:53:36 -08:00
Medya Gh
12df013810
simplify overlaping structs
2019-12-17 21:36:37 -08:00
Medya Gh
ca68beae6a
remove not needed code
2019-12-17 19:33:54 -08:00
Medya Gh
7a433cc6a9
Add kic specifc fields to machine config
2019-12-17 17:47:37 -08:00
Medya Gh
379bf2ac0c
fix boilerplate formats
2019-12-17 16:38:56 -08:00
Medya Gh
46df68ca4b
move cri to oci package
2019-12-17 16:04:03 -08:00
Medya Gh
d7273d36c9
Add kic driver
2019-12-17 15:18:31 -08:00
Thomas Stromberg
337db1707d
First pass at multi-runtime pause/unpause
2019-11-22 15:11:51 -08:00
Medya Gh
773c525ae7
fix test and remove extra code
2019-10-29 16:36:10 -07:00
Medya Gh
cd9e413852
resolve code review
2019-10-29 14:11:21 -07:00
Medya Ghazizadeh
e2bbf7111e
Merge branch 'master' into NewCmdRunner
2019-10-27 00:18:00 -07:00
Medya Gh
792de2b0a1
resolve code review
2019-10-25 17:12:55 -07:00
Medya Gh
187dfe29f8
getting rid of some of bin bash -c
2019-10-24 14:13:51 -07:00
Medya Gh
05bbcf733a
remove uneeded wrap output
2019-10-21 15:18:04 -07:00
Medya Gh
6faf9cdbe7
lint and code review
2019-10-21 13:01:06 -07:00
Medya Gh
6bd5d9b157
Merge remote-tracking branch 'upstream/master' into NewCmdRunner
2019-10-21 11:17:28 -07:00
Thomas Strömberg
523db2099c
Merge pull request #5640 from sharifelgamal/auto-download-off
...
add ability to override autoupdating drivers
2019-10-21 10:16:49 -07:00
tstromberg
35f7c9f38a
Merge branch 'master' into drv-reorg
2019-10-21 09:50:08 -07:00
cueo
6533d9f2e8
Rename methods to match the convention
2019-10-20 19:11:31 +05:30
tstromberg
7cb0cfdf79
Pass lint checks
2019-10-18 13:53:57 -07:00
Thomas Stromberg
6d7d589a52
Consolidate driver-interaction code into pkg/minikube/driver
2019-10-18 13:00:07 -07:00
Sharif Elgamal
a6d7989bfc
add ability to override autoupdating drivers
2019-10-16 14:51:13 -07:00
Medya Gh
fcf17fb42f
bin bash all the way
2019-10-10 09:23:26 -07:00
Medya Gh
25e3d870e5
fixing with shelquote
2019-10-08 17:08:38 -07:00
Medya Gh
91618aa38b
get rid of ExecCmd all the way
2019-10-08 15:13:54 -07:00
Medya Gh
b8181a081f
move more to exec.Cmd2
2019-10-08 11:39:10 -07:00
Medya Gh
8fcdae926e
refactor
2019-10-06 22:06:29 -07:00
Medya Gh
7709c77c8b
fix formatting
2019-10-06 17:07:54 -07:00
Medya Gh
36de216aa6
fixing fake_runner for interface
2019-10-04 12:51:18 -07:00
u5surf
668146d102
Move guest constants to vmpath package #5375
2019-09-27 07:59:46 +09:00
Anders F Björklund
67c7a7a81c
Reduce cyclometric complexity by refactoring
...
19 cmd generateCfgFromFlags cmd/minikube/cmd/start.go:711:1
19 cmd runStart cmd/minikube/cmd/start.go:257:1
18 hyperkit (*Driver).Start pkg/drivers/hyperkit/driver.go:202:1
17 cmd runDelete cmd/minikube/cmd/delete.go:53:1
16 registry TestRegistry pkg/minikube/registry/registry_test.go:39:1
2019-09-21 09:24:39 +02:00
Thomas Stromberg
19f3533c93
Use find instead of syscall_t because Go
2019-09-18 14:24:18 -07:00
Thomas Stromberg
197039c23d
Fix tests
2019-09-18 13:46:10 -07:00
Thomas Stromberg
c0874e2a7e
Add --interactive flag support
2019-09-18 13:18:15 -07:00
Thomas Stromberg
4135b6fce0
Improve visibility of sudo commands
2019-09-17 17:55:10 -07:00
Thomas Stromberg
5ce4ca0a1b
Merge branch 'driver-dl' of github.com:tstromberg/minikube into driver-dl
2019-09-16 20:20:42 -07:00
Thomas Stromberg
6142969467
Add version argument to download to prevent v0.0.0 download error
2019-09-16 20:20:16 -07:00
Thomas Strömberg
f97b2c5462
Merge branch 'master' into driver-dl
2019-09-16 19:15:41 -07:00
Thomas Stromberg
ae500729fc
Include URL in log message
2019-09-16 19:10:23 -07:00
Thomas Stromberg
c4a4f53b45
Download version appropriate driver, add sha256 checksum check
2019-09-16 15:38:58 -07:00
Thomas Stromberg
2aacc68549
Add colon, more appropriate emoji selection to driver download
2019-09-16 14:55:56 -07:00
Jose Donizetti
fb43666d7d
Add installOrUpdate hyperkit support
2019-09-14 00:37:08 -03:00
josedonizetti
c434797f59
Remove debug logs
2019-09-11 11:34:29 -03:00
josedonizetti
219109c98e
Add log lines to debug test
2019-09-11 11:34:29 -03:00
josedonizetti
85778d36a4
Remove deggubing information
2019-09-11 11:34:29 -03:00
josedonizetti
e30fe10737
Add debugging information
2019-09-11 11:34:29 -03:00
josedonizetti
0cf4921c14
Add drivers.InstallOrUpdate acceptance tests
2019-09-11 11:34:29 -03:00
josedonizetti
30e75c3c39
Download kvm2 driver
2019-09-11 11:34:29 -03:00
Thomas Stromberg
48d2ace5cc
Remove broken default disk size test that didn't make sense
2019-08-22 11:41:41 -07:00
Thomas Stromberg
45c3219470
none reliability: --force does not work in v1.10, allow failed kubelet
2019-08-21 17:31:39 -07:00
Thomas Stromberg
282dcc9503
Merge branch 'master' into persistent
2019-08-16 16:38:56 -07:00
Guangming Wang
84242bf2c1
cleanup: fix words in logging message
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-15 20:53:28 +08:00
Thomas Stromberg
b983c47145
Merge branch 'master' into persistent
2019-08-14 08:12:25 -07:00
Medya Gh
f17f3408a8
convert all RetryAfter to retry.Expo
2019-08-13 23:48:30 -07:00
Thomas Strömberg
e8824b76b2
Merge pull request #5052 from tstromberg/doc-redirect
...
Update code references to new documentation URL's
2019-08-12 18:26:01 -07:00
Thomas Stromberg
f2acb4a33e
Update code references to new documentation URL's
2019-08-12 14:51:41 -07:00
Sharif Elgamal
a817bffab1
Remove all minikube dependencies from drivers ( #4933 )
...
* Remove all minikube dependencies in driver code
* removing all default config
* okay we need some defaults
* code comments
* hyperkit builds now
* sleep for an appropriate amount of time
* remove constant in favor of string
* try goproxy for travis
* try goproxy for travis
* try goproxy for travis
* let's not try goproxy for now
* let's try goproxy once again
* maybe use the correct url for the proxy
* fix go mod
2019-08-12 14:42:11 -07:00
Thomas Stromberg
2f1a11d8d3
Move reusable files (images, binaries, certs) to /data
2019-08-09 15:04:07 -07:00
Medya Gh
fdc3b39e49
lower case errors
2019-08-01 13:52:46 -07:00
Medya Gh
1c8a655154
make none stop work on old systemd
2019-08-01 13:52:16 -07:00
Medya Ghazizadeh
c603300781
more reliable stop for none driver ( #4871 )
...
* more reliable stop for none driver
* print stop error
* better error logging
* misspell
* error formatting
* Passing lint interfacer nag
2019-07-25 13:19:21 -07:00
Thomas Strömberg
82d4c7dd2c
Merge pull request #4688 from kairen/better-comment
...
Add space after // comments
2019-07-11 11:53:15 -07:00
Kyle Bai
c5f695e8a0
Better comment syntax
2019-07-05 11:17:10 +08:00
Medya Gh
99ac1a81e7
moving command runner to its own package
2019-07-04 16:31:07 -07:00
Medya Ghazizadeh
2aac268ba6
Merge pull request #4593 from josedonizetti/add-hyperkit-version
...
Add version to hyperkit driver
2019-07-01 14:38:30 -07:00
Medya Ghazizadeh
449c8781e1
Merge pull request #4595 from blueelvis/memory-size-sanity-check
...
Added validation for start memory size
2019-06-30 15:17:28 -07:00
Medya Ghazizadeh
037e9a5d56
Merge pull request #4641 from josedonizetti/improve-kvm-connection-error-message
...
Improve kvm connection error message
2019-06-30 12:08:44 -07:00
josedonizetti
4d00a093d1
Fix error naming convention
2019-06-29 11:28:54 -03:00
josedonizetti
23ae121f2b
kvm2: simplify connection error message
2019-06-29 10:53:13 -03:00