Commit Graph

290 Commits (b51a8d53dd21f1422135ecdffb24401044fc46d8)

Author SHA1 Message Date
minikube-bot 697e80cc3c Updating ISO to v1.25.2-1648142972-13800 2022-03-24 18:40:10 +00:00
minikube-bot 100852bbf8 Updating kicbase image to v0.0.30-1647797120-13815 2022-03-20 19:06:44 +00:00
Steven Powell 76d97af2a0 add disable-metrics flag 2022-03-16 11:00:20 -07:00
Sharif Elgamal 654b40944d
Merge pull request #13667 from minikube-bot/kicbase-release-v0.0.30
Update kicbase to v0.0.30
2022-02-23 14:55:38 -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
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
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
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
Sharif Elgamal 3a923b245e
Merge pull request #13302 from afbjorklund/cri-dockerd-rel
KIC: Upgrade cri-dockerd
2022-02-03 11:23:27 -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 634b8030f9 Merge branch 'master' of github.com:kubernetes/minikube into anders-default-runtime 2022-02-01 12:59:09 -08:00
minikube-bot b65b7badea bump default/newest kubernetes versions 2022-01-31 08:02:50 +00:00
Steven Powell fa5f67cc95
Merge pull request #13340 from spowelljr/addDisableOptimization
Add `--disable-optimizations` flag
2022-01-24 18:51:42 -08:00
Steven Powell 398906ebd7 generate-docs 2022-01-24 17:09:11 -08:00
Steven Powell 3a4b676199 list optimizations in flag 2022-01-24 17:00:26 -08:00
minikube-bot 95a7f66655 bump default/newest kubernetes versions 2022-01-24 08:03:15 +00: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
Steven Powell 4cd3abfcde add disable-optimizations flag 2022-01-12 13:50:38 -08:00
minikube-bot ce5e693531 Update auto-generated docs and translations 2022-01-12 21:36:57 +00: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
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
minikube-bot ea790372c8 Updating ISO to v1.24.0-1640253061-13195 2021-12-23 11:04:07 +00:00
minikube-bot e7d646b2a0 Update auto-generated docs and translations 2021-12-23 00:47:15 +00:00
minikube-bot 2bd63b55aa Updating kicbase image to v0.0.28-1640212998-13227 2021-12-23 00:19:12 +00:00
minikube-bot 18867ca526 bump default/newest kubernetes versions 2021-12-20 08:03:30 +00: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
minikube-bot a6ef730eb7 Updating kicbase image to v0.0.28-1639515145-13124 2021-12-14 21:54:37 +00: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
minikube-bot 63bbbd1a52 Update auto-generated docs and translations 2021-12-10 23:19:10 +00:00
Steven Powell 9d16d24909
Revert "Refactored to remove config.ExtraOptions" 2021-12-08 13:07:33 -08:00
Steven Powell 3cd016b06f added comment and append error to message 2021-12-07 16:56:35 -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
minikube-bot fc6dcf3bd7 Updating ISO to v1.24.0-1638835912-13105 2021-12-07 01:15:51 +00:00
minikube-bot 3e901caf92 Updating kicbase image to v0.0.28-1638824847-13104 2021-12-06 21:36:10 +00:00
minikube-bot 2578bd8bd5 bump default/newest kubernetes versions 2021-12-06 08:02:53 +00:00
minikube-bot 846e0c4edb Updating ISO to v1.24.0-1638385553-13059 2021-12-01 20:01:11 +00:00
minikube-bot 12b711e797 bump default/newest kubernetes versions 2021-11-22 08:02:49 +00:00
minikube-bot fc0b50b74d Update auto-generated docs and translations 2021-11-04 21:49:01 +00: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
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