Commit Graph

2979 Commits (910fe36c0741c449c7c614219f9f90edcc3897ef)

Author SHA1 Message Date
klaases 47a280bdc7 Fix check for stopping k8s. 2021-12-03 14:15:00 -08:00
Sergio Galvan de3799696d
add support for uppercase
Signed-off-by: Sergio Galvan <sergalma@gmail.com>
2021-12-03 22:35:09 +01:00
Sergio Galvan 9348d6a4f0
support newest for --kubernetes-version 2021-12-03 21:48:11 +01:00
klaases f3186d07d8 Detect whether k8s needs to be stopped. 2021-12-03 12:35:34 -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 c8fbd6e242 typo 2021-12-02 09:39:42 -08:00
Steven Powell 3f8e3dc3ed use oci cache to get storage driver 2021-12-01 16:15:01 -08:00
Steven Powell 592e2b01ca auto set LocalStorageCapacityIsolation for BTRFS 2021-11-30 14:34:57 -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 ee75b3c368 add support for port validation with ip 2021-11-23 10:09:14 -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
Medya Ghazizadeh 119a0f07d7
Merge pull request #12942 from klaases/go5
Exit if --kubernetes-version and --no-kubernetes are specified.
2021-11-22 10:01:21 -08:00
klaases 22bbf5f9bb Add config unset message. 2021-11-19 13:54:57 -08:00
Medya Ghazizadeh 2ab68fb50f
Merge pull request #12977 from medyagh/allflag_cache
fix flag name in cache add
2021-11-18 08:19:29 -08:00
Medya Ghazizadeh 355fe0e2bc
Merge pull request #12976 from spowelljr/outputTunnelHasStarted
Output tunnel has started message so users aren't confused if tunnel is running
2021-11-17 16:05:18 -08:00
Medya Ghazizadeh 43482ee901
Merge pull request #12952 from spowelljr/privOnlyWSL
Only check privileged ports for WSL
2021-11-17 16:03:52 -08:00
Steven Powell 3dfe2a0af9 updated message 2021-11-17 15:43:19 -08:00
Steven Powell 0059bc953f
Merge pull request #12958 from klaases/go6
ensure --memory flag is within syslimit
2021-11-17 18:37:39 -05:00
Medya Gh 64ce5460cf fix flag name in cache add 2021-11-17 15:31:55 -08:00
Steven Powell c470b8db18 output tunnel has started message so users aren't confused if tunnel is running 2021-11-17 15:22:39 -08:00
Medya Ghazizadeh 48424c5393
Merge pull request #11909 from vishjain/user/vishal/memory-leak/master
Cleanup on ticker allocations.
2021-11-17 13:23:54 -06: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
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
klaases 227efdd03a Exit if both no-kubernetes and kubernetes-version flags are used together. 2021-11-16 15:53:32 -08:00
klaases 38358b9b63 Return NoKubernetesVersion if noKubernetes is true. 2021-11-16 14:24:02 -08:00
klaases f3f5ae3474 Only check kubernetesVersion flag if noKubernetes is false. 2021-11-16 14:17:29 -08:00
Steven Powell 2a99b2f946 fix out of bound exceptions 2021-11-16 11:40:02 -05:00
klaases e22b8c0709 ensure --memory flag is within syslimit 2021-11-15 13:35:12 -08:00
Pablo Caderno 5594331882 fix: do not let users run --no-kubernetes on the none driver
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2021-11-16 07:06:37 +11:00
Steven Powell 518fd1d6fa update unit test 2021-11-15 12:16:57 -05:00
Steven Powell 81aedea0bd only check privileged ports for WSL 2021-11-15 11:49:59 -05: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 532b383f46 Add "minikube image" message. 2021-11-11 14:53:31 -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
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
Sharif Elgamal df14157e9f fix formatting 2021-11-08 17:22:51 -08:00
Sharif Elgamal 93e267c5ae Allow custom cert for ingress to be overwritten 2021-11-08 17:16:00 -08:00
Sharif Elgamal 12f3d7aff1
Merge pull request #12861 from sharifelgamal/node-add-step
register node add initial step
2021-11-04 14:54:17 -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
Sharif Elgamal 2e65c15d2b register node add initial step 2021-11-04 13:12:57 -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
Sharif Elgamal 65ed4ad45f
Merge pull request #12839 from spowelljr/addonListNotRunning
`minikube addons list` tests
2021-11-03 21:50:47 -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 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
Steven Powell f0f1819123 output empty addons objects on JSON 2021-11-03 10:12:41 -07:00
Medya Gh 79f1b8c55c add --no-kubernetes flag to start minikube without kubernetes 2021-11-02 15:41:40 -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 9dde4cb9c1
Merge pull request #12841 from Keyhoh/issue/refix-11348
fix zsh completion
2021-11-02 11:41:23 -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
Steven Powell 4c4adff43a add tests 2021-11-01 17:39:46 -07:00
Steven Powell 389ea688ff `minikube addons list` shows addons if cluster does not running 2021-11-01 12:44:44 -07:00
Medya Ghazizadeh 6f72fc9a25
Merge pull request #12578 from AliyunContainerService/aliyun-mirror
Initial support for adding Aliyun mirror for preload images and K8s release binaries
2021-10-26 13:22:30 -07:00
Medya Gh c8cb7a3c2d delete older minikube version preload files on start tup 2021-10-21 14:54:14 -07:00
Steven Powell d7decc2a8d persist mount settings after stop 2021-10-18 15:40:48 -07:00
Steven Powell c073e65c6d
Merge pull request #12716 from spowelljr/fixHyperVStop
Kill mount process before stopping nodes
2021-10-18 14:33:09 -07:00
Piotr Resztak 21d08dd0ed remove duplicated update of MinikubeISO 2021-10-16 13:34:06 +02: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
Steven Powell 645b739d88 kill mount before stopping nodes 2021-10-15 10:52:39 -07:00
Steven Powell 0fcf1eddec remove unnecessary join 2021-10-15 09:14:18 -07:00
Steven Powell 9a89855997 add backwards compatible mount-process delete 2021-10-14 16:01:59 -07:00
Steven Powell 2a489bf7e1 fix mounting on non-default profile & make mounting processes cluster independent 2021-10-14 14:44:51 -07:00
Carlos Santana 2f0e883e60 make options command discoverable in minikube help 2021-10-14 13:15:06 -04:00
Dimitris Aragiorgis 4535640b63 Support changing apiserver-ips when restarting minikube
After commit bee6815, we could not change the apiserver-ips after
initial `minikube start`. Revert to previous behavior where both
apiserver-ips and apiserver-names were taken always into account
and certs were updated accordingly.

Fixes #9818
2021-10-11 05:28:30 -04:00
KallyDev 70022d9b2e
Move from deprecated ioutil to os and io packages 2021-10-08 08:57:19 +08:00
Steven Powell 7f827f93b3
Merge pull request #11752 from RA489/fix_ui
Minikube stop - correct the number of stopped nodes
2021-10-06 12:59:18 -04:00
RA489 ce2602c157 Minikube stop - correct the number of stopped nodes 2021-10-06 09:35:34 +05:30
Steven Powell 4c6f03c376
Merge pull request #12246 from spowelljr/fixMinikubeLogsWindows
Don't error if we can't retrieve logs from a pod during `minikube logs`
2021-10-01 09:58:32 -07:00
Steven Powell a502d3e2e1
Merge pull request #12420 from Keyhoh/issue/11348
fix issue #11348 zsh completion broken
2021-09-28 18:41:58 -07:00
Keyhoh 1976f71548 fix: zsh completion broken 2021-09-29 06:21:33 +09:00
Steven Powell 25b73c79f9 add back warning output 2021-09-28 10:20:10 -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
Steven Powell f85e7db048
Merge pull request #12233 from kadern0/issue-10495
Added port validation
2021-09-27 15:56:03 -07:00
Pablo Caderno 4e1bcc06ce Fixed error exit. Added docs 2021-09-28 08:43:19 +10: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
Sharif Elgamal 4307e834df address review comments 2021-09-24 11:47:10 -07:00
Steven Powell e7723c79dd return 0 exit code if failed to get container logs 2021-09-23 13:22:31 -07:00
Sharif Elgamal 77051a35df make sure to set expiration if not in existing config 2021-09-22 11:22:08 -07:00
Sharif Elgamal 1212848649 make cert expiration configurable and add test 2021-09-21 16:17:52 -07:00
Steven Powell f21263390c add warning for ambassador addon 2021-09-14 14:01:07 -07:00
Medya Ghazizadeh 9f96701d8f
Merge pull request #12458 from minikube-bot/auto_bump_golint_version
bump golint version
2021-09-13 16:30:45 -07:00
Steven Powell 145f9fc9ab run `go fmt` 2021-09-13 11:58:43 -07:00
Sharif Elgamal 96923883e7 fixes for ingress 2021-09-09 13:47:01 -07:00
Steven Powell 3e25ee3dfe
Merge pull request #12381 from jayesh-srivastava/master
Updated version.go with crun version
2021-09-09 10:51:33 -07:00
Steven Powell 9d940e234f ask user for config values even if already set 2021-09-08 12:19:48 -07:00
Sharif Elgamal 738eb5177c
Merge pull request #12231 from sharifelgamal/gcp-cs
gcp-auth: improve flow for GCE/Cloud Shell
2021-09-01 13:20:06 -07: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
Pablo Caderno 69a5a9383c Refactored code into functions. Added tests 2021-08-31 09:16:37 +10:00
Jayesh Srivastava eb78bb7602
Update version.go 2021-08-30 23:23:30 +05:30
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
Sharif Elgamal 55c40f8220 Merge branch 'master' of github.com:kubernetes/minikube into gcp-cs 2021-08-26 13:32:10 -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 Ghazizadeh 01155b1537
Merge pull request #12319 from andriyDev/UseWSLIP
Select WSL VM IP when performing mounting
2021-08-24 10:40:32 -07:00
Predrag Rogic 6efbd1ce13
merge 2021-08-24 04:20:52 +01:00
Sharif Elgamal 42d3f3b92f Merge branch 'master' of github.com:kubernetes/minikube into gcp-cs 2021-08-23 15:40:30 -07:00
Sharif Elgamal 8470a955db error handling\! 2021-08-23 14:06:23 -07:00
Sharif Elgamal 32577cc801 Merge branch 'master' of github.com:kubernetes/minikube into cs-start-stop 2021-08-23 14:02:24 -07:00
Sharif Elgamal 4bc5cb77d1 Merge branch 'master' of github.com:sharifelgamal/minikube into gcp-cs 2021-08-23 11:11:16 -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
Sharif Elgamal fe6cbc4e42 add extra options to minikube start directly 2021-08-20 15:34:53 -07:00
Sharif Elgamal 69d5d34eeb
Merge pull request #12089 from zhan9san/feature/ingress-mac
Support Ingress on MacOS, driver docker
2021-08-20 15:16:13 -07:00
Andriy Dzikh 405235908d Fix lint. 2021-08-20 15:06:24 -07:00
Andriy Dzikh 47afdc87df Add logging message incase someone tries to debug. 2021-08-20 11:42:17 -07:00
Andriy Dzikh 2f094d117d Use WSL VM IP for mounting in WSL. 2021-08-20 11:41:44 -07:00
Jack Zhang def3f067a8 Support Ingress on MacOS, driver docker 2021-08-17 10:27:21 +08: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
Pablo Caderno 1f83aa3ac2 Added port validation 2021-08-14 15:48:56 +10: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
Anders F Björklund 5bd3f9a79c Add tests for the new docker-env output formats 2021-08-13 23:32:03 +02:00
Anders F Björklund 4f8adb6f6d Add output parameter to the docker-env none shell
Allows structured output as json and yaml, in addition to the
previous text output format. Note that keys might not be sorted.
2021-08-13 23:31:05 +02:00
Sharif Elgamal 235d7e8280 Merge branch 'master' of github.com:kubernetes/minikube into gcp-cs 2021-08-13 14:15:31 -07:00
Sharif Elgamal 371becaf73 tMerge branch 'master' of github.com:kubernetes/minikube into gcp-cs 2021-08-13 14:08:23 -07:00
Medya Ghazizadeh 0bd906077f
Revert "new `image save` command" 2021-08-13 14:06:42 -07:00
Sharif Elgamal 06ed3378b9 create special error to skip addons without erroring out 2021-08-13 13:42:02 -07:00
Medya Ghazizadeh 41ba49d597
Merge pull request #12162 from afbjorklund/image-save-cmd
Image save command
2021-08-13 13:02:58 -07:00
Medya Gh 6aa7abc24a fix lint issues on master 2021-08-12 17:38:24 -07:00
Anders F Björklund b75bf27942 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-10 09:49:23 +02:00
Anders F Björklund 2ab5c86a88 Build images on the primary control plane
Allow selecting another node using --node

Or continue build on all nodes with --all
2021-08-06 19:04:51 +02:00
Anders F Björklund 6e571d830f Show data with keys sorted instead of random 2021-08-01 10:23:46 +02:00
Anders F Björklund 4f6ee47f28 Remove extra output lines after the version
Some commands, like crio and runc, dump extra line noise
after the --version even though they have a long version.
2021-08-01 10:23:42 +02:00
Anders F Björklund 46c3797169 Show cli versions instead of daemon versions
Since the server daemon might not be running

This affects docker and containerd runtimes
2021-08-01 10:22:05 +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
Medya Ghazizadeh 3375c39c76
Merge pull request #11981 from de-sh/vb-warn
Add message to discourage the use of the virtualbox driver
2021-07-26 17:30:38 -07:00
Vishal Jain 7cda4bb986 Fix lint error. 2021-07-25 15:27:05 -07:00
Vishal Jain 5caf53c004 Cleanup ticker allocations. 2021-07-25 15:14:21 -07:00
Andriy Dzikh 36cc7e0a70 Have cluster.Mount return an error which is checked in advice.go. 2021-07-22 10:38:57 -07:00
Andriy Dzikh 49cd3840d3 Create advice for mount command timing out. 2021-07-14 15:38:04 -07:00
Andriy Dzikh 354fedb073 Add command-line argument port for mount cmd. 2021-07-14 15:00:03 -07:00
Devdutt Shenoi 0e665930e8 Add message to discourage the use of virtualbox driver 2021-07-14 15:00:22 +05:30
dmpe 0c721cbacd remove whitespace 2021-07-12 20:23:07 +02:00
dmpe a60b337237 fix an issue with hasPorts variable - further simplification 2021-07-12 20:15:21 +02:00
dmpe 6ccc6e7659 Merge branch 'master' into mytests 2021-07-12 19:57:21 +02:00
Steven Powell 961bbbe0aa
Merge pull request #11553 from zigarn/dashboard-set-port
Allow to set the dashboard proxyfied port
2021-07-12 16:53:32 +00:00
Medya Ghazizadeh cabf73ed59
Merge pull request #11800 from mahalrs/simplify-error-codes-11786
Simplify, and remove all un-used minikube error codes
2021-07-06 19:48:12 -04:00
dmpe 12f2d69259 Merge remote-tracking branch 'upstream' into mytests 2021-07-06 12:13:06 +02:00
Alexandre Garnier e63b223be9 Add dashboard port validation 2021-07-03 15:59:59 +02:00
Alexandre Garnier f76b0795d8 Allow to set the dashboard proxyfied port 2021-07-03 15:59:59 +02:00
Steven Powell f684ae4c5e
Merge pull request #11875 from mahalrs/flag-typo
Fix typo in pause command
2021-07-02 17:14:42 +00:00
Rajwinder Mahal cd1db56f87
Fix typo in unpause command 2021-07-01 22:19:37 -07:00