Commit Graph

92 Commits (df8154a5e578e40bf767f3a45f781176951f4bb0)

Author SHA1 Message Date
minikube-bot 48feb9ba4e Update go-github from v43.0.0 to v53.1.0 2023-06-13 18:11:43 +00:00
Predrag Rogic e59d6217a8
autoconfigure cni and cri with proper cgroup driver 2022-12-26 06:06:31 +00:00
Steven Powell d0fc619adf move RemoveDuplicateStrings to util 2022-08-09 14:27:35 -07:00
Steven Powell cd0b3f977a remove duplicated k8s versions from preload generation 2022-08-08 15:50:35 -07:00
Steven Powell 7ac17524c7 fix arm64 preload upload 2022-08-08 12:18:27 -07:00
Kian-Meng Ang bc03821826 Fix typos 2022-06-10 15:26:35 -07:00
Predrag Rogic 0520293e15
use release versions' tags insted of release tags 2022-05-28 01:09:09 +01:00
Steven Powell 4a5b21cb78 added comment 2022-01-26 15:07:26 -08:00
Steven Powell 6c0ec55cf8 add option to upload arm64 preloads 2022-01-26 14:59:40 -08:00
Steven Powell e3d82f958b add trailing slash to bucket destination to indicate folder 2022-01-25 11:55:31 -08:00
Steven Powell 08c6981144 use structured preload storage 2022-01-14 16:32:10 -08:00
Piotr Resztak 4a2c97f28a ability to set a mirror for downloading kubectl, kubelet, & kubeadm 2022-01-12 17:43:33 +01:00
klaases 3ca58bebb8 Fix conditional exclusion for alpha. 2021-12-07 13:26:17 -08:00
klaases 1239c58e1d Increase page size to 100 and omit "alpha" 2021-12-07 12:32:15 -08:00
Medya Gh 2d6062c10e add retry check stroage for preload generation 2021-11-22 12:54:25 -08:00
Sharif Elgamal 63a37d2e53 stop setting ACLs on preload tarball 2021-11-02 15:57:09 -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
Medya Gh a714161f31 update go-github to v36 2021-06-29 15:46:23 -04:00
Andriy Dzikh f9f3ef9a09 Pass driverName into Preload and PreloadExists to report no preload for BareMetal. 2021-05-27 15:02:00 -07:00
Ilya Zuyev 71ba8c19bb add comments 2021-04-20 11:44:29 -07:00
Ilya Zuyev 739424c5ac reorder k8s versions to process 2021-04-16 13:00:41 -07:00
Ilya Zuyev bf5d87423a fix comments 2021-04-16 10:52:16 -07:00
Ilya Zuyev e0c3ef3f51 improve logs 2021-04-16 10:41:07 -07:00
Ilya Zuyev 9af84a7d95 debug options 2021-04-15 10:40:43 -07:00
Ilya Zuyev 74c1029d9f more logs 2021-04-14 14:01:41 -07:00
Ilya Zuyev ce748474fb more logs 2021-04-14 13:59:42 -07:00
Ilya Zuyev 06c4bf030f goimports 2021-04-13 13:24:57 -07:00
Ilya Zuyev 71080b0860 add command line options to preload-generator 2021-04-13 12:18:44 -07:00
liuwei10 f059b9b43e logging: migrate some logs to structured logging 2021-02-26 14:30:39 +08:00
Ling Samuel 634f0ae0a9
Remove verbose options 2020-12-10 14:29:38 +08:00
Priya Modali ab4a0ab558 Cleaning up flags parsing. 2020-10-08 11:18:50 -07:00
Priya Modali ef2090ac31 Merge branch 'master' of https://github.com/kubernetes/minikube into klog 2020-10-08 10:27:04 -07:00
Priya Modali 43cc1a2581 Resolved merg conflicts. 2020-10-02 14:10:55 -07:00
Priya Modali 97d96bf925 Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00
Medya Gh f0f10d6135 first version 2020-09-29 14:14:24 -07:00
Medya Gh 47ed4bc23c update lint version 2020-07-24 14:45:15 -07:00
Anders F Björklund b3e5e709fa Need to test storage driver of container runtime 2020-06-30 18:56:30 +02:00
Anders F Björklund b87a837f2e Use the actual storage driver name for cri-o 2020-06-28 09:49:50 +02:00
Anders F Björklund 1bf268c9f6 Generate cri-o container runtime preload tarball 2020-06-27 20:20:35 +02:00
Thomas Stromberg 9e95435e00 Add --cni flag, fix --network-plugin=kubenet 2020-06-23 20:10:25 -07:00
Medya Gh 123d1b6a74 add default versions to preload generation 2020-05-12 18:57:49 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Priya Wadhwa cfb1d21982 fix lint 2020-04-23 16:10:20 -07:00
Priya Wadhwa ac5ef8b0ee fix container runtime in params 2020-04-21 18:17:20 -07:00
Medya Gh dc84091d59
fix preload script 2020-04-20 21:39:08 -07:00
Medya Gh a14f846a8c add one more delete 2020-04-20 18:00:43 -07:00
Medya Gh 3e97301fe8 clean up at start too 2020-04-20 17:55:10 -07:00
Medya Gh d6ad34b920 missed one 2020-04-20 17:54:06 -07:00
Medya Gh 95eba3f734 delete prune 2020-04-20 17:51:59 -07:00
Medya Gh 3bd1608954 move exec inside func 2020-04-20 17:37:56 -07:00