Commit Graph

17257 Commits (75feb083f3973671a40dcafe4e7fbf3cf2c301b4)

Author SHA1 Message Date
Sharif Elgamal 75feb083f3
Merge pull request #12864 from minikube-bot/gendocs
Update auto-generated docs and translations
2021-11-04 14:53:35 -07:00
minikube-bot fc0b50b74d Update auto-generated docs and translations 2021-11-04 21:49:01 +00: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 f4055654a1 spell 2021-11-04 12:48:28 -07:00
Medya Gh f2c743d2bc skip test on none 2021-11-04 12:36:35 -07:00
Medya Gh 75e6ba6637 better translate 2021-11-04 12:35:12 -07:00
Medya Gh 92cf41d686 do not set global viper config 2021-11-04 12:22:29 -07:00
Medya Gh a108c71ea9 remove comment 2021-11-04 11:16:27 -07:00
Medya Ghazizadeh 630e02d96b
Update cmd/minikube/cmd/start.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-04 11:10:18 -07:00
Medya Gh 6806e6980a fix integration test file name 2021-11-04 11:09:50 -07:00
Sharif Elgamal 65ed4ad45f
Merge pull request #12839 from spowelljr/addonListNotRunning
`minikube addons list` tests
2021-11-03 21:50:47 -07:00
Medya Ghazizadeh 0ef4fc54e6
Update test/integration/no_kubernetes.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-03 14:24:57 -07:00
Medya Ghazizadeh e15065ae68
Update test/integration/no_kubernetes.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-03 14:24:51 -07:00
Medya Ghazizadeh f54f95d127
Update test/integration/no_kubernetes.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-03 14:24:45 -07:00
Medya Ghazizadeh 1200c8e177
Update test/integration/no_kubernetes.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-03 14:24:38 -07:00
Medya Ghazizadeh 51e612f94a
Update test/integration/no_kubernetes.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-03 14:24:33 -07:00
Medya Ghazizadeh 47307d71af
Update test/integration/no_kubernetes.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-03 14:24:28 -07:00
Medya Ghazizadeh d3ec072193
Update test/integration/no_kubernetes.go
Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com>
2021-11-03 14:24:17 -07:00
Medya Gh 5bcdba0a09 add more constants 2021-11-03 14:16:04 -07:00
Medya Gh cd9d263b9f address review comments 2021-11-03 14:13:26 -07:00
Medya Gh bfdc3cfdea address review comments 2021-11-03 14:13:04 -07:00
Medya Gh 3d0f486d84 add integration test for --no-kubernetes 2021-11-03 14:08:01 -07:00
Medya Ghazizadeh 78dec3b851
Merge pull request #12851 from kubernetes/dependabot/go_modules/github.com/shirou/gopsutil/v3-3.21.10
Bump github.com/shirou/gopsutil/v3 from 3.21.9 to 3.21.10
2021-11-03 12:18:31 -07:00
Sharif Elgamal 946e33d91e
Merge pull request #12778 from spowelljr/removeDeprecatedFrenchTranslations
remove deprecated French translations
2021-11-03 11:46:26 -07:00
Steven Powell 210e42c3e1
Merge pull request #12808 from yosshy/japanese-translation4
Update Japanese translation (Line 800-850)
2021-11-03 11:38:16 -07:00
Steven Powell f0f1819123 output empty addons objects on JSON 2021-11-03 10:12:41 -07:00
Sharif Elgamal b75de1980a
Add Cloud Shell tests to flake rate chart list 2021-11-03 09:12:38 -07:00
dependabot[bot] a0edb0b04b
Bump github.com/shirou/gopsutil/v3 from 3.21.9 to 3.21.10
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.21.9 to 3.21.10.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.9...v3.21.10)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 00:45:05 +00:00
Medya Ghazizadeh 1e4da3c366
Merge pull request #12822 from kubernetes/dependabot/go_modules/google.golang.org/api-0.60.0
Bump google.golang.org/api from 0.59.0 to 0.60.0
2021-11-02 17:05:37 -07:00
Medya Ghazizadeh 67747c43d1
Merge pull request #12792 from medyagh/fix_cert_option_test
fix cert option test and add more internal testing
2021-11-02 16:16:01 -07:00
Sharif Elgamal 6bffbc5834
Merge pull request #12849 from sharifelgamal/preload-acl
stop setting ACLs on preload tarball
2021-11-02 16:12:47 -07:00
Sharif Elgamal 63a37d2e53 stop setting ACLs on preload tarball 2021-11-02 15:57:09 -07: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
Sharif Elgamal 4eb27c5677
Merge pull request #12847 from sharifelgamal/cloud-shell-root-job-id
propagate ROOT_JOB_ID into cloud shell tests for proper log storage
2021-11-02 15:07:20 -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
Sharif Elgamal 3a90d58d8f propagate ROOT_JOB_ID into cloud shell tests for proper log storage 2021-11-02 13:36:21 -07:00
Medya Ghazizadeh 9dde4cb9c1
Merge pull request #12841 from Keyhoh/issue/refix-11348
fix zsh completion
2021-11-02 11:41:23 -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
Keyhoh ca928b43ed fix: revert wrong fix and re-fix zsh completion 2021-11-02 22:57:43 +09:00
Sharif Elgamal 046883ee28
Merge pull request #12663 from yosshy/japanese-translation3
Update Japanese translation (Line 700-749)
2021-11-01 20:30:43 -07:00
Medya Ghazizadeh f9315c2889
Merge pull request #12838 from kubernetes/medyagh-patch-11
Add LA KubeCon Talk to presentations
2021-11-01 17:59:27 -07:00
Steven Powell 4c4adff43a add tests 2021-11-01 17:39:46 -07:00
Medya Ghazizadeh 70233ebcfa
Update _index.md 2021-11-01 16:50:51 -07:00
Medya Ghazizadeh c5733308e9
Merge pull request #12837 from spowelljr/addonListNotRunning
`minikube addons list` shows addons if cluster does not exist
2021-11-01 16:36:11 -07:00
Medya Ghazizadeh d09ff8926e
Update _index.md 2021-11-01 16:32:04 -07:00
Steven Powell 389ea688ff `minikube addons list` shows addons if cluster does not running 2021-11-01 12:44:44 -07:00
Steven Powell 0e437a9eb5
Merge pull request #12656 from t-inu/ja-translation-1
Update Japanese translation (Line 2-51)
2021-11-01 09:31:57 -07:00
minikube-bot 79766cee83 bump default/newest kubernetes versions 2021-11-01 08:03:05 +00:00