Commit Graph

13300 Commits (cb5bc9c85042719db7c33ed4fd1c48c1f303a335)

Author SHA1 Message Date
priyawadhwa 857e0a2089
Merge pull request #10100 from priyawadhwa/force-systemd-containerd
Add support for systemd cgroup to containerd runtime
2021-01-07 11:26:50 -08:00
Priya Wadhwa 0b522445ad update flag and documentation 2021-01-06 14:38:15 -08:00
Priya Wadhwa 15aa8e1d5d Enable --force-systemd for containerd runtime 2021-01-06 14:35:47 -08:00
Medya Ghazizadeh 7668755086
Merge pull request #10084 from azhao155/yzhao/fix/deleteOnFailure
Delete the existing cluster if guest driver mismatch
2021-01-06 14:33:37 -08:00
Anders F Björklund 1d5ee9e02e OK to call Stop when implementation is changed 2021-01-06 21:16:08 +01:00
Anders F Björklund 1d6c86c8b5 Also remove unused machine SetConfigFromFlags
Setting the config directly instead in minikube
2021-01-06 21:05:53 +01:00
Ilya Zuyev df47190cca fix docker builder creation args 2021-01-06 11:54:22 -08:00
Anders F Björklund 72a0fd6642 Move the constants for flag defaults from drivers
Not using the default libmachine drivers anymore
2021-01-06 20:24:50 +01:00
Anders F Björklund a120c543bf Change meaning of Stop/Start/Restart to minikube
The "none" driver has redefined stop and start to mean the
kubelet rather than the host itself. Use the same API here.

Killing actual containers remotely remains to be implemented.
Only stop the kubelet service for now, and assuming systemd.
2021-01-06 20:09:25 +01:00
Thomas Strömberg cb72589cc9
Merge pull request #10096 from oradwell/patch-1
Change metrics-server pull policy to IfNotPresent
2021-01-06 10:39:38 -08:00
priyawadhwa 95c92eb703
Merge pull request #9988 from daehyeok/wait_binary
Performance bot wait for binary before run
2021-01-06 10:32:00 -08:00
Kubernetes Prow Robot cb7e09b1bd
Merge pull request #9937 from Aut0R3V/master
Added documentation for Vmware driver on Windows
2021-01-06 10:17:52 -08:00
Kubernetes Prow Robot 5b27fb6887
Merge pull request #10074 from afbjorklund/go_getter-update
Update go-getter from 1.4.2 to 1.5.1
2021-01-06 10:15:54 -08:00
Thomas Strömberg 9c5c6a77ff
Merge pull request #10072 from anencore94/profile_test_error
Fix test code not to create unsued config file
2021-01-06 10:12:27 -08:00
Anders F Björklund a77e3de85f Use CommonDrivers and drop machine GetCreateFlags
This makes the machine driver specific to minikube
2021-01-06 18:42:19 +01:00
Anders F Björklund fa05fcd6d0 Fork the generic driver to the minikube code base 2021-01-06 18:35:09 +01:00
Anders F Björklund a3b3b55ac0 Add helper for checking the generic driver name 2021-01-06 18:18:00 +01:00
Anders F Björklund a0d2c1a0c5 Need to set up docker group in start - not in fix
It was only called for existing machines, not for new.

But other commands expect to be able to run "docker".
2021-01-06 18:18:00 +01:00
Anders F Björklund d96d3befbe Log the os-release also for the generic driver 2021-01-06 18:18:00 +01:00
Anders F Björklund c3a23cd60a Fix failing unit test for MachineType
Since we don't know the remote machine type anyway,
it could be a virtual machine or a physical server.

But we don't add any _extra_ isolation for minikube,
so go with "bare metal machine" machine type for now.
2021-01-06 18:18:00 +01:00
Anders F Björklund d3ea174619 Call DetectProvisioner for the generic driver
It was failing to install the "docker" package

Since the provisioning was defaulting to ISO
2021-01-06 18:18:00 +01:00
Anders F Björklund d0260cca99 Allow actually using the generic driver
All drivers *must* be in "supportedDrivers"

Delete Podman on Darwin (Mac), not available
2021-01-06 18:18:00 +01:00
Anders F Björklund 6dad25898e Don't try to start/stop drivers without VMs
It is not supported anyway, and just throws errors.
There is no use to restart or to retry, just give up.

This should never be a problem with "none", though.
That always return running, while generic tests ssh.
2021-01-06 18:17:58 +01:00
Anders F Björklund 2b5c5b9202 Try to uninstall kubernetes on delete, for generic 2021-01-06 18:03:46 +01:00
Anders F Björklund 7c5ba62e8d Generic driver does not add user to docker group 2021-01-06 18:03:46 +01:00
Anders F Björklund c07666957a Don't download ISO for the generic VM driver 2021-01-06 18:03:46 +01:00
Anders F Björklund 00763352b6 Add minikube support for the "generic" VM driver
This driver connects to an already existing virtual machine,
using the provided IP address and SSH user/key/port parameters.

On this machine, libmachine will provision the docker daemon
and minikube will bootstrap the kubernetes cluster (as usual).
2021-01-06 18:03:43 +01:00
Oliver Radwell 4ded091138
Change metrics-server pull policy to IfNotPresent 2021-01-06 10:48:57 +00:00
Medya Ghazizadeh dbe70affea
Merge pull request #10095 from medyagh/baremtal_ghaction
run iso and img test on baremetal instances
2021-01-05 17:08:02 -08:00
Medya Gh dce38fb331 run iso and img test on baremetal instances 2021-01-05 16:54:20 -08:00
Ilya Zuyev 65cf998d6f Merge branch 'master' into ilyaz/multiarch_kicbase 2021-01-05 16:30:26 -08:00
Ilya Zuyev 6335658103 Revert single-arch kicbase fallback support 2021-01-05 16:29:48 -08:00
Medya Ghazizadeh 2a2ddb0452
Merge pull request #10094 from medyagh/master_build_badge
replace badge on readme for build binaries only
2021-01-05 15:51:17 -08:00
Medya Gh f2563c5f39 change name to build 2021-01-05 15:38:45 -08:00
Medya Ghazizadeh 662f2c3ebf
Merge pull request #10092 from afbjorklund/podman-debian
Handle podman installations without default bridge
2021-01-05 15:00:19 -08:00
Medya Gh f753287d27 replace build badge on readme 2021-01-05 14:56:53 -08:00
Anders F Björklund f22a3802c7 Handle podman installations without default bridge 2021-01-05 17:06:52 +01:00
Anders F Björklund 6c7b94314e Update go-getter to 1.5.1
Add build tags for disabling s3 and gcs
    -tags "go_getter_nos3 go_getter_nogcs"

    Since github.com/aws/aws-sdk-go/aws and
    cloud.google.com/go/storage are so big...
2021-01-05 07:51:24 +01:00
Medya Ghazizadeh 65f7a71e08
Merge pull request #10077 from afbjorklund/go_containerregistry-update
Update go-containerregistry from 0.1.0 to 0.3.0
2021-01-04 17:01:48 -08:00
Yanshu Zhao 7fa6d545d7 Change warning 2021-01-04 07:31:41 +00:00
Yanshu Zhao 58dedbbb18 Delete the existing cluster if guest driver mismatch 2021-01-02 08:35:02 +00:00
Anders F Björklund a78e1e97b7 Update go-containerregistry to 0.3.0 2021-01-01 17:18:00 +01:00
Anders F Björklund af4a056098 MEP: CRI: Containerd by default 2020-12-31 10:08:50 +01:00
anencore94 5ff8566604 Fix test code not to create unsued config file
- move testdata in testdata/.minikube2 to testdata/minikube
- fix not to create unsed config file at local "minikube_home" path
  - now test code save temporal config files at testdata folder and
    delete those when test case finished

Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
2020-12-31 15:55:21 +09:00
Medya Ghazizadeh 6d763a1cc7
Merge pull request #9955 from daehyeok/delete_machine_dirs
Delete subnode's machine directories
2020-12-30 22:23:20 -08:00
Medya Ghazizadeh 8debd186c3
Merge pull request #10048 from imilchev/master
Added sch_htb, cls_fw, cls_matchall, act_connmark and ifb kernel modules
2020-12-30 22:22:30 -08:00
Medya Ghazizadeh b69cc7f545
Merge pull request #10053 from azhao155/fix/yzhao/networkInspect
Fix docker inspect network go template for network which doesn't have MTU
2020-12-30 22:16:10 -08:00
Medya Ghazizadeh 02b770c2da
Merge pull request #10046 from lingsamuel/no_proxy
Kic: make sure NO_PROXY contains api endpoint
2020-12-30 21:56:11 -08:00
Yanshu Zhao 0f734e6339 Change function name 2020-12-31 00:03:34 +00:00
Medya Ghazizadeh a590ab7603
Merge pull request #10058 from lingsamuel/auto-latest
fix "cache add" command error when not specifying :latest tag
2020-12-30 15:33:20 -08:00