Commit Graph

1495 Commits (8c1c6295bc31882a682cec4e3e166109db2a75f4)

Author SHA1 Message Date
Medya Ghazizadeh b6fcf309a8
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:35:34 -07:00
Medya Ghazizadeh 64ef6c02dd
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:35:19 -07:00
Medya Ghazizadeh b11f039e51
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:35:12 -07:00
Medya Ghazizadeh 026d797052
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:34:58 -07:00
Medya Ghazizadeh 117f7f1c9c
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:34:35 -07:00
Medya Ghazizadeh 0c5c050448
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:34:13 -07:00
Medya Ghazizadeh 01a917772d
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:33:27 -07:00
Medya Ghazizadeh 13dbf25d4e
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:33:08 -07:00
Medya Ghazizadeh 1eb05bc18c
Update site/content/en/docs/faq/_index.md
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2021-11-05 13:32:50 -07:00
Medya Gh 887ff73ce7 change wording 2021-11-05 12:35:52 -07:00
Medya Gh 449540970c update FAQ with no-kubernetes 2021-11-05 12:25:30 -07:00
minikube-bot b3ea2d0db7 add time-to-k8s benchmark for 2021-11-05 16:43:29 +00:00
minikube-bot ee20880a9e Update releases.json to include v1.24.0 2021-11-05 09:07:16 -07:00
minikube-bot fc0b50b74d Update auto-generated docs and translations 2021-11-04 21:49:01 +00:00
Sharif Elgamal b75de1980a
Add Cloud Shell tests to flake rate chart list 2021-11-03 09:12:38 -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
Medya Ghazizadeh 83acfbb0d4
Merge pull request #12834 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-11-02 09:49:58 -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
Medya Ghazizadeh 70233ebcfa
Update _index.md 2021-11-01 16:50:51 -07:00
Medya Ghazizadeh d09ff8926e
Update _index.md 2021-11-01 16:32:04 -07:00
minikube-bot 79766cee83 bump default/newest kubernetes versions 2021-11-01 08:03:05 +00:00
minikube-bot f3ded78bca Update auto-generated docs and translations 2021-10-28 21:57:13 +00:00
Sharif Elgamal 0dc3cef938
Merge pull request #12807 from sharifelgamal/conformance-docs
update conformance test instructions in documentation
2021-10-28 13:16:22 -07:00
Steven Powell 2aa49b6295
Merge pull request #12806 from minikube-bot/iso-release-v1.24.0
Update ISO to v1.24.0
2021-10-28 09:55:13 -07:00
Sharif Elgamal eed2bf69fa update conformance test instructions in documentation 2021-10-27 18:39:05 -07:00
minikube-bot c3b8912852 Update ISO to v1.24.0 2021-10-27 23:10:38 +00:00
minikube-bot 3bc369459b Update kicbase to v0.0.28 2021-10-27 19:53:03 +00:00
Avinash Upadhyaya 503d3425e1 docs: add details about app output for /docs/start 2021-10-25 19:13:48 +05:30
Steven Powell 2c11804096 update docs 2021-10-18 15:40:48 -07:00
Michael Cade fa12f6f10a
change VMWare to VMware 2021-10-18 13:29:34 +01:00
Steven Powell 99661e64a3
Merge pull request #12711 from spowelljr/fixMount
Fix mounting on non-default profile
2021-10-15 12:57:24 -07:00
minikube-bot 054c515c21 Update auto-generated docs and translations 2021-10-14 21:55:10 +00:00
Steven Powell ad47329d17 updated docs 2021-10-14 14:49:20 -07:00
Sharif Elgamal c3a9f66a8d
Merge pull request #11590 from dinever/detailed-test-info
Add detailed info generation for integration tests
2021-10-14 11:17:23 -07:00
Sharif Elgamal 3f5ba297f4
Merge pull request #12666 from tayl0r/patch-2
Updated windows commands to reflect recent changes
2021-10-12 15:00:58 -07:00
Peixuan Ding b43f0bcd39 Add detailed info for integration tests 2021-10-11 01:00:06 -04:00
Sharif Elgamal dd3510ff65
Add hyper-v tests to flake rate charts 2021-10-07 11:24:44 -07:00
Taylor Steil 362e42bf7a
Updated windows commands to reflect recent changes
The current windows commands to setup a local registry no longer worked for me. The registry addon is setup to listen on port 80, not port 5000. It is unclear if this is a bug or intentional. If it is intentional, the changes in this PR should get this documentation up to date.

Specifically, this PR updates the port forward from 5000:5000 to 5000:80, and adds another line to make it more clear that the "registry vm" is the registry service as obtained from the list of services.
2021-10-06 13:07:06 -07:00
Steven Powell 1a4160e60d
Merge pull request #12081 from spowelljr/buildkitSocket
buildkit socket: Add systemd unit
2021-10-01 20:49:41 -04:00
minikube-bot 7b08ffe352 Updating ISO to v1.23.1-1633115168-12081 2021-10-01 20:04:30 +00:00
minikube-bot 39eb5cb53c Updating kicbase image to v0.0.27-1633027942-12081 2021-09-30 19:21:11 +00:00
Steven Powell 339e187b5a
Merge pull request #12397 from phbits/fix-psh-win-install
Update Windows Install PowerShell Commands
2021-09-28 09:22:50 -07:00
Medya Ghazizadeh 2fd09e11a8
Merge pull request #12149 from afbjorklund/build-cp
Build images on the primary control plane
2021-09-27 19:11:04 -07:00
Medya Ghazizadeh 3673edc09c
Merge pull request #11997 from KShivendu/docs-kubectl-alias
docs: Suggest using alias for minikube kubectl --
2021-09-27 17:42:24 -07:00
Anders F Björklund 4b2ff8c79a Change podman to using the VM root socket 2021-09-26 15:54:16 +02:00
Anders F Björklund a9b74bbea2 Allow running podman as experimental driver 2021-09-26 10:16:46 +02:00
minikube-bot cba41a6868 Update auto-generated docs and translations 2021-09-24 21:55:17 +00:00
minikube-bot 1e245304af Update auto-generated docs and translations 2021-09-23 19:17:52 +00:00
minikube-bot 9166757b51 Update leaderboard 2021-09-23 18:40:39 +00:00
minikube-bot 2dd9c28d27 Updating ISO to v1.23.1-1632339185-12081 2021-09-22 20:31:56 +00:00
minikube-bot ad62419baa add time-to-k8s benchmark for 2021-09-22 00:10:08 +00:00
minikube-bot 917b9e9c67 Update releases.json to include v1.23.2 2021-09-21 16:41:39 -07:00
Medya Ghazizadeh 60127fcf20
Merge pull request #12517 from minikube-bot/auto_bump_k8s_versions
bump default/newest kubernetes versions
2021-09-20 12:28:29 -07:00
Steven Powell 8ef5b46a8d
Merge pull request #12510 from lakshya8066/update-pushing.md
Update pushing.md
2021-09-20 10:36:38 -07:00
Steven Powell 5de0e584ab
Merge pull request #12495 from spowelljr/changeBusyBox
Replace BusyBox image with gcr.io image in functional tests
2021-09-20 10:34:46 -07:00
minikube-bot 4a8f4a1e28 bump default/newest kubernetes versions 2021-09-20 08:02:52 +00:00
Lakshya Gupta d5ebf3d5c3 updated order of the commands to match with the methods 2021-09-18 17:58:47 +05:30
Lakshya Gupta 2227267a17 fixed broken links 2021-09-18 16:42:54 +05:30
Steven Powell bc9edad431 add description to test 2021-09-17 15:21:02 -07:00
Sharif Elgamal a3387a09b9
Merge pull request #12505 from minikube-bot/jenkins-releases.json-v1.23.1
update releases.json to include v1.23.1
2021-09-17 14:50:12 -07:00
minikube-bot ef8bd38897 Update releases.json to include v1.23.1 2021-09-17 14:46:44 -07:00
minikube-bot 6b72f32f02 add time-to-k8s benchmark for 2021-09-17 18:42:12 +00:00
Steven Powell 90b7ebb45f
Merge pull request #12492 from minikube-bot/kicbase-release-v0.0.27
Update kicbase to v0.0.27
2021-09-16 22:44:18 -07:00
Steven Powell 65e7e54788
Merge pull request #12491 from minikube-bot/iso-release-v1.23.1
Update ISO to v1.23.1
2021-09-16 22:44:04 -07:00
minikube-bot 1976e1b296 Update kicbase to v0.0.27 2021-09-16 18:55:00 +00:00
minikube-bot f0636429fb Update ISO to v1.23.1 2021-09-16 18:00:10 +00:00
Brian de Alwis 60d611eeff
doc: be more specific as to what the gcp-auth does 2021-09-16 11:32:06 -04:00
minikube-bot d52130b292 Updating ISO to v1.23.0-1631662909-12425 2021-09-15 00:37:07 +00:00
minikube-bot 030b3837ab Updating kicbase image to v0.0.26-1631295795-12425 2021-09-14 09:50:53 -07:00
Medya Ghazizadeh e882779b24
Merge pull request #12409 from minikube-bot/addTimeToK8s
Add time-to-k8s benchmark for
2021-09-05 00:00:31 -07:00
minikube-bot aa8fe49db6 add time-to-k8s benchmark for 2021-09-03 20:37:49 +00:00
Sharif Elgamal 54adb51685 add contribution leaderboard for v1.23.0 2021-09-03 20:25:06 +00:00
minikube-bot 14e4d072a6 Update releases.json to include v1.23.0 2021-09-03 13:03:45 -07:00
minikube-bot 67b82f3fe1 Update kicbase to v0.0.26 2021-09-03 02:18:31 +00:00
minikube-bot 703324b7c7 Updating kicbase image to v0.0.25-1630631232-12398 2021-09-03 01:36:51 +00:00
phbits 27a22b9afc
Update PowerShell path updates 2021-09-02 22:57:56 +00:00
phbits 37b6b09255
update windows install using powershell 2021-09-02 22:14:25 +00:00
minikube-bot 9597ac2f89 Update ISO to v1.23.0 2021-09-02 18:39:41 +00:00
Joel Klint 3e83449bf0
Added windows instructions for adding a dns-server
Added missing instructions for Windows, regarding adding minikube ip as a dns server
2021-09-02 16:40:10 +02:00
Medya Ghazizadeh 3469c77ffa
Merge pull request #12351 from raghavendra-talur/rtalur-add-disks-kvm2
Add `--extra-disks` capability to kvm2 driver
2021-08-30 16:50:58 -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 Ghazizadeh 219580efcc
Merge pull request #12325 from prezha/fix-ingress-v1.22
Bump default Kubernetes version to v1.22.1 and update addons to with new API (ingress, gcpauth, olm and cilium)
2021-08-25 10:48:14 -07:00
Medya Ghazizadeh 527a3d920f
Merge pull request #12265 from prezha/fix-image-save-cmd
fix image save cmd
2021-08-25 10:45:08 -07:00
Raghavendra Talur dceb676527 Add extra disks capability to kvm2 driver
Having additional disks on the nodes is a requirement for developers
working on the storage components in Kubernetes. This commit adds the
extra-disks feature to the kvm2 driver.

Signed-off-by: Raghavendra Talur <raghavendra.talur@gmail.com>
2021-08-25 00:15:02 -04:00
Medya Gh 4b896270d7 address review comments 2021-08-24 11:07:40 -07:00
Predrag Rogic abd52901cf
fix ingress for k8s v1.22+ 2021-08-24 18:05:44 +01:00
Predrag Rogic 6efbd1ce13
merge 2021-08-24 04:20:52 +01:00
Medya Gh 5fad8b8f79 update docs 2021-08-23 18:43:10 -07:00
Medya Gh 41554ddbde add ci docs 2021-08-23 15:54:58 -07:00
Sharif Elgamal e7d2a518ff
Merge pull request #12329 from andriyDev/FixTypo
Fix typo in FAQ docs
2021-08-23 13:01:27 -07:00
Andriy Dzikh af957cb64d Fix typo. 2021-08-23 09:48:12 -07:00
Anders F Björklund 817f8b4b70 Add also stand-alone image push matching pull
Normally this is done as part of image build
2021-08-22 20:11:19 +02:00
Anders F Björklund 380b846715 Add stand-alone image pull and image tag commands
Needed for testing, but maybe elsewhere as well
2021-08-22 19:52:07 +02:00
Medya Ghazizadeh 2df63c00af
Merge pull request #12263 from afbjorklund/env-format
Add output parameter to the docker-env none shell
2021-08-17 00:13:55 -07: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 ab61a07f95 Make sure to use sudo for load/save docker images
Add a test for SaveImage, similar to LoadImage
2021-08-16 18:13:32 +02:00
Anders F Björklund 9e588e6ba1 Add stand-alone image pull and image tag commands
Needed for testing, but maybe elsewhere as well
2021-08-15 20:22:24 +02:00
minikube-bot d7484e41ee Updating ISO to v1.22.0-1628974786-12268 2021-08-14 22:13:14 +00:00
Anders F Björklund 68197de861
Add command to save images from the cluster
This is the opposite command of "minikube image load",
and can be used after doing a "minikube image build".

The default is to save images in the cache, but it is
also possible to save to files or to standard output.
2021-08-13 23:28:25 +01:00