Commit Graph

3030 Commits (bc67a32a7bf4627b35710a19bc4828a1ac5309b5)

Author SHA1 Message Date
Thomas Strömberg bc67a32a7b
Merge pull request #3332 from dlorenc/rmaddons
Remove both the CoreDNS and KubeDNS addons. Let Kubeadm install the c…
2018-12-03 17:15:06 -08:00
priyawadhwa 1c3df2dc3c Add NET_PRIO cgroup to iso (#3396)
This cgroup is required for running gvisor in minikube.
2018-12-03 14:44:00 -08:00
Thomas Strömberg 8388503b4d
Merge pull request #3395 from tstromberg/none_cleanup
Disable running kubelets and show any minikube/e2e processes that are running
2018-12-03 14:23:58 -08:00
Thomas Stromberg 961199a7fa Stop active kubelets 2018-12-03 12:46:58 -08:00
Thomas Stromberg e3d97e6a71 Show any running minikube and e2e processes 2018-12-03 12:46:25 -08:00
Thomas Strömberg ad546caaf0
Merge pull request #3393 from tstromberg/common_ssh
Fix incomplete ssh line, add useful debugging commands
2018-12-03 11:29:43 -08:00
Thomas Stromberg c518e31d89 Fix incomplete ssh line, add useful debugging commands 2018-12-03 10:29:37 -08:00
SataQiu 2a57faaa66 use $(CURDIR) instead of $(PWD) in Makefile (#3290) 2018-12-03 10:02:15 -08:00
Thomas Strömberg c763c3cd82
Merge pull request #3382 from tstromberg/corresponding
Refactor test harness to isolate test outputs
2018-11-30 09:51:27 -08:00
Thomas Stromberg 0e69c14b93 fix invalid OS_ARCH check, and list kubectl processes 2018-11-30 06:45:50 -08:00
Thomas Stromberg 48e6f2c6cf Remove ps output, make status independent of rest of minikube debug chain to avoid dependencies 2018-11-30 06:44:32 -08:00
Thomas Stromberg a571aa7fb7 || true everything 2018-11-29 21:44:20 -08:00
Thomas Stromberg 3b46d1cd00 Less output spam 2018-11-29 16:22:07 -08:00
Thomas Stromberg d8d727bd8d Add trailing newline 2018-11-29 15:51:41 -08:00
Thomas Stromberg 45ebebb125 Fix missing } 2018-11-29 15:50:45 -08:00
Thomas Stromberg 3f1b8a0c02 Merge branch 'master' into corresponding 2018-11-29 15:50:29 -08:00
Thomas Stromberg 81cdbae8d5 Refactor test harness to isolate test outputs 2018-11-29 15:43:40 -08:00
Anders Björklund 57f4d9247e Only require docker for the docker runtime (#3303)
Closes #3295
2018-11-27 14:15:08 -08:00
Balint Pato e626e38e95
removing Windows check temporarily (#3369) 2018-11-27 13:58:49 -08:00
Balint Pato 47579273d8
even longer timeout + timeout error is retriable now (#3370)
* even longer timeout + timeout error is retriable now
* fix for debugging when tunnel test has issues
2018-11-27 13:58:26 -08:00
Peeyush gupta dc340b06d8 Adding ARCH variable to download kubeadm/kubelet binaries (#3368) 2018-11-27 08:34:13 -08:00
Thomas Strömberg e0df20f294 Restrict TestDocker commands to 10 minutes of total runtime. (#3350)
* Restrict TestDocker commands to 10 minutes of total runtime.
* Hide unneccesarily scary delete error
2018-11-27 08:24:28 -08:00
Joey 41bd1de699 Implement a check to see if an ISO URL is valid (#3287)
* Implement a check to see if an ISO URL is valid

* Use strings.TrimPrefix instead of []rune casting for 'file://' prefix removal

* Handle file permissions error with a user-friendly message
2018-11-26 16:29:47 -08:00
Fernando Diaz 49f038a902 Update Ingress-Nginx to 0.21 (#3365)
Updates the Ingress-Nginx Addon to version 0.21.
2018-11-26 14:59:53 -08:00
Balint Pato 4b11d63da1
debugging improvements and flakiness reduction (#3363)
Small improvements to debugging and reducing integration test flakiness: 
* added logging to kubeadm init in the SSHExecutor
* increasing timeout for RBAC creation via the kubernetes client set 
* only log tunnel output to test logger
2018-11-26 10:18:28 -08:00
Ihor Dvoretskyi f6dbb9d14b Removed '$' symbols for easier copy&paste (trivial fix) (#3361)
Removed bash welcome symbols ('$' symbols) for easier copy&paste.

Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
2018-11-24 17:48:58 -08:00
Prakhar Goyal be32b78f25 Updated README (#3347)
The documentation is clearer now for a person new to macOS.
2018-11-21 15:23:35 -08:00
Balint Pato a681603daa
Fix `minikube tunnel` for hyperkit (#3349)
This change is a bit of a hack to make IP routing work over the virtio-net interface - it forces the virtio-net interface (bridge100) created by hyperkit/xhyve to reset via removing and readding the single member of the interface. Without this "reset" packets are just simply lost most of the time, despite a completely healthy IP route.

This error was also the reason for a large percentage of our integration test failures. While reducing the flakiness of tunnel related tests I also increased the timeout requirement and adding retries to the nginx request in TestTunnel.
2018-11-21 13:39:48 -08:00
Thomas Strömberg dd2ef872bd
Merge pull request #3314 from tstromberg/dashboard_on_demand
Add timeout to testDashboard, skip testTunnel if sudo password is required.
2018-11-19 21:14:09 -05:00
Thomas Strömberg e16c7e2def
Merge pull request #3266 from tstromberg/cross-build
Fix invalid build result comparison in the cross build script
2018-11-19 21:13:17 -05:00
dlorenc 2091f8c27a
Remove both the CoreDNS and KubeDNS addons. Let Kubeadm install the correct DNS addon. 2018-11-16 14:54:44 -08:00
priyawadhwa 77942bbf94 Restart containerd after stopping alternate runtimes (#3343)
After stopping any runtimes that aren't being used, if we're using
containerd then we need to restart it. This is because it competes with
cri-o to listen on port 10010, causing a necesary plugin to not be
installed. After stopping cri-o, we need to restart containerd so that
the plugin is installed.

I also added some preflight checks when using alternative runtimes.
kubeadm checks to make sure the Docker service is running, so I disabled
that. It also checks if a few ports are available; these are ports that
containerd uses, so I also added them to the ignore list.

This should finish the work started in #3211, which stopped alternative
runtimes but didn't restart containerd. I was able to run "minikube
start" with containerd locally with this change.
2018-11-16 11:48:24 -08:00
Thomas Strömberg b6308bffbd Remove obsoleted job types so that they no longer show as pending (#3335) 2018-11-15 16:43:25 -08:00
Balint Pato 6715122998
adding continuous build logic (#3340)
to reuse the same jenkins jobs, I just added extra logic into the
current scripts, namely: for cases when `$ghprbPullId` equals "master",
we ignore setting the github statuses.
2018-11-15 16:25:04 -08:00
dlorenc 4e5623e4fa Fix error formatting 2018-11-15 16:36:30 -06:00
Anders Björklund b69fc99d62 Stop docker daemon, when running cri-o (#3211)
* Stop extra container runtimes, before bootstrapper

The minikube.iso starts every runtime, by default

* Disable docker-env output, if docker isn't running

Might be running an alternative container runtime
2018-11-14 16:43:07 -08:00
Anders Björklund 2ceec0d084 Add config parameter for the cri socket path (#3154)
* Add config parameter for the cri socket path

Closes #3153

* Remove stray newline, when not using criSocket

* Add the --cri-socket parameter to configuration

Also fix the syntax for CRI-O, adding unix://
2018-11-14 16:36:02 -08:00
mikeweiwei 3deef5345d fix logging calls (#3315) 2018-11-13 13:53:50 -08:00
Thomas Stromberg f0b358f2b4 Remove extra log statements 2018-11-13 12:42:00 -08:00
Thomas Strömberg a192e8558a
Merge pull request #3313 from tstromberg/crio
Upgrade to crio v1.11.8
2018-11-13 12:37:52 -08:00
Alexander Ilyin 2271fab4a2 Added missing dependency to docs 2018-11-13 09:45:41 -06:00
Yongkun Anfernee Gui 2f5fe02548 Update document for new drivers
New drivers should be added into org https://github.com/machine-drivers.

Fix #2953
2018-11-13 09:44:42 -06:00
mooncake 1bdc7ba400 Fix typos: containg->contain, reconcilliation->reconciliation
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-11-13 09:44:04 -06:00
xichengliudui fd67b2ca80 Modify the correct function name 2018-11-13 09:43:40 -06:00
Nguyen Hai Truong 5d3265f2d2 Trivial fix: Correct some spelling errors
Small modification to correct spelling mistake.
2018-11-13 09:43:12 -06:00
Thomas Strömberg 36631fa2fd
Merge pull request #3322 from tstromberg/dashboard_old_kubectl
Add timeout when reading dashboard host:port from kubectl
2018-11-12 17:25:53 -08:00
Thomas Stromberg f7ac166f6b crio is now in kubernetes-sigs rather than kubernetes-incubator. 2018-11-12 14:44:26 -08:00
Thomas Stromberg a9d7c41056 One last rune->byte switch 2018-11-09 15:16:36 -08:00
Thomas Stromberg 810a6c70ef Update strings to reflect that a byte is returned instead of a rune 2018-11-09 15:16:05 -08:00
Thomas Stromberg 81815182c7 Use io.ByteReader interface 2018-11-09 15:11:58 -08:00