Commit Graph

2969 Commits (947ff0435bd4820c866dea27e05ed51db929bb57)

Author SHA1 Message Date
Steven Powell 58eed153fa
Merge pull request #13991 from EdwinWalela/edwin-dev
Add --audit flag to minikube logs command
2022-04-22 16:46:10 -07:00
Steven Powell fd718348cd remove setting event log path on delete 2022-04-22 11:34:14 -07:00
Medya Ghazizadeh e77e17b9ae
Merge pull request #13979 from spowelljr/deleteJSON
Add JSON output to `minikube delete`
2022-04-21 14:06:47 -07:00
Steven Powell caf8e6402e fix having flag before command cause problems 2022-04-20 15:12:20 -07:00
edwinwalela 46849037b2 add --audit flag to minikube logs command 2022-04-20 20:23:07 +03:00
Steven Powell df9b2c8541 add JSON output to delete 2022-04-18 16:52:31 -07:00
Medya Ghazizadeh 2c776978d9
Merge pull request #13856 from t-inu/issue12809
Improve description for minikube cache command
2022-04-18 15:54:40 -07:00
Toshiaki Inukai 18d20407c6 Improve description for minikube cache command 2022-04-14 10:31:54 +00:00
Medya Ghazizadeh 2b5a15fe19
Merge pull request #13957 from klaases/force1
Advise user of --force option when using root
2022-04-13 11:42:47 -07:00
Sharif Elgamal a9cf4750b0
Merge pull request #13812 from tyabu12/fix/port-validation
Fix port validation error on specifying tcp/udp or range of ports.
2022-04-13 09:01:56 -07:00
klaases d5a3fc48fd Adjust message for clarity 2022-04-12 15:26:26 -07:00
klaases 6787bcf6b2 Advise user of --force option when using root 2022-04-12 15:25:17 -07:00
Sharif Elgamal ad5c964e6b
Merge pull request #13829 from AkihiroSuda/rootless-podman-take2
Support rootless Podman driver, take 2 (Usage: `minikube config set rootless true`)
2022-04-12 11:19:30 -07:00
Akihiro Suda 92ab555928
Support rootless Podman driver, take 2
Usage:
```
minikube config set rootless true
minikube start --driver=podman --container-runtime=(cri-o|containerd)`
```

Tested on Podman 4.0.2, Ubuntu 21.10.

Needs cgroup v2 (as in Rootless Docker): https://rootlesscontaine.rs/getting-started/common/cgroup2/
See also `site/content/en/docs/drivers/includes/podman_usage.inc`

Fix issue 8719
Fix issue 12460
Replace PR 12901

Changes from PR 12901: `rootless` is now a config property.
In the previous PR, `--rootless` was implemented as a flag for `minikube start`

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-04-05 18:49:40 +09:00
Steven Powell 2e4ea3c259 replace MkdirTemp with t.TempDir in tests 2022-04-01 19:18:20 -07:00
Steven Powell 1aa1f04e9b remove old build tags 2022-03-30 16:43:29 -07:00
Sharif Elgamal 31d1fdae3b
Merge pull request #13730 from presztak/subnet_flag
Add 'subnet' flag for docker/podman driver
2022-03-30 16:02:54 -07:00
Steven Powell 37e026b149 stop testing olm and warn users about the addon 2022-03-30 10:53:11 -07:00
Steven Powell 9549bef504 don't write logs that contain environment variables 2022-03-29 11:09:11 -07:00
Steven Powell 6e73112be6 change soft to silent 2022-03-28 16:47:33 -07:00
Steven Powell 93bb522986 soft fail when user trying to generate log file if cluster not running 2022-03-28 16:44:16 -07:00
Medya Ghazizadeh aa007da3fe
Merge pull request #13805 from klaases/autop1
Improve autopause error handling
2022-03-25 11:51:16 -07:00
Tomohito YABU afb3956fdb Add comment to TestValidatePorts. 2022-03-24 09:34:04 +09:00
Tomohito YABU 1832ed6ff5 Update validatePorts function comment for goDoc. 2022-03-23 13:21:33 +09:00
klaases 5a3877cfc5 Prefer out.Styled to out.Step, revert copyright 2022-03-21 11:49:26 -07:00
Tomohito YABU 513a757ca7 Fix port validation error on specifying tcp/udp or range of ports. 2022-03-19 10:51:43 +09:00
Predrag Rogic deb5a574b6
bump golangci-lint to v1.45.0 2022-03-18 19:57:22 +00:00
klaases f549634f59 Improve autopause error handling 2022-03-16 14:36:51 -07:00
Steven Powell 76d97af2a0 add disable-metrics flag 2022-03-16 11:00:20 -07:00
ckannon 701b4be842 Fix flow to support docker driver properly for mac, for issue #13746 2022-03-09 14:30:49 -05:00
Piotr Resztak cbdd447543 add 'subnet' flag 2022-02-27 16:56:05 +01:00
Steven Powell 70a98e34ab
Merge pull request #13053 from tmcalves/validations_on_image_repository
Fixes validation on image repository URL when it contains port but no scheme
2022-02-18 13:42:04 -08:00
Piotr Resztak a0b30b6d56 fix SIGSEGV in kubectl when k8s not running 2022-02-18 16:24:58 +01:00
Tiago Alves a9d3fe2906 Fixes validation on image repository URL when it contains port but not schema
Refactor the way validations are done to use regular expression
Explicitly use "auto" as the imageRepo instead of an empty string when URL received is invalid
2022-02-16 21:54:48 +00:00
Medya Ghazizadeh d6120f131e
Merge pull request #13367 from ckannon/master
Adds 'minikube service --all' feature to allow forwarding all services in a namespace
2022-02-09 12:24:54 -08:00
ckannon c8d846d6c1 minikube #13075 adds --all feature for service 2022-02-09 10:12:01 -05:00
Todd MacIntyre 0d677cb71b fix documentation typo for minikube image load command 2022-02-08 15:13:24 -08:00
Medya Ghazizadeh 8f41ad572a
Merge pull request #13547 from spowelljr/updateNotifyStructure
Update notify package to support `releases-v2.json`
2022-02-07 16:35:07 -08:00
Sharif Elgamal 5e54044127
Merge pull request #13354 from nishipy/issue-11627
Add exit message for too new Kubernetes version
2022-02-03 15:19:38 -08:00
Sharif Elgamal 423b816311
Merge pull request #13251 from afbjorklund/default-runtime
Make the default container runtime dynamic
2022-02-02 18:02:05 -08:00
Steven Powell d01c77d816 update notify package to support releases-v2.json 2022-02-02 16:39:57 -08:00
Medya Ghazizadeh 969b5cddf1
Merge pull request #13520 from minikube-bot/auto_bump_golint_version
bump golint version to v1.44.0
2022-02-02 15:57:24 -08:00
Medya Ghazizadeh 30b187f04d
Merge pull request #13514 from presztak/service_docker_hard_coded
Fix hard coded docker driver in minikube service command
2022-02-01 13:24:45 -08:00
Medya Gh c24818d9b7 lint 2022-02-01 13:21:53 -08:00
Sharif Elgamal 634b8030f9 Merge branch 'master' of github.com:kubernetes/minikube into anders-default-runtime 2022-02-01 12:59:09 -08:00
Sharif Elgamal 034f55696d
Merge pull request #13326 from gAmUssA/addons/kong
[Addon] Kong Ingress Controller
2022-01-31 17:15:54 -08:00
nishipy 9da7049f8a Currently, no warn or exit are there even if user specifies
any version newer than newestKubernetesVersion.
This fixes the flow as follows:
if not --force:
- Warn but do NOT exit for newer minor version and patch version
- Warn and Exit for newer major version

if --force: Warn but try anyways
2022-01-30 07:27:23 -05:00
Piotr Resztak dd431d36c2 remove hard coded docker driver 2022-01-30 00:08:23 +01:00
Steven Powell c5b1c56f57
Merge pull request #12835 from presztak/remove_kicbase_image_info
Print a message about preserving kicbase image when `minkube delete --purge --all` used
2022-01-27 21:23:27 -08:00
nishipy dc1b226562
Update cmd/minikube/cmd/start.go
Co-authored-by: Sharif Elgamal <selgamal@google.com>
2022-01-26 15:32:09 +09:00