Commit Graph

1398 Commits (906d29c3be0494cfaeafc0e07e8e4951a1950daa)

Author SHA1 Message Date
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Steven Powell 1a4160e60d
Merge pull request #12081 from spowelljr/buildkitSocket
buildkit socket: Add systemd unit
2021-10-01 20:49:41 -04:00
Steven Powell ec1d89bda0 add preset to not start buildkit on startup 2021-10-01 18:51:01 +00:00
Li Yi eb66c6797e Initial support for adding Aliyun mirror for preload images and Kubernetes binaries
Signed-off-by: Li Yi <denverdino@gmail.com>
2021-09-26 15:36:36 +08:00
Medya Ghazizadeh c409732d49
Merge pull request #12539 from cameronbrunner/issue-11902-mac-iso-build
Update MacOS ISO build steps
2021-09-22 14:20:12 -07:00
Steven Powell 68642f9323 fixed filename type of buildkit to buildkitd 2021-09-22 11:31:41 -07:00
Steven Powell c23cd3920e implement .toml config for iso 2021-09-22 11:31:41 -07:00
Steven Powell 0dbeaa8959 fixed iso config 2021-09-22 11:31:41 -07: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
minikube-bot 917b9e9c67 Update releases.json to include v1.23.2 2021-09-21 16:41:39 -07:00
Cameron Brunner c4d9647335 Update MacOS ISO build steps
For issue #11902

Two changes required to get MacOS ISO builds working:
1. Include a 'go module' compatible golang environment in the
   buildroot docker image
2. Run the build within a shell environment to have $PWD set
2021-09-21 14:57:23 -05:00
minikube-bot ef8bd38897 Update releases.json to include v1.23.1 2021-09-17 14:46:44 -07:00
Sharif Elgamal 95acc2867b lower TTL to 30 seconds 2021-09-16 15:50:10 -07:00
Sharif Elgamal 047f2e553f fix refreshing gcp-auth pull secret 2021-09-16 15:06:31 -07:00
Steven Powell 1936a7b508
Merge pull request #12425 from spowelljr/updateCrio
Update cri-o from v1.20.0 to 1.22.0
2021-09-15 18:21:10 -07:00
Sharif Elgamal 803fc43e26 fix ingress-dns addon and add test 2021-09-14 17:41:26 -07:00
Steven Powell 0e02c5f820 updated hash list 2021-09-14 15:36:40 -07:00
Steven Powell 123760e97e update host-go version 2021-09-14 12:42:26 -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
Sharif Elgamal b77a9305af Merge branch 'master' of github.com:kubernetes/minikube into fix-ingress 2021-09-10 16:38:39 -07:00
Joel Jeremy Marquez 3636e35098
Fix ingress-controller-leader configmap resource name 2021-09-10 19:42:15 +08:00
Sharif Elgamal 96923883e7 fixes for ingress 2021-09-09 13:47:01 -07:00
minikube-bot 14e4d072a6 Update releases.json to include v1.23.0 2021-09-03 13:03:45 -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
Predrag Rogic 7466e4a109
fix gcpauth and olm for k8s v1.22+ 2021-08-24 18:40:22 +01:00
Predrag Rogic 8a510c05db
avoid extra newlines around conditions in template 2021-08-24 18:05:56 +01:00
Predrag Rogic abd52901cf
fix ingress for k8s v1.22+ 2021-08-24 18:05:44 +01:00
Medya Ghazizadeh 7dc8836303
Merge pull request #12268 from afbjorklund/minikube-2021.02-new
Upgrade Buildroot to 2021.02 LTS with Linux 4.19
2021-08-16 16:47:00 -07:00
Medya Ghazizadeh 29117e3c13
Merge pull request #12230 from medyagh/v1beta_depricate
bump calico to v3.20 and move away from v1beta apis
2021-08-16 16:38:16 -07:00
Anders F Björklund f91a11192e Upgrade Buildroot to 2021.02 LTS with Linux 4.19
Upgrade kernel minor version to distribution default

Add patch to allow building go inside minikube mod

Add sysctl override to revert systemd 245+ rp_filter

BR2_PACKAGE_LUAJIT
    Make sure to build lua required for sysdig

BR2_PACKAGE_LZ4_PROGS
    Make sure to build lz4 required for preload

BR2_PACKAGE_UTIL_LINUX_BINARIES
    Make sure to build lsblk required for automount
2021-08-14 22:02:02 +02:00
Medya Gh 4e32f41c83 move away from v1beta apis 2021-08-10 14:24:43 -07:00
Steven Powell b36be9cd52 Upgrade buildkit from 0.8.2 to 0.9.0 2021-08-10 11:05:34 -07:00
Anders F Björklund 7971e043de Upgrade Docker, from 20.10.7 to 20.10.8
runc v1.0.1

    containerd v1.4.9
2021-08-06 10:23:49 +02:00
Anders F Björklund cd08ce7c4d Upgrade Docker, from 20.10.6 to 20.10.7
runc v1.0.0-rc95

    containerd v1.4.6
2021-08-06 10:23:49 +02:00
Anders F Björklund e5c662ce4f Update crictl to v1.21.0 2021-08-05 12:18:51 +02:00
Anders F Björklund 2584519c0c Update crictl to v1.20.0 2021-08-05 12:17:58 +02: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
jayonlau 6859155270 Clean up extra spaces
Clean up extra spaces, although these errors are not important, they affect the code specification.
2021-07-14 15:30:17 +08:00
balasu e833905678 for portainer add-on 2021-07-08 13:22:01 +00:00
minikube-bot af60c5de90 Update releases.json to include v1.22.0 2021-07-07 14:59:10 -07:00
Medya Ghazizadeh edbbaa521f
Merge pull request #11826 from ilya-zuyev/ilyaz/test_beta_sanity
Add a sanity test for beta releases
2021-07-02 09:44:14 -04:00
Sharif Elgamal 11a9046913 update crio-bin hash 2021-07-01 17:08:53 -07:00
Andriy Dzikh cec98ef11a Template auto-pause.service to allow injecting the correct container runtime. 2021-07-01 13:12:44 -07: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
Andriy Dzikh 022967c4d3 Make kicbase copy auto-pause directly instead of the auto-pause folder. 2021-06-30 10:08:16 -07:00
Ilya Zuyev e109e9dd62 fix a comment 2021-06-29 16:52:00 -07:00
Ilya Zuyev 66e0d25af7 add a sanity test for betas 2021-06-29 16:41:52 -07:00
Ilya Zuyev 5f71accc95 releases-beta.json: add hashsums for v1.20.0-beta.0 2021-06-29 16:39:12 -07:00
Steven Powell ebf3c9d572 fixing previously renamed func 2021-06-29 15:58:52 -07:00
minikube-bot 98e7796af7 Update releases-beta.json to include v1.22.0-beta.0 2021-06-29 15:43:22 -07:00
Ilya Zuyev 47938ea6d3 fix crio-bin hash 2021-06-29 11:32:50 -07:00
Ilya Zuyev 68c4d072fe Revert "Merge pull request #11688 from afbjorklund/buildroot-2021.02"
This reverts commit 02abe7856c, reversing
changes made to 4d078ae82f.
2021-06-28 17:11:11 -07:00
ilya-zuyev 02abe7856c
Merge pull request #11688 from afbjorklund/buildroot-2021.02
Upgrade Buildroot to 2021.02 LTS with Linux 4.19
2021-06-27 17:13:11 -07:00
Steven Powell 426be861ad update crio-bin hash 2021-06-25 15:22:16 -07:00
Anders F Björklund 50a514c993 Synchronize config with Buildroot 2020.02
Compare generated .config between versions

Remaining differences: binutils, gcc, fuse

-BR2_BINUTILS_VERSION_2_32_X=y
+BR2_BINUTILS_VERSION_2_35_X=y

-BR2_GCC_VERSION_8_X=y
+BR2_GCC_VERSION_9_X=y

-BR2_PACKAGE_LIBFUSE=y
+BR2_PACKAGE_LIBFUSE3=y

And also the kernel versions, as intended.
2021-06-25 13:44:30 -07:00
Anders F Björklund e90f7c18df Make sure to build lz4 required for preload 2021-06-25 13:38:02 -07:00
Anders F Björklund 27ad97fc19 Make sure to build lsblk required for automount 2021-06-25 13:38:02 -07:00
Anders F Björklund d63318b946 Add patch to allow building go inside minikube 2021-06-25 13:38:02 -07:00
Anders F Björklund 6eafe64a57 Upgrade Buildroot to 2021.02 LTS with Linux 4.19
Upgrade kernel minor version to distribution default

BR2_PACKAGE_LUA_5_1 is required for BR2_PACKAGE_SYSDIG
2021-06-25 13:38:02 -07:00
Medya Gh e8103ca011 auto puase arm64 2021-06-24 17:25:14 -04:00
Ilya Zuyev 3ef400ddee Merge branch 'master' into ilyaz/fix_vm_ctrd_timeout 2021-06-21 14:55:01 -07:00
Medya Ghazizadeh ab4cfc239d
Revert "ISO: Upgrade podman to 3.1.2" 2021-06-21 12:13:59 -04:00
Medya Ghazizadeh 47f6f9e5a6
Merge pull request #11704 from afbjorklund/podman-3.1.2
ISO: Upgrade podman to 3.1.2
2021-06-21 12:12:40 -04:00
Anders F Björklund c6c9cec51b Stop using /etc/cni/net.d for podman network
Kubernetes can't handle anything else using the same config
directory, and doesn't have a method of choosing which cni.
2021-06-19 13:09:49 +02:00
Anders F Björklund 386561f694 Upgrade podman to 3.1.2 2021-06-19 09:52:21 +02:00
Andriy Dzikh 02b996e011 Redefine addon asset in terms of embed.FS. 2021-06-16 09:59:39 -07:00
minikube-bot ed65761187 Update releases.json to include v1.21.0 2021-06-11 08:57:50 -07:00
Ilya Zuyev 6dfbd6feea Use KillMode=mixed for iso containerd 2021-06-10 19:21:51 -07:00
Medya Ghazizadeh a2db6a95b2
Merge pull request #11572 from JacekDuszenko/move-ingress-dns-docs-to-site
doc: Move ingress dns docs to site
2021-06-10 15:32:55 -04:00
Andriy Dzikh b723c28032 Modify MetricsServer to use v1 api version (instead of v1beta). 2021-06-04 11:42:46 -07:00
JacekDuszenko a8fe445fac move ingress dns docs to site 2021-06-03 03:57:51 +01:00
minikube-bot 121cacc5b7 Update releases-beta.json to include v1.21.0-beta.0 2021-06-02 18:16:55 -07:00
Sharif Elgamal a823439257 allow pods to be refreshed 2021-05-25 13:43:25 -07:00
Medya Gh 0068f92327 add port to addons templates 2021-05-17 18:50:12 -07:00
Medya Gh 45fca194af add apiserver ip to autopause proxy 2021-05-17 18:50:12 -07: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
minikube-bot ec6bf3f52b Update releases.json to include v1.20.0 2021-05-06 14:46:05 -07:00
Medya Ghazizadeh ce01c06fef
Merge pull request #11251 from azhao155/yzhao/feature/prowTestImage
Add minikube prow testing docker image
2021-05-03 18:39:47 -07:00
Tomas Kral 08cb1c1455 olm addon: update OLM to 0.17.0 2021-05-03 13:17:49 -07:00
Yanshu c21000df36 Fix comment 2021-05-02 17:51:57 +00:00
Yanshu b2240d1f9e Fix header file 2021-05-02 17:36:13 +00:00
Yanshu 6695306b2d Add minikube prow testing docker image 2021-05-02 08:59:28 +00:00
Ilya Zuyev 997f4dd128 fix deploy/minikube/releases-beta.json 2021-04-30 16:41:45 -07:00
minikube-bot f9aaba64c7 Update releases-beta.json to include v1.20.0-beta.0 2021-04-30 16:39:03 -07:00
Medya Ghazizadeh ac2b98d744
Merge pull request #11169 from spowelljr/addBetaNotifications
Add opt-in notifications for beta releases
2021-04-29 14:03:59 -07:00
Medya Ghazizadeh b31da8d335
Merge pull request #11189 from govargo/fix-ingress-addon
[Ingress Addon] Fix bug which the networking.k8s.io/v1 ingress is always rejected
2021-04-25 14:42:37 -07:00
Medya Ghazizadeh 8ce6326186
Merge pull request #11054 from afbjorklund/iso-os-update
Upgrade buildroot minor version
2021-04-24 21:10:51 -07:00
Medya Ghazizadeh 30d659c635
Merge pull request #11055 from afbjorklund/kic-os-update
Update kicbase base image
2021-04-24 21:09:32 -07:00
Kent Iso cc9afff3ce Fix bug which the networking.k8s.io/v1 ingress is always rejected by ValidatingWebhookConfiguration 2021-04-25 06:35:49 +09:00
Anders F Björklund b0414fc53f Add host-python dependency for htop package 2021-04-24 20:11:36 +02:00
Anders F Björklund e746eb8a2c Upgrade buildroot minor version 2021-04-23 08:13:50 +02:00
Steven Powell 29745438da add opt-in notifications for beta releases 2021-04-22 14:35:19 -07:00
Anders F Björklund b58076452e Upgrade Docker, from 20.10.5 to 20.10.6
And containerd from 1.4.3 to 1.4.4 as well
2021-04-20 07:41:58 +02:00
Anders F Björklund c9618b8ff6 Upgrade Docker, from 20.10.4 to 20.10.5 2021-04-20 07:41:58 +02:00
Anders F Björklund 5451ad8705 Upgrade crio to 1.20.2 2021-04-16 08:09:45 +02:00
Anders F Björklund f9cfa45c60 Update kicbase base image and sync with kind 2021-04-10 09:51:07 +02:00
minikube-bot 2570932a25 Update releases.json to include v1.19.0 2021-04-09 17:32:04 -07:00
ilya-zuyev 65d9910488
Revert "change crio-bin checksum since it changed upstream" 2021-04-09 14:36:00 -07:00
Medya Gh 1cda7d41ef change location of auto-pause binary 2021-04-08 09:56:36 -07:00
Sharif Elgamal 42f6cd4079
Merge pull request #10648 from afbjorklund/buildkit-0.8.2
BuildKit 0.8.2
2021-04-05 11:39:17 -07:00
Sharif Elgamal 6786da83f3
Merge pull request #10217 from pkalever/nbd-iso
iso: enable Network Block Device support
2021-04-02 11:43:10 -07:00
Sharif Elgamal 0beb0b91d7 change crio-bin checksum since it changed upstream 2021-04-01 13:55:52 -07:00
Medya Ghazizadeh 660cc42e88
Merge pull request #10823 from azhao155/yzhao/feature/auto-hook
Add auto-pause webhook to inject env into pods for redirecting in-cluster kubectl request to reverse proxy of api server.
2021-03-29 09:53:14 -07:00
Medya Ghazizadeh 725bef70d3
Merge pull request #10941 from lilongfeng0902/minikube-lilf
docs: spelling
2021-03-29 09:23:45 -07:00
Kent Iso 26dac162b8 bump metrics-server to v0.4.2 2021-03-29 23:32:08 +09:00
李龙峰 ab8b66abaa seperated change to separated 2021-03-29 09:53:50 +08:00
李龙峰 5fa71bc721 additonal change to additional 2021-03-29 09:51:57 +08:00
李龙峰 134909abd5 recieve to receive 2021-03-29 09:48:34 +08:00
Sharif Elgamal 700ff6a785
Merge pull request #10853 from sharifelgamal/gcr-auth
create registry credentials when gcp-auth addon is enabled
2021-03-25 12:49:29 -07:00
ilya-zuyev 9136127de6
Merge pull request #10774 from ilya-zuyev/ilyaz/arm64_integration_tests
run arm64 integration tests on jenkins
2021-03-24 13:49:11 -07:00
Prasanna Kumar Kalever 25c6ceb583 iso: enable Network Block Device support
Having NBD module support would enable some of the CSI projects to utilize
the NBD based persistent volume requests validation in their automated
testing suites.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-03-24 11:53:58 +05:30
Sharif Elgamal afccdd2acc Merge branch 'master' of github.com:kubernetes/minikube into gcr-auth 2021-03-23 16:19:37 -07:00
Medya Ghazizadeh d1341ceded
Merge pull request #10647 from afbjorklund/docker-20.10.4
ISO Upgrade Docker, from 20.10.3 to 20.10.4
2021-03-23 10:08:00 -07:00
Yanshu Zhao 9ea99ae129 Add skip into label object of web hook, clean up code 2021-03-23 07:03:42 +00:00
Medya Ghazizadeh 38ed70aa32
Merge pull request #10798 from govargo/csi-hostpath-v1.6.0
Upgrade csi-hostpath-driver addon to v1.6.0
2021-03-23 00:01:29 -07:00
Ilya Zuyev d6572d87a2 Merge branch 'master' into ilyaz/arm64_integration_tests 2021-03-19 14:04:24 -07:00
Ilya Zuyev 275f743e9f support arch in downloadURL 2021-03-19 13:55:11 -07:00
Kent Iso fb216ddc93 Upgrade ingress addon files according to upstream(ingress-nginx v0.44.0) 2021-03-20 04:07:21 +09:00
Kent Iso 788e910073 Upgrade csi-hostpath addon to v1.6.0 2021-03-19 21:48:48 +09:00
Sharif Elgamal bcd8867df1 switch gcp-auth pull policy back to ifnotpresent 2021-03-18 23:20:39 -07:00
Sharif Elgamal 419db8861f remove namespace mutator 2021-03-18 16:20:49 -07:00
Sharif Elgamal da1477f3f8 delete secret on disable 2021-03-17 13:39:55 -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
Anders F Björklund f8bc4a61ea Upgrade runc from v1.0.0-rc92 to v1.0.0-rc93 2021-03-17 20:01:55 +01:00
Anders F Björklund c3ac4f28b1 Upgrade Docker, from 20.10.3 to 20.10.4 2021-03-17 20:01:55 +01:00
Yanshu Zhao 107331275c Add template for reverse proxy ip 2021-03-17 18:52:55 +00:00
Yanshu Zhao 74209abc2c add auto-pause hook deployment template to auto-pause add on 2021-03-15 06:29:23 +00:00
Yanshu Zhao 91f9bd6ef9 Add webhook to inject env to redirect inner cluster requests to haproxy
in auto-pause
2021-03-15 05:56:44 +00:00
Niels de Vos 631e45a441 install losetup from util-linux in the ISO
The losetup tool is used by Kubernetes to setup BlockMode volumes.
BusyBox provides a version, but it does not have the `-j` option.
2021-03-09 08:34:56 +01:00
Medya Ghazizadeh 1beaaf2862
Merge pull request #10654 from govargo/bump-volumesnapshot-v1
Upgrade VolumeSnapshot to GA(v1)
2021-03-05 20:41:30 -08:00
Medya Ghazizadeh 6072d12b7d
Revert "pause: bump to newest image v3.4.1" 2021-03-05 11:43:53 -08:00
Medya Ghazizadeh 3d27f0f4ad
Merge pull request #10666 from prezha/pause-bump-to-v3.4.1
pause: bump to newest image v3.4.1
2021-03-04 15:13:47 -08:00
minikube-bot 84d1c65269 Update releases.json to include v1.18.1 2021-03-04 12:27:03 -08:00
Kent Iso 5a9e5fecf2 Upgrade VolumeSnapshot to GA(v1) 2021-03-04 00:02:27 +09:00
minikube-bot 676af4ff47 Update releases.json to include v1.18.0 2021-03-01 16:17:48 -08:00
Predrag Rogic 50a1d239b1
pause: bump to newest image v3.4.1 2021-03-01 16:41:29 +00:00
Medya Gh 73772286eb address review comments 2021-02-24 13:07:25 -08:00
Medya Gh 7f3b2c2a7b addres review comments 2021-02-24 12:48:39 -08:00
Medya Gh 8a652887ef add helpers to enable disable autopause 2021-02-24 12:30:06 -08: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
Medya Gh 8739e20fef update addon name 2021-02-24 12:30:06 -08:00