Commit Graph

27 Commits (62c0d53b7de3e40b6981d2125e00595628547022)

Author SHA1 Message Date
Thomas Stromberg 4f44208ba3 Refactor functional tests to not rely on SetRuntime, use short variable name 2019-03-08 12:30:41 -08:00
Thomas Stromberg 966b245dc6 Refactor and centralize container runtime code into a cruntime package 2019-02-05 14:42:12 -08:00
priyawadhwa 1514511b7a Change restart policy on gvisor pod (#3445)
* Change restart policy on gvisor pod

Change the restart policy on the gvisor pod to Always. This way, if a
user runs

minikube addons enable gvisor
minikube stop
minikube start

when the addon manager tries to restart the gvisor pod, it will be
restarted and gvisor will start running automatically. This PR also adds an
integration test for this functionality.

* Test stop and start

* Revert test to delete

Revert test to delete for now, for some reason "stop" and then "start"
is failing both locally and in Jenkins for VirtualBox with a "panic test
timed out after 30 min" error
2018-12-11 18:39:57 -08:00
priyawadhwa 8f128a7d10 Enable gvisor addon in minikube (#3399)
This PR adds the code for enabling gvisor in minikube. It adds the pod
that will run when the addon is enabled, and the code for the image
which will run when this happens.

When gvisor is enabled, the pod will download runsc and the
gvisor-containerd-shim. It will replace the containerd config.toml and
restart containerd.

When gvisor is disabled, the pod will be deleted by the addon manager.
This will trigger a pre-stop hook which will revert the config.toml to
it's original state and restart containerd.
2018-12-07 15:27:22 -08:00
priyawadhwa 034046e931 Add integration test to make sure minikube starts and stops with cont… (#3394)
* Add integration test to make sure minikube starts and stops with containerd
* Skip testing containerd if using none driver
2018-12-05 10:23:36 -08:00
Balint Pato ae9f4b20c7
minikube tunnel (#3015)
This commit introduces a new command, `minikube tunnel`, a LoadBalancer emulator functionality, that must be run with root permissions.

This command:

* Establishes networking routes from the host into the VM for all IP ranges used by Kubernetes.
* Enables a cluster controller that allocates IPs to services external `LoadBalancer` IPs.
* Cleans up routes and IPs when stopped (Ctrl+C), when `minikube` stops, and when `minikube tunnel` is ran with the `--cleanup` flag
2018-10-18 11:01:47 -07:00
Thomas Stromberg af61bf790c Remove lint issues from integration tests, mostly by adding error
handlers.
2018-09-28 11:57:48 -07:00
Yongkun Anfernee Gui c07258b45a Fix more permissions 2018-02-09 14:32:53 -08:00
kairen e93a2f4254 Ignore the ingress test in Linux-None 2017-12-02 04:04:39 +08:00
kairen 06f52cfe3e Add integration test for ingress addon 2017-12-01 18:40:30 +08:00
Priya Wadhwa 7098431c6a Small changes 2017-10-30 13:52:45 -07:00
Matt Rickard cae751ad38 Disable busybox cache for windows 2017-10-03 08:53:41 -07:00
Matt Rickard 5ba262d1ce Disable provisioning test for kubeadm for now.
Until we get caching and can run an external storage provisioner.
2017-09-14 13:51:37 -07:00
Matt Rickard f966c8cf31 Add NewMinikubeRunner, separate start args
* Separate start args from args passed to every command.  This is so
that we can call `minikube logs` and `minikube status` with the proper
flags (for the bootstrapper)

* Add a NewMinikubeRunner function to make getting a minikube runner
easier.
2017-09-08 20:14:21 -07:00
Matt Rickard ac65b58363 Review feedback 2017-09-06 10:22:09 -07:00
Matt Rickard eb73bad9c5 Cache busybox in integration test 2017-08-30 22:36:21 -07:00
dlorenc 0b5bd79d50 Refactor of retries in integration tests. 2017-08-23 10:19:11 -07:00
Matt Rickard 4e9c1c8a17 Remove systemd integration test
It didn't really do much, and we don't require systemd anymore.
2017-06-20 14:17:19 -07:00
Nick Kubala 5d66ac22f0 use go build tag over make flag 2017-06-13 10:28:19 -07:00
Nick Kubala 13395a067d add integration-versioned make rule to run certain integration tests on all supported k8s versions 2017-06-13 10:28:19 -07:00
Aaron Prindle f4a8ece0ae Additional none driver changes 2017-05-26 13:33:26 -07:00
dlorenc dd5b303a35 Minor e2e cleanups. (#1425) 2017-04-28 10:38:55 -07:00
dlorenc 4b7a59425b Temporarily disable the mount test. (#1424) 2017-04-28 09:51:45 -07:00
Aaron Prindle 8e801e3975 Update mount implementation, add mount integration tests, and check that path exists. 2017-04-06 13:39:25 -07:00
Dan Lorenc 8fd8564acd Add an integration test for pvcs. 2017-02-27 13:43:19 -08:00
Matt Rickard 52dc0a1c4f Add non-blocking test for systemd units
Integration test for failing systemd units.  Once we fix the hostname
service, we can make this a blocking test.
2017-01-12 14:02:23 -08:00
Dan Lorenc 35acd21cb1 Move some integration tests to the subtest framework, and run them in parallel. 2016-12-05 18:36:03 -08:00