Commit Graph

2804 Commits (054c515c219ddbcf5cff983a4332b784b8231ce7)

Author SHA1 Message Date
Carlos Santana 2f0e883e60 make options command discoverable in minikube help 2021-10-14 13:15:06 -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
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