Sharif Elgamal
1c948645f1
spacing
2021-12-14 12:40:03 -08:00
Sharif Elgamal
c3688b6230
address comments
2021-12-14 12:36:48 -08:00
Sharif Elgamal
885ad28bbc
fix it actually
2021-12-13 16:54:36 -08:00
Sharif Elgamal
3733f436fc
death by a thousand papercuts
2021-12-13 15:47:21 -08:00
Sharif Elgamal
682d144904
fix sed for ppc
2021-12-13 14:38:59 -08:00
Sharif Elgamal
50ed250fce
don't use crio on armv7 either
2021-12-13 13:31:04 -08:00
Sharif Elgamal
72e654ac17
don't add user to nonexistent group :)
2021-12-08 15:53:10 -08:00
Sharif Elgamal
0e00ca4477
syntax
2021-12-08 14:26:38 -08:00
Sharif Elgamal
9700ca1c79
don't start podman socket when there is no podman
2021-12-08 14:17:44 -08:00
Sharif Elgamal
ba5e3d4615
don't stop services that aren't installed
2021-12-08 13:14:34 -08:00
Sharif Elgamal
a8ca32e63b
filter out podman for powerpc arch
2021-12-08 11:36:56 -08:00
Sharif Elgamal
6c7cf29987
exclude crio for powerpc
2021-12-08 09:39:15 -08:00
Sharif Elgamal
6b7168cf4b
fix kicbase dockerfile to allow ppc64le and armv7 archs
2021-12-07 16:05:32 -08:00
klaases
f358a1e907
Update BUILD KIT version.
2021-12-06 12:47:43 -08:00
Steven Powell
4452d73284
add buildkit to kicbase
2021-09-22 11:31:41 -07:00
Steven Powell
a218d9fce0
add missing slash
2021-09-22 11:31:41 -07:00
Steven Powell
2c624cdeac
added improvements based on feedback
2021-09-22 11:31:41 -07:00
Steven Powell
dbc7ace360
buildkit socket
2021-09-22 11:31:41 -07:00
Steven Powell
debae03666
crio enabled s390x arch
2021-09-14 09:50:53 -07:00
Steven Powell
5243af5d58
only disable crio if installed
2021-09-14 09:50:53 -07:00
Steven Powell
8304e52539
prevent user from using crio on unsupported hardware
2021-09-14 09:50:53 -07:00
Steven Powell
1bc841108f
skip cri-o installation on unsupported archs
2021-09-14 09:50:53 -07:00
Steven Powell
623c01c23a
remove var
2021-09-14 09:50:53 -07:00
Steven Powell
c31db4fd99
update cri-o from v1.20.0 to 1.22.0
2021-09-14 09:50:53 -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
Steven Powell
b36be9cd52
Upgrade buildkit from 0.8.2 to 0.9.0
2021-08-10 11:05:34 -07:00
Andriy Dzikh
022967c4d3
Make kicbase copy auto-pause directly instead of the auto-pause folder.
2021-06-30 10:08:16 -07:00
Medya Gh
e8103ca011
auto puase arm64
2021-06-24 17:25:14 -04:00
Peixuan Ding
075ca20498
Add useful tools in the Kicbase Docker image
...
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
2021-05-11 21:57:29 -04:00
Anders F Björklund
f9cfa45c60
Update kicbase base image and sync with kind
2021-04-10 09:51:07 +02:00
Medya Gh
1cda7d41ef
change location of auto-pause binary
2021-04-08 09:56:36 -07:00
Anders F Björklund
18f4b425e9
Upgrade buildkit from 0.8.1 to 0.8.2
...
Add buildkit-qemu-* to the packaging
2021-03-17 20:02:18 +01:00
Medya Gh
175dbcf7ae
add auto-pause to kic image
2021-02-24 12:30:06 -08:00
Medya Gh
adc9d9e0a6
add auto-pause to docker image
2021-02-24 12:30:06 -08:00
Jiefeng He
1921801b69
disable minikube-scheduled-stop.service until a user schedules a stop
2021-02-21 00:12:31 -08:00
Anders F Björklund
48a1d6ad78
Change from crio-1.19 to crio-1.20 in kicbase
2021-02-20 10:20:45 -08:00
Anders F Björklund
f3fda2a4c4
Make sure to add crun for running on cgroups v2
...
Podman will default to crun, for v2 (runc for v1)
So these dependencies are needed for podman.service
Note that runc is now provided by "containerd.io"
2021-02-20 10:11:35 -08:00
Sharif Elgamal
9c278299af
add link to issue
2021-02-19 18:53:20 -08:00
Sharif Elgamal
f81c526c6b
fix crio by hardcoding mountopt
2021-02-19 17:41:24 -08:00
Sharif Elgamal
9be89e2ac0
Merge branch 'master' of github.com:kubernetes/minikube into anders-kicbase-210119
2021-02-18 18:51:37 -08:00
Sharif Elgamal
3406be89f8
fix final line of dockerfile
2021-02-12 17:18:40 -08:00
Sharif Elgamal
400456b300
no need for bash
2021-02-12 17:09:46 -08:00
Sharif Elgamal
38c6fc60f0
fix makefile
2021-02-12 16:15:33 -08:00
Sharif Elgamal
ccdc844a94
Merge branch 'master' of github.com:kubernetes/minikube into kic-test
2021-02-09 15:12:42 -08:00
Anders F Björklund
ac147e1442
Correct the filename for the crio apt repository
...
It was a bit confusing that 1.19 still said 1.18
2021-02-09 19:32:05 +01:00
Anders F Björklund
e34354f6ea
Update kicbase base image and sync with kind
2021-02-09 17:59:36 +01:00
Sharif Elgamal
789c524431
change to dockerfile to test autobuild
2021-02-08 12:52:28 -08:00
Thomas Stromberg
11ea5b2f1d
Remove debugging code
2021-01-08 16:03:22 -08:00
Thomas Stromberg
6ec94aa064
Merge to master
2021-01-08 15:40:24 -08:00
Thomas Stromberg
66a671fc86
Experimental macOS/arm64 work
2021-01-08 15:38:31 -08:00