Commit Graph

6635 Commits (1fa344467265288dc40b94de5e56a1cd348d0e6f)

Author SHA1 Message Date
Sharif Elgamal cf5a1470d6
Merge pull request #13666 from minikube-bot/iso-release-v1.25.2
Update ISO to v1.25.2
2022-02-23 14:48:19 -08:00
minikube-bot 4046a967b9 Update kicbase to v0.0.30 2022-02-23 19:46:44 +00:00
minikube-bot 73e5b9e51a Update ISO to v1.25.2 2022-02-23 19:45:39 +00:00
Filip Nikolic e0287dfe0f implement code review 2022-02-17 21:31:49 +01:00
Filip Nikolic dc9ef26641 add tests for diskused and diskavailable 2022-02-17 21:31:49 +01:00
Filip Nikolic 5d4e161326 skip disk space check if force is being used 2022-02-17 21:31:49 +01:00
Filip Nikolic ccca8afde9 add available disk space check 2022-02-17 21:31:49 +01:00
minikube-bot 276d7287f3 Updating ISO to v1.25.0-1645046644-13612 2022-02-16 22:43:35 +00:00
klaases 1be70185bd Update KVM2 configuration for UEFI 2022-02-16 21:03:30 +00:00
Nikhil Sharma d9c07c7079 Added Get-CimInstance with deprecated Get-Wmiobject to detect Hyper-V availability 2022-02-12 14:00:50 +05:30
Medya Ghazizadeh d11e45aa86
Merge pull request #13539 from sharifelgamal/arch-binary
add arch to binary and image cache paths
2022-02-10 12:06:23 -08:00
Medya Ghazizadeh d6120f131e
Merge pull request #13367 from ckannon/master
Adds 'minikube service --all' feature to allow forwarding all services in a namespace
2022-02-09 12:24:54 -08:00
Medya Ghazizadeh e6020b5646
Merge pull request #13515 from chungjin/dep_upgrade/trace
[deps] upgrade go.opentelemetry.io/otel to v1.3.0
2022-02-09 08:56:25 -08:00
ckannon c8d846d6c1 minikube #13075 adds --all feature for service 2022-02-09 10:12:01 -05:00
Steven Powell 5a40034d1e
Merge pull request #13531 from spowelljr/fixSettingCrioConfig
crio: use drop in configuration files
2022-02-08 14:52:27 -08:00
minikube-bot c9290bd8c0 Updating kicbase image to v0.0.29-1644344181-13531 2022-02-08 19:53:09 +00:00
minikube-bot 7e321c63a2 Updating ISO to v1.25.0-1644344644-13531 2022-02-08 19:32:14 +00:00
Steven Powell 921816747a use drop in configuration files for crio 2022-02-08 10:11:36 -08:00
Steven Powell 2ee3733a1c
Merge pull request #13100 from balalnx16/log_vbox_version
log the virtualbox version in minikube start logs
2022-02-07 17:17:41 -08:00
Medya Ghazizadeh 8f41ad572a
Merge pull request #13547 from spowelljr/updateNotifyStructure
Update notify package to support `releases-v2.json`
2022-02-07 16:35:07 -08:00
Sharif Elgamal a1e273e1ee Merge branch 'master' of github.com:kubernetes/minikube into arch-binary 2022-02-07 15:35:33 -08:00
Sharif Elgamal 6189742a25
Merge pull request #13439 from prezha/fix-ingress-multinode
fix ingress (also for multinode clusters)
2022-02-07 14:04:13 -08:00
Sharif Elgamal 70d5d112d2 add more phrases to translations exclude list 2022-02-07 13:04:09 -08:00
minikube-bot d696170374 Updating kicbase image to v0.0.29-1644071658-13563 2022-02-05 16:09:05 +00:00
minikube-bot c81d206345 Updating ISO to v1.25.0-1644071583-13563 2022-02-05 15:42:32 +00:00
Sharif Elgamal 5e54044127
Merge pull request #13354 from nishipy/issue-11627
Add exit message for too new Kubernetes version
2022-02-03 15:19:38 -08:00
Medya Ghazizadeh f8ce51515c
Merge pull request #13517 from minikube-bot/auto_bump_k8s_versions
Bump Kubernetes version default: v1.23.3 and latest: v1.23.4-rc.0
2022-02-03 13:17:27 -08:00
Sharif Elgamal 4cc5dd0dce
Merge pull request #13191 from afbjorklund/cri-dockerd-bin
ISO: Add packaging for cri-dockerd
2022-02-03 11:30:13 -08:00
Steven Powell d37359cf67 update tests 2022-02-03 11:27:37 -08:00
Sharif Elgamal 3a923b245e
Merge pull request #13302 from afbjorklund/cri-dockerd-rel
KIC: Upgrade cri-dockerd
2022-02-03 11:23:27 -08:00
Sharif Elgamal f74ea169b2 add arch to iso cache path, fix download only tests 2022-02-03 10:29:13 -08:00
Sharif Elgamal 89213faa34 Merge branch 'arch-binary' of github.com:sharifelgamal/minikube into arch-binary 2022-02-03 09:59:44 -08:00
Sharif Elgamal 25b7614f90 Merge branch 'master' of github.com:kubernetes/minikube into arch-binary 2022-02-03 09:57:59 -08:00
Sharif Elgamal 423b816311
Merge pull request #13251 from afbjorklund/default-runtime
Make the default container runtime dynamic
2022-02-02 18:02:05 -08:00
Steven Powell d01c77d816 update notify package to support releases-v2.json 2022-02-02 16:39:57 -08:00
Sharif Elgamal 5635ca7212
Update pkg/minikube/detect/detect.go
Co-authored-by: Medya Ghazizadeh <medyagh@users.noreply.github.com>
2022-02-02 16:12:20 -08:00
Steven Powell b75d17c509
Merge pull request #13541 from spowelljr/supportLegacyReleases
Support legacy releases.json file
2022-02-02 16:09:29 -08:00
Steven Powell 126add0ccc
Merge pull request #13538 from spowelljr/allowKubeProxySkip
kubeadm: allow skipping kube-proxy addon on restart
2022-02-02 16:05:30 -08:00
Medya Ghazizadeh 969b5cddf1
Merge pull request #13520 from minikube-bot/auto_bump_golint_version
bump golint version to v1.44.0
2022-02-02 15:57:24 -08:00
Steven Powell 1b10eb02d9 updated release script to push v2 releases files 2022-02-02 12:31:07 -08:00
minikube-bot 429347e99c Updating kicbase image to v0.0.29-1643823806-13302 2022-02-02 19:23:02 +00:00
minikube-bot 89ec289ec7 Updating ISO to v1.25.0-1643824279-13191 2022-02-02 18:55:16 +00:00
Sharif Elgamal 9d76d0cab2 add arch to image and kicbase cache path 2022-02-01 14:56:28 -08:00
Steven Powell 5736749832 allow skipping kubeadm kube-proxy addon on restart 2022-02-01 13:49:08 -08:00
Steven Powell 48065d9090
Merge pull request #13506 from spowelljr/revertKubeadmDelete
Revert "Delete and init kubeadm on subsequent starts"
2022-02-01 13:40:25 -08:00
Medya Gh c24818d9b7 lint 2022-02-01 13:21:53 -08:00
Sharif Elgamal 634b8030f9 Merge branch 'master' of github.com:kubernetes/minikube into anders-default-runtime 2022-02-01 12:59:09 -08:00
Sharif Elgamal fc6efd9083 add arch to binary cache path 2022-02-01 12:57:41 -08:00
Sharif Elgamal 2cbe070b94
Merge pull request #13482 from anoopcs9/libvirt-use-src-arp
drivers/kvm: Use ARP for retrieving interface ip addresses
2022-02-01 09:26:03 -08:00
Sharif Elgamal 74452b5802
Merge pull request #13521 from presztak/update_istio_addon_yaml
Update istio addon YAML
2022-01-31 17:23:33 -08:00
Sharif Elgamal 034f55696d
Merge pull request #13326 from gAmUssA/addons/kong
[Addon] Kong Ingress Controller
2022-01-31 17:15:54 -08:00
Medya Gh 8c6f9f64c7 lint 2022-01-31 15:18:04 -08:00
Piotr Resztak 3799866c13 update istio addon 2022-01-31 18:30:27 +01:00
minikube-bot b65b7badea bump default/newest kubernetes versions 2022-01-31 08:02:50 +00:00
Jin Zhang cb8577f4be [deps] upgrade go.opentelemetry.io/otel to v1.3.0 2022-01-30 08:12:15 +00:00
Anoop C S 061fd88d2e drivers/kvm: Use ARP for retrieving interface ip addresses
On platforms where dhcp lease status is not updated immediately after
domain creation it fails to list ip addresses until next refresh
happens resulting in the following error:

8<----------8<----------8<----------8<----------8<----------8<----------

Creating kvm2 VM (CPUs=2, Memory=4096MB, Disk=20480MB) ...
Failed to start kvm2 VM. Running "minikube delete" may fix it: creating
  host: create: Error creating machine: Error in driver during machine
  creation: IP not available after waiting: machine minikube didn't
  return IP after 1 minute

Exiting due to GUEST_PROVISION: Failed to start host: creating host:
  create: Error creating machine: Error in driver during machine
  creation: IP not available after waiting: machine minikube didn't
  return IP after 1 minute

8<----------8<----------8<----------8<----------8<----------8<----------

Using ARP instead of LEASE for ip address query is justifiable as
listing is done following the domain creation. In case of failure we
fallback to listing via LEASE source.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2022-01-29 09:57:56 +05:30
Steven Powell c5b1c56f57
Merge pull request #12835 from presztak/remove_kicbase_image_info
Print a message about preserving kicbase image when `minkube delete --purge --all` used
2022-01-27 21:23:27 -08:00
Steven Powell e922055714 revert "Delete and init kubeadm on subsequent starts" 2022-01-27 14:02:53 -08:00
Sharif Elgamal 131dad7403
Merge pull request #13368 from chungjin/kubeadm
[Kubeadm] add kubeadm v1beta3 template for k8s version 1.23.0
2022-01-25 13:44:32 -08:00
Steven Powell fa5f67cc95
Merge pull request #13340 from spowelljr/addDisableOptimization
Add `--disable-optimizations` flag
2022-01-24 18:51:42 -08:00
Medya Ghazizadeh 662b99f7ac
Merge pull request #13419 from klaases/url1
Fix bug in AUX Driver Download URL for ARM64
2022-01-24 16:55:13 -08:00
Steven Powell 7274cbb1ed
Merge pull request #13353 from spowelljr/uploadPreload
Change file path for preload tar files to be organized by version
2022-01-24 16:44:24 -08:00
Steven Powell 85ce840b33 bump preload 2022-01-24 16:32:56 -08:00
Medya Ghazizadeh 62bc75e058
Merge pull request #13442 from afbjorklund/nokube-runtimes
configure container runtimes for clusters without Kubernetes too
2022-01-24 16:22:42 -08:00
Medya Ghazizadeh cd7e7a581a
Merge pull request #13446 from minikube-bot/auto_bump_k8s_versions
Bump Kubernetes version default: v1.23.2 and latest: v1.23.3-rc.0
2022-01-24 16:13:46 -08:00
Jin Zhang 71b95bc508 address comments 2022-01-25 00:12:41 +00:00
Medya Ghazizadeh 572e29e74d
Merge pull request #13440 from prezha/upgrade-libvirt
upgrade libvirt to "8th gen"
2022-01-24 16:10:44 -08:00
Medya Ghazizadeh 3ae97a1425
Merge pull request #13349 from spowelljr/ignoreKubeImages
Ignore adding kube images to kubeadm constants file
2022-01-24 15:42:04 -08:00
minikube-bot 95a7f66655 bump default/newest kubernetes versions 2022-01-24 08:03:15 +00:00
Anders F Björklund b1d880e134 Make sure to always configure runtimes
Was missing to set up the container runtime (CRI) properly,
when running minikube without kubernetes (--no-kubernetes)
2022-01-23 16:25:38 +01:00
Predrag Rogic a23f8381f7
upgrade-libvirt to 8th gen 2022-01-23 02:58:49 +00:00
Predrag Rogic 422b43ece4
fix ingress for multinode 2022-01-22 23:23:58 +00:00
klaases 8a97e2ee54 Fix bug in github download URL. 2022-01-20 16:13:19 -08:00
Jin Zhang 89700e124f Merge branch 'master' of https://github.com/kubernetes/minikube into kubeadm 2022-01-20 23:57:02 +00:00
Sharif Elgamal 8c3a3537c0 remove reference to nonexistent file for hyperkit driver 2022-01-20 15:03:00 -08:00
nishipy c3ca1a4555 Add "K8S_NEW_UNSUPPORTED" to exit reason 2022-01-20 01:13:29 +09:00
Steven Powell 553c567e5a
Merge pull request #13386 from minikube-bot/kicbase-release-v0.0.29
Update kicbase to v0.0.29
2022-01-18 13:39:54 -08:00
minikube-bot bfd94658fb Update kicbase to v0.0.29 2022-01-18 21:29:55 +00:00
minikube-bot 40095bb0c2 Update ISO to v1.25.0 2022-01-18 21:28:34 +00:00
Jin Zhang 008693ee30 [bootstraper/template] update kubeadm v1beta3 testdata 2022-01-18 19:58:04 +00:00
Jin Zhang e6fa387494 [bootstraper/template] support kubeadm v1beta3 2022-01-18 19:57:59 +00:00
Viktor Gamov 88d15c2ae6 replaced hardcoded images with template (inc. chekcsum for image) 2022-01-18 10:12:42 -05:00
nishipy 7aafb2ddce Add exit message for too new Kubernetes version 2022-01-15 11:18:34 -05:00
Steven Powell 08c6981144 use structured preload storage 2022-01-14 16:32:10 -08:00
minikube-bot dd2a7ae9d2 update constants file 2022-01-13 23:06:15 +00:00
Steven Powell 4cd3abfcde add disable-optimizations flag 2022-01-12 13:50:38 -08:00
Medya Ghazizadeh 8162162f6c
Merge pull request #12804 from presztak/kube_binaries_mirror
New flag "--binary-mirror" to override mirror URL downloading (kubectl, kubelet, & kubeadm)
2022-01-12 13:34:37 -08:00
minikube-bot f3970c4762 update image constants for kubeadm images 2022-01-12 19:48:39 +00:00
Medya Ghazizadeh 4321c79d20
Merge pull request #13328 from spowelljr/removeGlobalInterval
Remove deprecated global-housekeeping-interval flag
2022-01-12 10:42:27 -08:00
Piotr Resztak 4a2c97f28a ability to set a mirror for downloading kubectl, kubelet, & kubeadm 2022-01-12 17:43:33 +01:00
Piotr Resztak 1d857e11de add binary-mirror flag to start cmd 2022-01-12 17:43:33 +01:00
Steven Powell a46f5f7da5 remove deprecated global-housekeeping-interval flag 2022-01-11 14:06:30 -08:00
Medya Ghazizadeh 254af36ef2
Merge pull request #12102 from afbjorklund/cri-dockerd
Use cri-dockerd instead of dockershim where needed
2022-01-11 14:03:36 -08:00
Viktor Gamov ef0049137d Initial commit for kong Ingress controller addon 2022-01-11 13:35:29 -05:00
Steven Powell 5fdd9a62d5
Merge pull request #13264 from NikhilSharmaWe/output
Improved the output in minikube github action
2022-01-06 10:12:12 -08:00
Nikhil Sharma d2b87aa6fd Improved the output in minikube github action 2022-01-06 23:26:54 +05:30
Steven Powell e3b7887d7c add for port forwarding as well 2022-01-05 15:09:05 -08:00
Anders F Björklund 87249ab9ab The cri-dockerd socket path changed in 0.2.0 2022-01-05 23:03:04 +01:00
Anders F Björklund bd09b127d4 Merge branch 'master' into cri-dockerd 2022-01-05 23:01:33 +01:00
Steven Powell 807c056ea7 replace return value with nil 2022-01-05 13:33:56 -08:00
Steven Powell 58c44f3fff support DOCKER_HOST not being numeric IP 2022-01-05 11:04:39 -08:00
Anders F Björklund c4800a6115 Make the default container runtime dynamic
Since the dockershim removal, there is no longer a constant
default container runtime provided by upstream. Only CRI.
2022-01-04 15:03:57 +01:00
Steven Powell b1a39269f3
Merge pull request #13189 from spowelljr/cadvisorFlags
Add longer default kubelet housekeeping intervals
2021-12-28 10:11:52 -08:00
Anders F Björklund 2a26cdc1d4 Merge branch 'master' into cri-dockerd 2021-12-28 09:40:03 +01:00
Medya Ghazizadeh b2fcd0a729
Merge pull request #13227 from afbjorklund/cri-dockerd-kic
KIC: Add building of cri-dockerd
2021-12-24 08:20:04 -08:00
Medya Ghazizadeh c2986b1e17
Merge pull request #13195 from afbjorklund/docker-20.10.12
ISO: Upgrade Docker, from 20.10.8 to 20.10.12 and containerd to v1.4.12
2021-12-23 12:49:16 -08:00
Steven Powell b6e2ee2128
Merge pull request #12996 from presztak/listimages_formats
Add format flag to the `image ls` command
2021-12-23 12:31:59 -08:00
minikube-bot ea790372c8 Updating ISO to v1.24.0-1640253061-13195 2021-12-23 11:04:07 +00:00
Sharif Elgamal cab934e81f
Merge pull request #13123 from klaases/boot1
Bootloader ISO EFI Support
2021-12-22 16:45:09 -08:00
minikube-bot 2bd63b55aa Updating kicbase image to v0.0.28-1640212998-13227 2021-12-23 00:19:12 +00:00
Medya Ghazizadeh 3199596228
Merge pull request #13223 from spowelljr/outputStderrToFile
Fix TestFunctional/serial/LogsFileCmd test failure
2021-12-22 15:33:47 -08:00
klaases 036b5379ff Fix Makefile ISO_VERSION and isoBucket references. 2021-12-22 14:46:48 -08:00
Sharif Elgamal 4f4eca8fd7
Merge pull request #13205 from sharifelgamal/olm
Fix OLM addon by pinning to correct versions of images
2021-12-22 11:25:38 -08:00
Medya Ghazizadeh d52158dcd1
Merge pull request #13144 from spowelljr/noK8sMount
Support mounting with the --no-kubernetes flag
2021-12-21 21:38:36 -08:00
Piotr Resztak 508e20e0f6 support different formats for 'image ls' command 2021-12-22 00:57:41 +01:00
Sharif Elgamal 06fe4a9e1c forever changing sha 2021-12-21 15:48:58 -08:00
Steven Powell bb60240112 fix TestFunctional/serial/LogsFileCmd test failure 2021-12-21 14:35:32 -08:00
Sharif Elgamal 984f3d3622
Merge pull request #13185 from sharifelgamal/gcp-auth-0.0.8
update gcp-auth-webhook image to v0.0.8
2021-12-21 13:51:44 -08:00
Steven Powell 71394a4b27 fix typo 2021-12-21 13:31:43 -08:00
Sharif Elgamal 070a8c5434 pin to correct community operator image 2021-12-21 11:19:35 -08:00
klaases 035151df62
Merge branch 'master' into boot1 2021-12-20 15:03:19 -08:00
Medya Ghazizadeh 8a6bf689e5
Merge pull request #13173 from prezha/fix-ingress-v1.19
fix ingress for k8s v1.19
2021-12-20 14:17:51 -08:00
Sharif Elgamal fa381a542d Fix OLM addon by pinning to correct versions of images 2021-12-20 13:38:14 -08:00
Steven Powell 2c324b7228 skip mounting on KIC 2021-12-20 11:28:04 -08:00
Steven Powell bc56e52f56 support mounting with the --no-kubernetes flag 2021-12-20 11:26:39 -08:00
minikube-bot 18867ca526 bump default/newest kubernetes versions 2021-12-20 08:03:30 +00:00
Steven Powell f90ddace46 updated ExtraOption tests 2021-12-16 17:53:20 -08:00
Steven Powell bb7a81fbcd add longer default kubelet housekeeping intervals 2021-12-16 16:58:01 -08:00
Sharif Elgamal 94d0d9add4 update gcp-auth-webhook image to v0.0.8 2021-12-16 15:36:19 -08:00
klaases 2c712452f8 Merge branch 'master' of github.com:kubernetes/minikube into boot1 2021-12-16 14:48:49 -08:00
Steven Powell e43ead0043 add quote to Windows env 2021-12-16 10:02:59 -08:00
Steven Powell 9200267c04
Merge pull request #13168 from spowelljr/supressDockerPerformance
Added env to suppress Docker performance messages
2021-12-15 16:41:28 -08:00
Steven Powell 5a66196a20 update message 2021-12-15 15:58:00 -08:00
Sharif Elgamal a0d4d429e4
Merge pull request #13174 from sharifelgamal/addon-cleanup
cleanup addons documentation and image sources
2021-12-15 14:43:37 -08:00
Steven Powell 1d433725c2
Merge pull request #13121 from spowelljr/fixSecondStart
Delete and init kubeadm on subsequent starts
2021-12-15 14:28:48 -08:00
Sharif Elgamal 5de765023a
Merge pull request #13124 from sharifelgamal/kicbase-arch
fix kicbase dockerfile to allow ppc64le and armv7 archs
2021-12-15 14:08:07 -08:00
Sharif Elgamal a493b59116
Merge pull request #12892 from nickolaev/sctp_support_in_iso
Add SCTP support in the minikube ISO image
2021-12-14 16:34:11 -08:00
Sharif Elgamal 733696bdea cleanup addons documentation and image sources 2021-12-14 15:49:12 -08:00
Predrag Rogic 7fa4ce0938
rename flag 2021-12-14 23:39:16 +00:00
Predrag Rogic a2d27892f0
fix ingress for k8s v1.19 2021-12-14 23:09:12 +00:00
minikube-bot a6ef730eb7 Updating kicbase image to v0.0.28-1639515145-13124 2021-12-14 21:54:37 +00:00
Steven Powell b17834c96b added env to suppress Docker performance messages 2021-12-14 13:46:52 -08:00
Medya Gh d853ce13a1 bump preload and goimport 2021-12-14 13:27:43 -08:00
minikube-bot 40f24dc6c3 update image constants for kubeadm images 2021-12-14 21:22:40 +00:00
Balakumaran GR 104bab0ce3 log the virtualbox version in our minikube start logs 2021-12-14 15:46:14 -05:00
Sharif Elgamal b70736ab2b remove unused error code 2021-12-14 12:42:39 -08:00
Steven Powell 78aef25390 change milliseconds to seconds 2021-12-14 11:38:34 -08:00
Steven Powell 90dc83d7c3 remove comment 2021-12-14 11:16:27 -08:00
Steven Powell e91dc218fd addressed comments 2021-12-14 11:16:25 -08:00
Steven Powell 74831f7cca delete and init kubeadm on subsequent starts 2021-12-14 11:15:48 -08:00
minikube-bot 492b0b4e9a Updating ISO to v1.24.0-1639505700-12892 2021-12-14 19:10:21 +00:00
minikube-bot efe0dd71b4 Updating kicbase image to v0.0.28-1639444036-13124 2021-12-14 02:08:03 +00:00
Steven Powell 54c615bd36 remove --mode flag from mount 2021-12-13 15:32:20 -08:00
klaases 9eaf95415e Merge branch 'master' of github.com:kubernetes/minikube into boot1 2021-12-13 11:17:38 -08:00
Steven Powell bab9c6fc8c
Merge pull request #12930 from spowelljr/addMountFlags
Add all mount flags to start command
2021-12-10 15:17:10 -08:00
Steven Powell 5ddb53f57b add all mount flags to start command 2021-12-10 11:43:50 -08:00
klaases dcdef436cf Merge branch 'master' of github.com:kubernetes/minikube into boot1 2021-12-09 15:08:24 -08:00
Steven Powell 8d7a636bfe don't output Docker performance issues when user wants JSON 2021-12-09 14:38:18 -08:00
Steven Powell 9d16d24909
Revert "Refactored to remove config.ExtraOptions" 2021-12-08 13:07:33 -08:00
Sharif Elgamal a8ca32e63b filter out podman for powerpc arch 2021-12-08 11:36:56 -08:00
Steven Powell ed380db035
Merge pull request #13125 from spowelljr/refactorExtraOptions
Refactored to remove config.ExtraOptions
2021-12-08 09:48:53 -08:00
Sharif Elgamal da7020aa9c format error message EVEN BETTER 2021-12-07 16:27:50 -08:00
Steven Powell 355f431c2d refactored to remove config.ExtraOptions 2021-12-07 16:09:39 -08:00
klaases 694c9cc0ef Bootloader ISO EFI Support 2021-12-07 15:56:07 -08:00
Medya Gh e900c5bb76 replacea all references to kuberentes/cmd to third_party 2021-12-07 14:20:07 -08:00
Sharif Elgamal 78671bdec2
Merge pull request #13105 from klaases/cond1
Update containerd to v1.5.8
2021-12-07 13:29:21 -08:00
Sharif Elgamal 41546a03e5
Merge pull request #13104 from klaases/kic1
Update BUILD KIT version to latest, 0.9.3.
2021-12-07 11:02:40 -08:00
Medya Ghazizadeh cc669273f1
Merge pull request #13116 from klaases/pre1
Bump PreloadVersion const to v15
2021-12-07 10:51:55 -08:00
Medya Ghazizadeh d3a4c0b6ef
Merge pull request #13109 from minikube-bot/auto_bump_kubeadm_constants
Bump kubeadm constants for kubernetes images
2021-12-07 10:50:43 -08:00
klaases 4d706033bb Bump PreloadVersion const to v15 2021-12-07 10:35:26 -08:00
Eugene Kalinin d3f605ba4a Add ability to translate reasons 2021-12-07 18:21:34 +03:00
minikube-bot ecec24a3e4 update image constants for kubeadm images 2021-12-07 01:56:25 +00:00
Medya Ghazizadeh aa9c3809cf
Merge pull request #12084 from Srikrishnabh/master_srikrishnabh
fixes get ETCD version from kubernetes constants #11290
2021-12-06 17:35:32 -08:00
minikube-bot fc6dcf3bd7 Updating ISO to v1.24.0-1638835912-13105 2021-12-07 01:15:51 +00:00
Medya Ghazizadeh 654e2fcb41
Merge pull request #13073 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-12-06 15:34:38 -08:00
Medya Ghazizadeh 2f3fc9b24b
Merge pull request #12855 from ifplusor/fix-wait-preload
fix: check ErrInsufficientDockerStorage before preload completed
2021-12-06 15:07:43 -08:00
klaases 607c866114
Merge branch 'master' into kic1 2021-12-06 14:50:30 -08:00
minikube-bot 3e901caf92 Updating kicbase image to v0.0.28-1638824847-13104 2021-12-06 21:36:10 +00:00
Sharif Elgamal 30afddc6c1
Merge pull request #13072 from klaases/kstop1
Stop K8s if running, when '--no-kubernetes' flag used
2021-12-06 12:49:20 -08:00
minikube-bot 2578bd8bd5 bump default/newest kubernetes versions 2021-12-06 08:02:53 +00:00
Eugene Kalinin c66f557823 Fix golint warnings 2021-12-05 12:26:25 +03:00
Anders F Björklund f810fd24de Merge branch 'master' into cri-dockerd 2021-12-04 10:02:47 +01:00
Anders F Björklund f874533830 Dockershim removal was postponed until 1.24 2021-12-04 10:00:35 +01:00
Medya Ghazizadeh f1d63dfcff
Merge pull request #12990 from spowelljr/btrfsErrorMessage
Add advice if user using btrfs storage driver
2021-12-03 16:06:06 -08:00
klaases a37ea8e5c2 Add tuple to make sure we handle error properly. 2021-12-03 15:42:38 -08:00
klaases 3ac94ae5e3 Remove extra space. 2021-12-03 14:55:11 -08:00
klaases 47a280bdc7 Fix check for stopping k8s. 2021-12-03 14:15:00 -08:00
klaases f3186d07d8 Detect whether k8s needs to be stopped. 2021-12-03 12:35:34 -08:00
klaases c6fc55aa98 Refactor Start() to reduce cyclomatic complexity. 2021-12-03 11:22:58 -08:00
Steven Powell b7634e12bf
Merge pull request #13071 from spowelljr/skipMountModeMac
mount: Skip chmod-ing mounted folder on macOS
2021-12-03 09:02:20 -08:00
klaases a156f26fbb resolve linter errors 2021-12-02 15:54:31 -08:00
klaases e468a42e15
Merge branch 'master' into kstop1 2021-12-02 14:43:33 -08:00
klaases 3074132aeb Stop K8s if running, when --no-kubernetes. 2021-12-02 14:35:38 -08:00
Steven Powell 3063fb45dd skip chmod-ing mounted folder on macOS 2021-12-02 14:34:34 -08:00
Steven Powell de8bef415c remove swap file 2021-12-01 16:24:48 -08:00
Steven Powell ed91ff8334 remove unused func 2021-12-01 16:16:00 -08:00
Steven Powell 3f8e3dc3ed use oci cache to get storage driver 2021-12-01 16:15:01 -08:00
minikube-bot 846e0c4edb Updating ISO to v1.24.0-1638385553-13059 2021-12-01 20:01:11 +00:00
Steven Powell 592e2b01ca auto set LocalStorageCapacityIsolation for BTRFS 2021-11-30 14:34:57 -08:00
Medya Ghazizadeh 61984694f6
Merge pull request #13018 from spowelljr/fixMountMode
mount: Fix `--mode` not being respected
2021-11-30 12:51:26 -08:00
Medya Gh 1982860139 bump k8s lib 2021-11-29 16:46:18 -08:00
Steven Powell 006934bde5 add chmod error 2021-11-29 10:48:23 -08:00
Piotr Resztak 7b3860388c Print a message about preserving kicbase image
Print additional info about preserving kicbase image and generates
image deletion command for user when running `minikube delete`.
Message is printed only when `--purge` option is used.
2021-11-25 23:36:59 +01:00
Steven Powell ef64db3a95 fix mount mode not being respected 2021-11-23 15:59:24 -08:00
Medya Ghazizadeh d7d2bc1f00
Merge pull request #12973 from spowelljr/updateOldestVersion
Update OldestKubernetesVersion to v1.16.0
2021-11-23 10:35:08 -08:00
Medya Ghazizadeh 2237e230f4
Merge pull request #12997 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-11-22 13:50:20 -08:00
Medya Ghazizadeh 3686ba58f0
Merge pull request #11598 from daehyeok/copy_from
Support copy file from node to local host or between nodes.
2021-11-22 13:42:35 -08:00
minikube-bot 12b711e797 bump default/newest kubernetes versions 2021-11-22 08:02:49 +00:00
Steven Powell e1cecc0fa0 add advice if user using btrfs storage driver 2021-11-19 13:49:08 -08:00
Medya Gh 5d0ce59625 tests docs change name 2021-11-18 10:55:32 -08:00
Steven Powell 3c125f10e9
Merge pull request #12972 from mpuckett159/bug/fix-docker-env-typo
Fix typo in help text for minikube docker-env command
2021-11-17 13:51:52 -05:00
Steven Powell c432ea13f1 update OldestKubernetesVersion to v1.16.0 2021-11-17 12:52:09 -05:00
Marcus Puckett d831158c0c Fix typo in help text for minikube docker-env
In the help text for the `minikube docker-env` command the suggestions for setting the docker command for Windows (cmd and powershell) don't work as output because if you don't pass the `--shell` flag, it adds a line at the beginning that will cause the cmd example to fail, and doesn't specify that you need to set the flag `--shell powershell` for it to work properly. I've updated the help text to provide a command that will work as expected for both shells.
2021-11-16 22:48:55 -08:00
Sharif Elgamal cf09e50b4e iterate through arguments 2021-11-16 09:24:33 -08:00
Sharif Elgamal 558ece4a8e no need to explicitly translate title, Fmt does it for us 2021-11-15 17:03:09 -08:00
Sharif Elgamal d8ec4704e4 support functions with multiple string args 2021-11-15 16:52:39 -08:00
Sharif Elgamal ea7bc858c7 allow for fmt.Sprintf in Advice text 2021-11-15 16:31:25 -08:00
Medya Ghazizadeh 8bd28a6599
Merge pull request #12933 from klaases/go2
update suggestion messaging for --no-kubernetes
2021-11-12 12:21:14 -08:00
Medya Ghazizadeh 80b4e238cf
Merge pull request #12900 from AkihiroSuda/rootless-crio
Support CRI-O runtime with Rootless Docker driver (`--driver=docker --container-runtime=cri-o`)
2021-11-11 16:05:36 -08:00
klaases 4238bc1319 update message by runtime 2021-11-11 14:49:18 -08:00
Medya Ghazizadeh 75e2466cf9
Merge pull request #12923 from sharifelgamal/sched-ctd
fix scheduled stop test for containerd on docker driver
2021-11-11 12:45:12 -08:00
Sharif Elgamal d226d04eab fix schedule stop test for containerd on docker driver 2021-11-10 09:09:50 -08:00
Steven Powell 413d10192e
Merge pull request #12907 from spowelljr/addFileSharingError
Add error message for file sharing
2021-11-09 15:14:53 -05:00
Steven Powell 414b3ddf78
Merge pull request #12740 from spowelljr/discardUnpackedLayers
containerd preload: discard unpacked layers to reduce size
2021-11-09 14:30:15 -05:00
Steven Powell ab3f316ce6 bump preload version 2021-11-09 13:54:03 -05:00
Steven Powell 5c4e70bb26 add error message for file sharing 2021-11-09 10:58:16 -05:00
Akihiro Suda d7e728487c
Support CRI-O runtime with Rootless Docker driver
Follow-up to PR 12359 (containerd runtime with Rootless Docker driver).

Usage (needs cgroup v2):
```
dockerd-rootless-setuptool.sh install
docker context use rootless
minikube start --driver=docker --container-runtime=cri-o
```

See site/content/en/docs/drivers/includes/docker_usage.inc

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-11-09 16:09:52 +09:00
Steven Powell 69aa495d02 address lint concerns 2021-11-08 09:23:00 -05:00
srikrishnabh93@gmail.com c80793cd5d Merge branch 'master' of https://github.com/kubernetes/minikube into master_srikrishnabh 2021-11-07 00:26:40 +05:30
srikrishnabh93@gmail.com 7dd0eb0c94 fixed review comments 2021-11-07 00:25:33 +05:30
Sharif Elgamal ef9a1a3a4f
Merge pull request #12863 from medyagh/hyperkit_suggestion
update suggestion for disabling internet sharing on hyperkit
2021-11-04 15:14:01 -07:00
Medya Ghazizadeh f8c34933fd
Update pkg/minikube/reason/known_issues.go
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-04 15:07:40 -07:00
Medya Ghazizadeh bd973bba7c
Update pkg/minikube/reason/known_issues.go
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-04 15:07:33 -07:00
Medya Ghazizadeh 94c74a2f52
Merge pull request #12848 from medyagh/no_kubernetes
Add --no-kubernetes flag  to start minikube without kubernetes
2021-11-04 14:46:48 -07:00
Medya Gh 8a7f43439a improve wording 2021-11-04 14:45:50 -07:00
Medya Gh 2ec8dc516a update suggestion for disalbing internet sharing on hyperkit 2021-11-04 14:43:43 -07:00
Medya Gh f4055654a1 spell 2021-11-04 12:48:28 -07:00
Medya Gh 75e6ba6637 better translate 2021-11-04 12:35:12 -07:00
Daehyeok Mun a88aec8b46 Support copy file from node to local host or between nodes. 2021-11-03 14:49:32 -07:00
Medya Gh 5bcdba0a09 add more constants 2021-11-03 14:16:04 -07:00
Medya Gh bfdc3cfdea address review comments 2021-11-03 14:13:04 -07:00
James Yin 54be390bba fix: check err before preload 2021-11-03 15:27:15 +08:00
Medya Gh c827bf849f better name 2021-11-02 15:44:30 -07:00
Medya Gh 79f1b8c55c add --no-kubernetes flag to start minikube without kubernetes 2021-11-02 15:41:40 -07:00
Steven Powell 22969595a7 convert containerd config to v2 2021-11-02 15:18:52 -07:00
Sharif Elgamal 3342d3aa34
Merge pull request #12811 from nbusseneau/pr/fix-virtualbox-ip
virtualbox: change default `host-only-cidr`
2021-11-02 13:38:16 -07:00
Steven Powell 2de2ef09a4 discard unpacked layers 2021-11-02 13:36:50 -07:00
Nicolas Busseneau 02a43c52e2
virtualbox: change default `host-only-cidr`
We change the default `--host-only-cidr` to `192.168.59.1/24` in order
to be compatible with the new default host-only networking restrictions
implemented in VirtualBox 6.1.28.

This fixes access denied errors on `minikube start` when using
VirtualBox >= 6.1.28:

```
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp
```

More details:

VirtualBox 6.1.28 introduced new restrictions on host-only networking:
https://www.virtualbox.org/wiki/Changelog-6.1#v28

Manual: https://www.virtualbox.org/manual/ch06.html#network_hostonly

> On Linux, Mac OS X and Solaris Oracle VM VirtualBox will only allow IP
> addresses in 192.68.56.0/21 range to be assigned to host-only
> adapters. For IPv6 only link-local addresses are allowed. If other
> ranges are desired, they can be enabled by creating
> /etc/vbox/networks.conf and specifying allowed ranges there. For
> example, to allow 10.0.0.0/8 and 192.168.0.0/16 IPv4 ranges as well as
> 2001::/64 range put the following lines into /etc/vbox/networks.conf:
>
>      * 10.0.0.0/8 192.168.0.0/16
>      * 2001::/64
>
> Lines starting with the hash # are ignored. Next example allows any
> addresses, effectively disabling range control:
>
>      * 0.0.0.0/0 ::/0

These new restrictions manifest in the form of the following issue on
`minikube start` due to the default `--host-only-cidr` used by the
VirtualBox driver being `192.168.99.1/24`:

```console
😄  minikube v1.23.2 on Ubuntu 18.04
  Using the virtualbox driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
🔥  Deleting "minikube" in virtualbox ...
🤦  StartHost failed, but will try again: creating host: create: creating: Error setting up host only network on machine start: /usr/bin/VBoxManage hostonlyif ipconfig vboxnet0 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp

🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
😿  Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: creating: Error setting up host only network on machine start: /usr/bin/VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp

  Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: creating: Error setting up host only network on machine start: /usr/bin/VBoxManage hostonlyif ipconfig vboxnet1 --ip 192.168.99.1 --netmask 255.255.255.0 failed:
VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp

╭───────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                           │
│    😿  If the above advice does not help, please let us know:                             │
│    👉  https://github.com/kubernetes/minikube/issues/new/choose                           │
│                                                                                           │
│    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    │
│                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
```

While the above is the primary error, other errors will be reported if
the adapter already exists (this happens when the adapter was created
before updating to VirtualBox 6.1.28, on a version of VirtualBox without
the new restrictions). Some examples:

```
 Exiting due to IF_VBOX_NOT_VISIBLE: Failed to start host: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
```

```
  minikube is unable to connect to the VM: dial tcp 192.168.99.112:22: i/o timeout

	This is likely due to one of two reasons:

	- VPN or firewall interference
	- virtualbox network configuration issue

	Suggested workarounds:

	- Disable your local VPN or firewall software
	- Configure your local VPN or firewall to allow access to 192.168.99.112
	- Restart or reinstall virtualbox
	- Use an alternative --vm-driver
	- Use --force to override this connectivity check

  Exiting due to GUEST_PROVISION: Failed to validate network: dial tcp 192.168.99.112:22: i/o timeout
```

When switching to a valid CIDR, `minikube start` works as usual:

```console
😄  minikube v1.23.2 on Ubuntu 18.04
  Using the virtualbox driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
🐳  Preparing Kubernetes v1.22.2 on Docker 20.10.8 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🔎  Verifying Kubernetes components...
🌟  Enabled addons: storage-provisioner, default-storageclass
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
```

Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
2021-11-02 15:30:46 +01:00
minikube-bot 79766cee83 bump default/newest kubernetes versions 2021-11-01 08:03:05 +00:00
Sharif Elgamal 6bbf98d57f
Merge pull request #12794 from prezha/improve-ingress
support k8s < v1.19 & watch-ingress-without-class
2021-10-28 10:40:09 -07:00