Jose Donizetti
ad97983d9e
# This is a combination of 8 commits.
...
# This is the 1st commit message:
Fix doc comment version.gitCommitID doc
# This is the commit message #2 :
Add hyperkit doc
# This is the commit message #3 :
Add commit id to docker-machine-driver-kvm2 version
# This is the commit message #4 :
removed label selector for registry-proxy daemonset
# This is the commit message #5 :
Add support to custom qemu uri on kvm2 driver
# This is the commit message #6 :
Improve hyperkit vm stop
# This is the commit message #7 :
Make virtualbox DNS settings configurable
# This is the commit message #8 :
added integration tests for registry addon
2019-06-29 18:27:47 +10:00
Jose Donizetti
d6a839b20a
Fix kvm2 vm driver remove domain
2019-06-26 18:36:52 -07:00
Medya Gh
c7bf1ce7cd
type check for drivers
2019-06-24 14:39:21 -07:00
Anders F Björklund
f20f223c02
Decrease cyclomatic complexity
...
Here is the report (from gocyclo), before:
21 tests (*SSHServer).Start pkg/minikube/tests/ssh_mock.go:76:1
19 cmd runStart cmd/minikube/cmd/start.go:173:1
18 integration testTunnel test/integration/tunnel_test.go:40:1
17 extract checkCallExpression pkg/minikube/extract/extract.go:198:1
17 kubeadm TestGenerateConfig pkg/minikube/bootstrapper/kubeadm/kubeadm_test.go:133:1
16 kvm (*Driver).deleteNetwork pkg/drivers/kvm/network.go:153:1
2019-06-22 17:21:42 +02:00
Thomas Strömberg
02b8032b59
Merge pull request #4385 from josedonizetti/refactor-drivers-restart
...
Refactor: improve readability drivers.Restart
2019-06-21 08:07:35 +08:00
Thomas Strömberg
4610663674
Merge pull request #4398 from josedonizetti/add-kvm-version-flag
...
Add kvm2 --version
2019-06-20 07:41:18 +08:00
Jose Donizetti
a2d844ef51
Add kvm network name validation
...
closes for #3581
2019-06-15 13:56:12 -07:00
josedonizetti
a024c6d22a
Add kvm2 --version
2019-06-04 16:45:14 -03:00
Medya Gh
6d57b28fdd
changing string driver name to checked type
2019-06-03 20:27:26 -07:00
josedonizetti
0e633533c2
Refactor: improve readability drivers.Restart
2019-05-30 17:24:28 -03:00
josedonizetti
986c61d15e
Fix kvm gpu log
2019-05-30 14:56:46 -03:00
Thomas Strömberg
dbc64c053b
Merge pull request #4355 from josedonizetti/fix-kvm-remove-when-domain-is-not-defined
...
Fix kvm remove when domain is not defined
2019-05-28 17:07:53 -07:00
Thomas Strömberg
dcb10332a0
Merge pull request #4334 from josedonizetti/refactor-kvm-lookup-status-ip
...
Refactor kvm lookupIPFromStatusFile
2019-05-28 10:26:02 -07:00
josedonizetti
c09913070d
Fix kvm remove when domain is not defined
2019-05-25 09:23:40 -03:00
Thomas Strömberg
8f9a3f448d
Merge pull request #4344 from josedonizetti/fix-kvm-remove-when-domain-is-not-running
...
Fix kvm remove when domain is not running
2019-05-24 13:55:04 -07:00
Thomas Strömberg
bb56fd2eb7
Merge pull request #4323 from josedonizetti/fix-kvm-ensure-network
...
kvm2: Add support for --kvm-network to ensureNetwork
2019-05-24 10:47:41 -07:00
josedonizetti
48237d95b8
Clean up kvm Remove code
2019-05-24 14:27:55 -03:00
josedonizetti
b65c7403cf
Add error warp to destroyRunningDomain
2019-05-24 14:27:55 -03:00
josedonizetti
3124f11e1b
Fix kvm remove when domain is not running
2019-05-24 14:27:55 -03:00
josedonizetti
81f0d9ba37
Fix kvm remove warn message
2019-05-24 12:38:00 -03:00
josedonizetti
1852a72caf
Refactor kvm lookupIPFromStatusFile
2019-05-23 15:38:02 -03:00
josedonizetti
fc2e2e52c5
Skip kvm network deletion if private network doesn't exist
2019-05-23 06:17:12 -03:00
josedonizetti
93329f1619
Remove obsolete comment
2019-05-22 17:25:27 -03:00
josedonizetti
e3bf4bd7ec
Fix kvm ensureNetwork
2019-05-22 16:19:09 -03:00
josedonizetti
e9a450df66
Validate kvm network exists
2019-05-21 16:19:15 -03:00
tstromberg
e53c0339ea
This is my testament to Chesterton's Fence
2019-05-15 11:44:16 -07:00
tstromberg
88f34bd0e3
Pass up better error messages
2019-05-15 10:25:34 -07:00
tstromberg
340c8faced
Remove crazy recursive permissions check that was chowning /home
2019-05-15 10:17:44 -07:00
tstromberg
f8c5fad437
Mark as darwin only, to match network.go
2019-05-14 09:05:34 -07:00
Thomas Stromberg
6e693d22ee
lint-a-geddon is here
2019-05-13 21:43:52 -07:00
tstromberg
9a9f9edf5f
First pass at lint-ageddon
2019-05-13 18:31:55 -07:00
Anders F Björklund
6491e35c20
Add explicit kvm2 flag for hidden KVM signature
2019-03-24 09:47:38 +01:00
Anders F Björklund
edf46f003f
Document all exported functions outside minikube
2019-03-16 16:57:37 +01:00
Anders F Björklund
46640cef68
Address all lint except undocumented and stutter
...
These two lint warnings still remain, after the cleanup:
"exported ... should have comment or be unexported"
"type name will be used as foo.FooBar by other packages,
and that stutters; consider calling this Bar"
2019-03-02 22:03:55 +01:00
Anders F Björklund
df5bbc3c8a
Fix minikube logs for other container runtimes
...
It is only Docker that adds the "k8s_" prefix, since CRI
only handles containers that are used by Kubernetes anyway.
Also need to use "sudo" when running all crictl commands,
including logs. And only list containers that are running.
2019-03-01 20:56:45 +01:00
Thomas Stromberg
cd156b3f98
Merge branch 'master' into container-killing2
2019-02-15 09:10:19 -08:00
Thomas Stromberg
07fc64fbe1
Warnf -> Debugf so that it doesn't interfere with output
2019-02-14 20:12:34 -08:00
Thomas Stromberg
c3db098d4a
ListContainers should return empty list when no containers match
2019-02-14 16:10:33 -08:00
Thomas Stromberg
7dd7e5417d
glog, not golog
2019-02-14 14:43:22 -08:00
Thomas Stromberg
531e6b0f72
Use h.SetLogger
2019-02-14 14:40:32 -08:00
Thomas Stromberg
0c8a452e97
lowercase error messages
2019-02-14 14:40:16 -08:00
Thomas Stromberg
ba9492c314
Merge branch 'master' into hyperkit-debugging
2019-02-14 14:03:52 -08:00
Thomas Stromberg
5c1a72f428
Switch Infof statements to Debugf/Warningf, as they go to stderr
2019-02-14 10:14:41 -08:00
Thomas Stromberg
473f5983cb
Allow driver name to be com.docker.hyper, as seen in integration testing
2019-02-13 13:36:45 -08:00
Thomas Stromberg
4b875ddd7f
Run goimports
2019-02-13 13:35:28 -08:00
Thomas Stromberg
2045dc9ba4
Lint cleanup
2019-02-13 13:35:08 -08:00
Thomas Stromberg
5f65dc80fa
Remove error uploads, consolidate fatal error handling into exit package
2019-02-13 12:37:44 -08:00
Thomas Stromberg
888978c3a9
Improve VM re-use reliability: detect crashing and/or badly installed hyperkit
2019-02-12 13:58:18 -08:00
Thomas Stromberg
f346e5628b
Add logging around the DHCP discovery process
2019-02-12 13:57:02 -08:00
Thomas Stromberg
d57d8d1a1e
Fix broken tests: hyperkit driver format mismatch, console spacing mismatch
2019-02-08 13:58:02 -08:00