Commit Graph

873 Commits (2bfde8737e217a3e81a5ec53563293c51cfa3b53)

Author SHA1 Message Date
Steven Powell 1a4160e60d
Merge pull request #12081 from spowelljr/buildkitSocket
buildkit socket: Add systemd unit
2021-10-01 20:49:41 -04:00
minikube-bot 39eb5cb53c Updating kicbase image to v0.0.27-1633027942-12081 2021-09-30 19:21:11 +00:00
Steven Powell dafbe6aac3 add created by label for podman 2021-09-29 13:47:59 -07:00
minikube-bot 1976e1b296 Update kicbase to v0.0.27 2021-09-16 18:55:00 +00:00
minikube-bot 030b3837ab Updating kicbase image to v0.0.26-1631295795-12425 2021-09-14 09:50:53 -07:00
Steven Powell 145f9fc9ab run `go fmt` 2021-09-13 11:58:43 -07:00
minikube-bot 67b82f3fe1 Update kicbase to v0.0.26 2021-09-03 02:18:31 +00:00
minikube-bot 703324b7c7 Updating kicbase image to v0.0.25-1630631232-12398 2021-09-03 01:36:51 +00:00
Medya Ghazizadeh 3469c77ffa
Merge pull request #12351 from raghavendra-talur/rtalur-add-disks-kvm2
Add `--extra-disks` capability to kvm2 driver
2021-08-30 16:50:58 -07:00
Akihiro Suda 323225483e
Support Rootless Docker
Requirements:
- Install rootless Docker 20.10 or later, see https://rootlesscontaine.rs/getting-started/docker/
- Enable cgroup v2 delegation, see https://rootlesscontaine.rs/getting-started/common/cgroup2/

Usage: `minikube start --driver=docker --container-runtime=containerd`.
The `--container-runtime` flag needs to be set to "containerd".
CRI-O can be also supported later.

Closes issue 10836 ("add support for rootless Docker").

Support for rootless Podman (issue 8719) is not covered in this commit.

---

Code reading guide:
- `deploy/kicbase/Dockerfile`: updated to install fuse-overlayfs and containerd-fuse-overlayfs, which is used
  instead of `overlayfs` snapshotter

- `deploy/kicbase/entrypoint`: updated to verify cgroup v2 delegation.
  Mostly from 8a83ee46b2/images/base/files/usr/local/bin/entrypoint

- `cmd/minikube/cmd/start_flags.go`: updated to set `KubeletInUserNamespace` feature gate when rootless

- `pkg/drivers/kic/oci`: updated to use port forwarding, because rootless container IPs are not reachable from the host

- `pkg/minikube/cruntime`: updated to generate `/etc/containerd/config.toml` with rootless support.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-27 17:21:53 +09:00
Raghavendra Talur dceb676527 Add extra disks capability to kvm2 driver
Having additional disks on the nodes is a requirement for developers
working on the storage components in Kubernetes. This commit adds the
extra-disks feature to the kvm2 driver.

Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
2021-08-25 00:15:02 -04:00
Medya Ghazizadeh 559048f83d
Merge pull request #11768 from ilya-zuyev/arm_kvm_driver
KVM2 driver for linux/aarch64
2021-08-13 13:27:59 -07:00
Medya Ghazizadeh adbeae1763
Merge pull request #12032 from spowelljr/updateBuildkit
Upgrade buildkit from 0.8.2 to 0.9.0
2021-08-13 12:43:49 -07:00
Medya Gh ccf4af0997 change depricated golint to revive and fix lint issues 2021-08-12 18:11:16 -07:00
minikube-bot 6cecbf6fe5 Updating kicbase image to v0.0.25-1628619379-12032 2021-08-10 18:33:49 +00:00
Blaine Gardner 8f05ee00e1
Add ability to create extra disks on hyperkit vms
Add the ability to create and attach extra disks to hyperkit vms.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-07-28 09:57:20 -06:00
なつき 4040311f1e Use fully qualified image name for docker hub fallback image 2021-07-13 16:09:55 -07:00
Medya Ghazizadeh 81c2bb2796
Merge pull request #11708 from afbjorklund/info-klog
Make sure to log errors from DaemonInfo
2021-07-07 13:29:05 -04:00
minikube-bot 4db717a5eb Update kicbase to v0.0.25 2021-07-01 23:38:36 +00:00
minikube-bot 202e2fa36f Updating kicbase image to v0.0.24-1625170572-11834 2021-07-01 20:31:45 +00:00
Medya Ghazizadeh 05b64d1a74
Merge pull request #11824 from andriyDev/fix-auto-pause
Make kicbase copy auto-pause binary instead of auto-pause folder
2021-07-01 16:10:33 -04:00
minikube-bot 2bf9076527 Updating kicbase image to v0.0.24-1625086337-11824 2021-06-30 21:07:40 +00:00
Medya Gh 89c7853601 bump go mod libs manually 2021-06-29 15:24:59 -04:00
minikube-bot bce90e5037 Update kicbase to v0.0.24 2021-06-25 23:41:39 +00:00
Ilya Zuyev e3b5c2f8cf fix linter error 2021-06-25 13:49:54 -07:00
Ilya Zuyev 58754c910c update domain definition 2021-06-24 23:06:56 -07:00
Anders F Björklund 3b533a07cb Make sure to log errors from DaemonInfo 2021-06-22 07:56:11 +02:00
Ilya Zuyev e48c8d289f fix domain definition 2021-06-21 21:16:04 -07:00
Ilya Zuyev 952b28e3b7 log out xml domain definition 2021-06-21 21:15:47 -07:00
Ilya Zuyev 37faf73207 improve logs 2021-06-21 17:56:14 -07:00
Ilya Zuyev a59e6a7341 remove acpi config from amd64 libvirt domain 2021-06-21 16:26:37 -07:00
Ilya Zuyev 84feb87502 fix arm64 libvirt domain definition 2021-06-21 16:16:10 -07:00
Ilya Zuyev 6de16a406e Add libvirt domain definition for arm64 2021-06-21 15:26:35 -07:00
minikube-bot 64a41824c5 Update kicbase to v0.0.23 2021-06-09 00:28:52 +00:00
Sharif Elgamal d76259e86f
Merge pull request #11528 from andriyDev/FixDownloadOnlyTest2
Change PreloadExists to report no preload for BareMetal drivers
2021-06-02 12:59:15 -07:00
Medya Gh 853f1cb4db first try gcr 2021-06-01 15:16:17 -07:00
Medya Gh 2f4b7985c0 try image without sha before failing 2021-06-01 15:11:01 -07:00
Andriy Dzikh f9f3ef9a09 Pass driverName into Preload and PreloadExists to report no preload for BareMetal. 2021-05-27 15:02:00 -07:00
Medya Gh 6cb7c2166c spell 2021-05-21 14:09:42 -07:00
Medya Gh 9c9934879c break guest provision when container exists prematurely 2021-05-21 13:34:34 -07:00
Daehyeok Mun d6691e796c Add `Close() error` function into assets.CopyableFile
Add `Close` function and implemetions to explicitly close os.File which opend by
NewFileAsset.
2021-05-20 21:05:09 -07:00
Medya Ghazizadeh 707af502f3
Merge pull request #11300 from ilya-zuyev/ilyaz/gh_11293
Fix getting of gateway IP for podman driver
2021-05-14 17:04:24 -07:00
Ilya Zuyev dcadd32624 Add comment, improve template 2021-05-14 14:38:29 -07:00
minikube-bot e8b16a5247 Updating kicbase image to v0.0.22-1620785771-11384 2021-05-12 02:25:58 +00:00
Ilya Zuyev a1ae930d2f Simplify the code 2021-05-06 11:17:43 -07:00
Ilya Zuyev 6e2eae0d0a Simplify the code 2021-05-06 11:13:10 -07:00
Ilya Zuyev f4e142d442 Simplify the code 2021-05-06 10:35:22 -07:00
Ilya Zuyev 8d2b811fcf Remove debug logs 2021-05-05 22:01:21 -07:00
Ilya Zuyev 6cf6ba2ff2 Fix network settings parsing 2021-05-05 19:31:12 -07:00
Ilya Zuyev 829cc42a65 Fix network settings parsing 2021-05-05 19:11:56 -07:00