Commit Graph

5639 Commits (2a2ffeb3808605e35231a9645746116f0fefcf05)

Author SHA1 Message Date
Sharif Elgamal d8d37ddac4 fix issue and delete unused code 2021-04-13 14:36:38 -07:00
Sharif Elgamal 36d3575212 syntax 2021-04-13 12:45:48 -07:00
Sharif Elgamal bfc592732b print out all times in details 2021-04-13 12:31:22 -07:00
Sharif Elgamal 37339160b0 restructure mkcmp output to be more readable 2021-04-13 09:31:09 -07:00
Steven Powell 315726b115 check if Docker installed via Snap Package Manager 2021-04-12 16:51:47 -07:00
minikube-bot 0e1fd72042 Updating kicbase image to v0.0.20-1618262794-11055 2021-04-12 21:36:41 +00:00
Anders F Björklund f527fb675a Address security concerns with the go code
As flagged by the github code scanning
2021-04-12 20:38:21 +02:00
Ed Vinyard 59c235c569 #11052 prevent multiple /etc/hosts entries for control-plane.minikube.internal 2021-04-12 13:31:17 -05:00
Anders F Björklund 6d9bb0018e Use proper naming and separation of platform 2021-04-11 13:21:22 +02:00
Anders F Björklund 473a0f4c78 Fix gofmt and add it to the list of linters 2021-04-11 09:28:28 +02:00
Anders F Björklund 623b1a8639 Check for supported runtime architecture too 2021-04-10 15:30:17 +02:00
ilya-zuyev a9cf5e9337
Merge pull request #11049 from minikube-bot/iso-release-v1.19.0
Update ISO to v1.19.0
2021-04-09 17:11:21 -07:00
minikube-bot 2c9be984fd Update ISO to v1.19.0 2021-04-09 23:27:53 +00:00
minikube-bot f7c204d907 Update kicbase to v0.0.20 2021-04-09 19:23:04 +00:00
Medya Ghazizadeh 5a17d80985
Merge pull request #11019 from medyagh/autopause_vm
Add auto-pause to VMs
2021-04-09 00:27:00 -07:00
Medya Ghazizadeh 11a2d0aff0
Merge pull request #11024 from ilya-zuyev/ilyaz/do_not_run_amd64_on_m1
Do not allow running darwin/amd64 minikube binary on darwin/arm64 systems
2021-04-08 15:29:34 -07:00
Sharif Elgamal ffba51f082 Merge branch 'master' of github.com:kubernetes/minikube into medya-autopause-vm 2021-04-08 14:00:37 -07:00
Sharif Elgamal 699c663df3
Revert "Bump newest supported kubernetes version to v1.21.0-rc.0" 2021-04-08 13:06:00 -07:00
Ilya Zuyev 6aa7e11923 fix imports 2021-04-08 11:50:03 -07:00
Sharif Elgamal 489f8f8de8
Merge pull request #11026 from sharifelgamal/mkcmp
split out minikube start and enable ingress times for mkcmp
2021-04-08 11:49:12 -07:00
Ilya Zuyev 8d8f95305b Merge branch 'master' into ilyaz/do_not_run_amd64_on_m1 2021-04-08 11:44:52 -07:00
Ilya Zuyev 1d1d9f2c53 add unit tests for func DownloadURL(..) 2021-04-08 11:37:49 -07:00
Sharif Elgamal 1cabf5eee8 fix test 2021-04-08 11:33:32 -07:00
minikube-bot 831c3dfdbd Updating kicbase image to v0.0.19-1617905290-11019 2021-04-08 18:17:37 +00:00
Ilya Zuyev b2aa1e56aa make linter happy 2021-04-08 11:14:03 -07:00
Sharif Elgamal 11099658e5 more structured logging for mkcmp 2021-04-08 10:41:21 -07:00
Ilya Zuyev 9a3157950f add download link 2021-04-08 10:25:12 -07:00
minikube-bot 61aa26dec2 Updating ISO to v1.19.0-1617859429-11019 2021-04-08 06:21:11 +00:00
Medya Gh d1c46aea43 add auto-pause to VMs 2021-04-07 19:36:48 -07:00
Medya Ghazizadeh 1e3370298a
Merge pull request #11001 from lilongfeng0902/minikube-lilf
minor spelling errors
2021-04-07 17:35:39 -07:00
Medya Ghazizadeh 25b0ce75e2
Merge pull request #11006 from prezha/fix-TestErrorSpam
fix flake TestErrorSpam
2021-04-07 17:34:09 -07:00
Medya Ghazizadeh 889587d44d
Merge pull request #11010 from ilya-zuyev/ilyaz/bump_k8s_1.21.0
Bump newest supported kubernetes version to v1.21.0-rc.0
2021-04-07 16:57:35 -07:00
Ilya Zuyev d1431f67a6 exit if run amd64 binary on M1 cpu 2021-04-07 15:44:03 -07:00
Medya Ghazizadeh 848a28db5f
Merge pull request #11007 from afbjorklund/list-images
Add ListImages function and image list command
2021-04-07 15:26:22 -07:00
Sharif Elgamal 6fb0b39bc4 increase mkcmp runs to 5 and fix ingress test 2021-04-07 11:50:59 -07:00
Predrag Rogic e42d0b5da0
fix flake TestErrorSpam 2021-04-07 16:46:15 +01:00
Ilya Zuyev a88664d771 bump NewestKubernetesVersion to v1.21.0-rc.0 2021-04-06 17:01:29 -07:00
Anders F Björklund 35d8d4aa52 Add ListImages function and image list command 2021-04-06 22:57:34 +02:00
Anders F Björklund db3fd51194 Rename ListOptions to ListContainersOptions 2021-04-06 22:39:43 +02:00
李龙峰 7ae82c573b Propagation not Propogation 2021-04-06 14:52:52 +08:00
minikube-bot 53babcc152 Update kicbase to v0.0.19 2021-04-05 22:22:23 +00:00
Sharif Elgamal 2904102a96
Merge pull request #10993 from minikube-bot/iso-release-v1.19.0
Update ISO to v1.19.0
2021-04-05 15:09:04 -07:00
Medya Ghazizadeh 18dacff70f
Merge pull request #10958 from azhao155/yzhao/feature/AddAutoPauseInitiliazedStatus
auto-pause: initialize the pause state from the current state
2021-04-05 13:46:23 -07:00
Medya Ghazizadeh d8b5e28875
Merge pull request #10985 from prezha/multinode-cni-dns
Fix CNI issue related to picking up wrong CNI
2021-04-05 13:13:33 -07:00
minikube-bot 77daf46300 Update ISO to v1.19.0 2021-04-05 20:00:42 +00:00
Sharif Elgamal 9c250ca486
Merge pull request #10979 from sharifelgamal/cloud-shell-gcp
Fix gcp-auth tests for cloud shell
2021-04-05 11:01:05 -07:00
Predrag Rogic 387ad774bb
multinode: fix kindnet and dns issues 2021-04-05 16:18:37 +01:00
Sharif Elgamal 6786da83f3
Merge pull request #10217 from pkalever/nbd-iso
iso: enable Network Block Device support
2021-04-02 11:43:10 -07:00
Sharif Elgamal 0ecdc07279 Fix gcp-auth tests for cloud shell 2021-04-02 11:15:53 -07:00
Medya Ghazizadeh 8bc0dfdbd3
Merge pull request #10886 from vishjain/user/vishjain/extra-config
Added error check for extra quotation for extra-config.
2021-04-01 09:47:47 -07:00
Anders F Björklund a3cb29f220 Move KIC images to separate cache directory 2021-03-30 20:27:22 +02:00
Anders F Björklund ff23ccf318 Add constant for the ISO cache directory 2021-03-30 20:19:33 +02:00
Yanshu Zhao 93dad50a94 fix lint 2021-03-30 16:27:50 +00:00
Yanshu Zhao 837ff51c4a Add initialization logic for auto-pause 2021-03-30 08:26:11 +00:00
Vishal Jain f125300e8f Reset test. 2021-03-29 18:44:57 -07:00
Vishal Jain 21477e3fa0 Ran make lint 2021-03-29 18:10:36 -07:00
Medya Ghazizadeh 0de446dc9e
Merge pull request #10792 from prezha/kvm-network
kvm2 driver: add dedicated network & static ip
2021-03-29 17:17:50 -07:00
Medya Gh c8728dc5d8 fix unit tests 2021-03-29 15:01:06 -07:00
Medya Gh e2c02ed6d0 bump storage provisioner image 2021-03-29 15:01:06 -07:00
Medya Ghazizadeh 83c56e0273
Merge pull request #10938 from prezha/retry-rescale-deployment
retry kapi.ScaleDeployment on failure
2021-03-29 14:02:05 -07:00
Medya Ghazizadeh 660cc42e88
Merge pull request #10823 from azhao155/yzhao/feature/auto-hook
Add auto-pause webhook to inject env into pods for redirecting in-cluster kubectl request to reverse proxy of api server.
2021-03-29 09:53:14 -07:00
Medya Ghazizadeh cafb10ff00
Merge pull request #10950 from govargo/bump-metrics-server
Addon: bump metrics-server to v0.4.2
2021-03-29 09:23:00 -07:00
Medya Ghazizadeh d1b560edba
Merge pull request #10924 from tharun208/feat/remove_image_command
add minikube image rm command
2021-03-29 09:21:35 -07:00
Kent Iso 26dac162b8 bump metrics-server to v0.4.2 2021-03-29 23:32:08 +09:00
Tharun f022babe1e refractored image command removeImages function
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-29 10:56:13 +05:30
Vishal Jain bdd4aa120b Added comment. 2021-03-28 15:02:52 -07:00
Vishal Jain b5651309ad Added unit test. 2021-03-28 15:00:27 -07:00
Predrag Rogic 06d4313f3f
kvm2 driver: add static ip 2021-03-27 23:33:24 +00:00
Predrag Rogic 7d8fc64628
retry kapi.ScaleDeployment on failure 2021-03-27 23:20:23 +00:00
Predrag Rogic fcc6283859
kvm2 driver: add dedicated network 2021-03-26 23:34:04 +00:00
Tharun e37f8bc1a2 add unload as an alias and fixed parent command usage
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-27 02:30:15 +05:30
Vishal Jain 198fa8d426 Improve error message. 2021-03-26 12:59:47 -07:00
Medya Ghazizadeh 02bd568e42
Merge pull request #10926 from prezha/fix-node-drain-timeout
add additional options to avoid node drain or delete getting stuck
2021-03-26 01:06:30 -07:00
Tharun 77ba3e93cb refractor TestImageExists method
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-26 01:48:35 +05:30
Sharif Elgamal 700ff6a785
Merge pull request #10853 from sharifelgamal/gcr-auth
create registry credentials when gcp-auth addon is enabled
2021-03-25 12:49:29 -07:00
Medya Ghazizadeh 4224612eff
Merge pull request #10811 from tripolkaandrey/improve/cache-add-not-existing-image-error-message
cache add: improved error message when image does not exist
2021-03-25 12:31:22 -07:00
Tharun 82d7fcc65f address log and docs feedback
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-25 19:32:13 +05:30
Predrag Rogic b1353c5a6a
add additional options to avoid node drain or delete getting stuck 2021-03-25 13:47:52 +00:00
Tharun b9b657ca85 add minikube rm image command
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-25 17:24:47 +05:30
minikube-bot dc94b53463 Updating ISO to v1.18.0-1616648395-10217 2021-03-25 05:44:42 +00:00
Tharun e555093da6 fix minikube status of TimeToStop field when cancelling scheduled stops
Signed-off-by: Tharun <rajendrantharun@live.com>
2021-03-25 06:47:20 +05:30
Medya Ghazizadeh 77c6de357d
Merge pull request #10807 from afbjorklund/load-new
Image load: Allow loading local images from tar or cache
2021-03-24 17:50:03 -07:00
Medya Ghazizadeh 894ca125cb
Merge pull request #10858 from prezha/fix-create-network-race
create network: use locks and reservations to solve race condition
2021-03-24 17:47:21 -07:00
Sharif Elgamal df4224a058 fix lint 2021-03-24 17:11:11 -07:00
Anders F Björklund ad5a192cf1 Add code for downloading kicbase image to cache
Download the image to the cache, instead of to the daemon.

This way it also works for Podman, and not only for Docker
2021-03-24 23:10:10 +01:00
Sharif Elgamal 63b43cc640 allow access to artifact registry as well 2021-03-24 15:09:43 -07:00
Sharif Elgamal 73641d2b4e break 2021-03-24 13:52:29 -07:00
Sharif Elgamal 03b3113b13 remove unnecessary exits 2021-03-24 13:50:17 -07:00
ilya-zuyev 9136127de6
Merge pull request #10774 from ilya-zuyev/ilyaz/arm64_integration_tests
run arm64 integration tests on jenkins
2021-03-24 13:49:11 -07:00
Sharif Elgamal af57dbc001 account for new API, add extra checks for stability 2021-03-24 13:47:18 -07:00
Anders F Björklund 6ce802b870 Clean up and fix logic after all refactoring 2021-03-24 15:08:34 +01:00
Anders F Björklund 8a027b5539 Don't fail after daemon errors without remote 2021-03-24 13:49:02 +01:00
Anders F Björklund 360771ce84 Fix the docs generation to be more deterministic
This was failing the unit tests sometimes otherwise,
due to the default value for log_file being changed.
2021-03-24 08:32:40 +01:00
Vishal Jain 28f26975c2 Fixed end quote. 2021-03-24 00:20:35 -07:00
Vishal Jain e1f9fb16d0 Check suffix ends with quotation. 2021-03-24 00:17:49 -07:00
Sharif Elgamal 3b43d8e278 Merge branch 'master' of github.com:kubernetes/minikube into gcr-auth 2021-03-23 18:53:11 -07:00
Medya Ghazizadeh c48a70f38b
Merge pull request #10683 from prezha/k8s-libs-upgrade
k8s libs: upgrade to v0.20.5
2021-03-23 16:20:09 -07:00
Sharif Elgamal afccdd2acc Merge branch 'master' of github.com:kubernetes/minikube into gcr-auth 2021-03-23 16:19:37 -07:00
Sharif Elgamal 1767631abe don't fail if token isn't valid 2021-03-23 15:50:57 -07:00
Sharif Elgamal 36deb4cb06 allow tests to pass with dummy creds 2021-03-23 14:41:04 -07:00
Medya Ghazizadeh a05f887651
Merge pull request #10364 from hetong07/issue_10165
adding new exit code word for when runtime not running
2021-03-23 11:18:17 -07:00
Medya Ghazizadeh d1341ceded
Merge pull request #10647 from afbjorklund/docker-20.10.4
ISO Upgrade Docker, from 20.10.3 to 20.10.4
2021-03-23 10:08:00 -07:00
Predrag Rogic 368703ca35
k8s libs: upgrade to v0.20.5 2021-03-23 14:28:00 +00:00
Anders F Björklund e35057ae7d Use accessor methods instead of just variables 2021-03-23 12:34:57 +01:00
tripolkaandrey b7976f632d warn user instead of error when image does not exist 2021-03-23 11:03:37 +02:00
tripolkaandrey 9bb16bb383 introduced specific error type for case when image does not exist 2021-03-23 11:03:15 +02:00
Medya Ghazizadeh 6496ab59be
Merge pull request #10868 from afbjorklund/cni-mkdir
bridge cni: Make sure to create the directory for cni config
2021-03-23 00:05:37 -07:00
Yanshu Zhao 9ea99ae129 Add skip into label object of web hook, clean up code 2021-03-23 07:03:42 +00:00
Medya Ghazizadeh 38ed70aa32
Merge pull request #10798 from govargo/csi-hostpath-v1.6.0
Upgrade csi-hostpath-driver addon to v1.6.0
2021-03-23 00:01:29 -07:00
Anders F Björklund 9945462901 Refactor: add daemon function matching remote 2021-03-23 07:08:51 +01:00
Anders F Björklund e064eb13fd Merge branch 'master' into load-new 2021-03-23 07:02:50 +01:00
Medya Ghazizadeh d599775522
Merge pull request #10821 from prezha/fix-driver.IndexFromMachineName
fix driver.IndexFromMachineName()
2021-03-22 21:24:17 -07:00
minikube-bot 3d9d0e105c Updating ISO to v1.18.0-1616464260-10647 2021-03-23 02:43:42 +00:00
Medya Ghazizadeh 0432c3482b
Merge pull request #10873 from Mangahigh/daemonhost-hostname
Add the daemon host address as Alternate Name in apiserver.crt if it's not an IP
2021-03-22 18:59:05 -07:00
Medya Ghazizadeh 18c1cc2ee0
Merge pull request #10878 from daehyeok/rootless_docker
Add solution message if Docker is rootless
2021-03-22 18:57:52 -07:00
Medya Ghazizadeh ebb13e56ea
Merge pull request #10806 from prezha/fix-testlogfile
make sure path to logs directory exists
2021-03-22 18:56:29 -07:00
Medya Ghazizadeh 141a7da152
Merge pull request #10818 from afbjorklund/box-cli
Add a red box around docker desktop registry port
2021-03-22 18:48:51 -07:00
Medya Ghazizadeh afe31b145a
Merge pull request #10879 from govargo/upgrade-ingress-addon-apiversion
Upgrade ingress addon files according to upstream(ingress-nginx v0.44.0)
2021-03-22 18:42:57 -07:00
Medya Ghazizadeh d6011219ec
Merge pull request #10642 from ilya-zuyev/ilyaz/fix_img_platform
Verify and fix image platform
2021-03-22 15:44:46 -07:00
Anders F Björklund fd4a62f77f Make it possible to choose daemon or remote 2021-03-22 20:49:15 +01:00
Anders F Björklund 1c5d35e3f3 Pull image after load with go-containerregistry 2021-03-21 18:01:17 +01:00
Anders F Björklund 2cfc608bbf Add progressbar when downloading kic base image 2021-03-21 14:20:29 +01:00
Vishal Jain e9167932ff Add check for opening and closing quote. 2021-03-20 23:23:26 -07:00
Vishal Jain c402edd859 Added error for quotation. 2021-03-20 22:45:01 -07:00
Daehyeok Mun 9b23841ee3 Add solution message if Docker is rootless 2021-03-20 13:20:30 -07:00
Sharif Elgamal 103e0e9e9f update gcp-auth-webhook to v0.0.5 2021-03-19 14:57:48 -07:00
Ilya Zuyev d6572d87a2 Merge branch 'master' into ilyaz/arm64_integration_tests 2021-03-19 14:04:24 -07:00
Ilya Zuyev 275f743e9f support arch in downloadURL 2021-03-19 13:55:11 -07:00
Kent Iso fb216ddc93 Upgrade ingress addon files according to upstream(ingress-nginx v0.44.0) 2021-03-20 04:07:21 +09:00
Ilya Zuyev 628805b57c fix imports order 2021-03-19 11:36:54 -07:00
Anders F Björklund c462f6ce9c Make sure to create the directory for cni config
Otherwise it will be created with the mktemp permissions
and become unreadable (0700), making chmod fail later on.
2021-03-19 17:10:08 +01:00
Kent Iso ed8885d27e make csi-hostpath-snapshotclass.yaml first. Or kubernetes will return the error, because this CR is deleted befor deleting volumesnapshotclass CRD 2021-03-19 21:48:48 +09:00
Kent Iso 788e910073 Upgrade csi-hostpath addon to v1.6.0 2021-03-19 21:48:48 +09:00
Tom Di Nunzio c1b092adb1 Add the daemon host address as Alternate Name if it's not an IP 2021-03-19 11:03:20 +02:00
Sharif Elgamal bd71b3d8aa lint 2021-03-18 23:12:05 -07:00
Predrag Rogic badcfe23b9
make sure logs directory exists 2021-03-18 21:29:55 +00:00
Predrag Rogic 2965433201
make sure logs directory exists 2021-03-18 21:24:25 +00:00
Predrag Rogic f4a375181a
create network: use locks and reservations to solve race condition 2021-03-18 18:38:06 +00:00
Predrag Rogic 474f6734b1
create network: use locks to solve race conditions 2021-03-17 22:56:22 +00:00
Sharif Elgamal da1477f3f8 delete secret on disable 2021-03-17 13:39:55 -07:00
Yanshu Zhao 107331275c Add template for reverse proxy ip 2021-03-17 18:52:55 +00:00
Predrag Rogic 9bf65e86e3
fix driver.IndexFromMachineName() 2021-03-17 16:21:25 +00:00
Predrag Rogic 223792b993
create network: use locks to solve race conditions 2021-03-17 14:32:39 +00:00
Yanshu Zhao 839aacf580 polish the code 2021-03-17 08:18:36 +00:00
Sharif Elgamal 24457b1875 use token source instead of json directly 2021-03-16 19:17:29 -07:00
Sharif Elgamal cfd9556468 Merge branch 'master' of github.com:kubernetes/minikube into gcr-auth 2021-03-16 15:15:09 -07:00
Medya Ghazizadeh e4d32a7675
Merge pull request #10839 from spowelljr/fixLogsOutput
Show last start and audit logs on `minikube logs` if minikube not running
2021-03-16 14:49:33 -07:00
Anders F Björklund 9b8eac8380 Moved Boxed output to a new helper in out module
And remove the extra newline inside the box,
plus remove the color if not using the emoji.
2021-03-16 21:58:11 +01:00
Ilya Zuyev 94b9149fe9 Add link to GitHub issue in hack method comment 2021-03-15 22:41:27 -07:00
Medya Gh a8c50926d0 fix regex 2021-03-15 17:44:49 -07:00
Medya Gh 4bfacd7a64 KVM code error 2021-03-15 17:29:24 -07:00
Medya Gh bec4d61eac KVM code error 2021-03-15 17:27:30 -07:00
Medya Gh d519e7246e lint 2021-03-15 17:06:04 -07:00
Steven Powell a369264139 removed isClusterRunning check 2021-03-15 16:41:22 -07:00
Steven Powell 3e38a1954a renamed OutputMinikubeLogs to OutputOffline 2021-03-15 16:33:39 -07:00
Steven Powell eb8f7e65b9 Show last start and audit logs on `minikube logs` if minikube not running 2021-03-15 15:43:11 -07:00
Medya Gh ec24edabdc change exit code 2021-03-15 14:41:19 -07:00
Medya Gh e60d9d0fa8 unque code for disk space 2021-03-15 14:37:03 -07:00
Medya Gh 5f514f2518 unique error code for when there is no disk space 2021-03-15 14:36:19 -07:00
Medya Gh dd31af548d Provide unique error code for not copyable cert for kic 2021-03-15 12:41:44 -07:00
Sharif Elgamal 294f044821 add creds for docker pull to gcp-auth 2021-03-15 11:39:06 -07:00
Yanshu Zhao 74209abc2c add auto-pause hook deployment template to auto-pause add on 2021-03-15 06:29:23 +00:00
Predrag Rogic 1f75634357
fix driver.IndexFromMachineName() 2021-03-14 18:46:26 +00:00
Anders F Björklund 5cf8dce944 Add a red box around docker desktop registry port
To make it harder to miss the notice, with the rest of the emojis

Also remove some stray "on" text, but do add "driver" and "port"
2021-03-14 16:18:53 +01:00
Anders F Björklund ce04eb53fd Add the possibility to output indented strings
Sometimes you want to process the style string and output it with
indentation but without any extra emojis. So add special variants.

Also make the enum names more sane for LowIndent, LowIndentBullet
(which removes the need of commenting why the enum name was wrong)
2021-03-14 16:15:03 +01:00
Anders F Björklund 0d99d18803 Allow loading local images as well as from cache
Previously only allowed loading from daemon or remote
via the cache, and not directly from local tarball.
2021-03-13 14:43:15 +01:00
Predrag Rogic 7958d671c6
make sure directory exists 2021-03-13 13:28:04 +00:00
Medya Gh 67172b636c break down usage for no profile found 2021-03-12 12:29:23 -08:00
tripolkaandrey e2acd0d657 added check for enabled registry addon 2021-03-12 12:24:25 +02:00
Medya Ghazizadeh b9f342c9f3
Merge pull request #10779 from medyagh/revert_non_ingress
skip ingress test on none driver and add warning
2021-03-11 12:16:28 -08:00
Medya Ghazizadeh bf204d10b4
Merge pull request #10782 from afbjorklund/cni-portmap
Enable portmap for the default cni bridge
2021-03-11 12:06:30 -08:00
Medya Gh ee74d42eba merge conflict 2021-03-11 01:14:06 -08:00
Medya Ghazizadeh 025fae0de3
Merge pull request #10704 from nixpanic/iso/add-losetup
install losetup from util-linux in the ISO to enable support for VolumeMode=Block PVCs
2021-03-10 15:38:31 -08:00
Medya Ghazizadeh 5147ef3554
Merge pull request #10730 from sharifelgamal/auth-gce
auto-detect gce and do not enable gcp auth addon
2021-03-10 15:26:34 -08:00
Anders F Björklund 71145bca47 Enable portmap for the default cni bridge
Otherwise the registry addon will not work, since it uses
hostPort 5000 (which in turn requires port mapping enabled)
2021-03-10 23:47:09 +01:00
Medya Ghazizadeh e1c872aef2
Merge pull request #10758 from prezha/multinode-wait-join
multinode cluster: fix waits and joins
2021-03-10 13:32:37 -08:00
Medya Ghazizadeh df7cb644af
Merge pull request #10763 from afbjorklund/silent-shell
Silent output when talking to a shell
2021-03-10 13:26:41 -08:00
Predrag Rogic 9ba6c7cdcb
multinode cluster: fix waits and joins 2021-03-10 18:38:19 +00:00
Predrag Rogic 9b64ebfa94
multinode cluster: fix waits and joins 2021-03-10 16:18:24 +00:00
Predrag Rogic dc476fe1f8
multinode cluster: fix waits and joins 2021-03-10 14:18:31 +00:00
Predrag Rogic 13f07dd7e3
multinode cluster: fix waits and joins 2021-03-10 14:18:30 +00:00
Predrag Rogic 3341197b4c
multinode cluster: fix waits and joins 2021-03-10 14:18:30 +00:00
Anders F Björklund 1c4c88e942 Use helper for IsTerminal also in wantsColor 2021-03-10 08:17:03 +01:00
minikube-bot d299be963d Updating ISO to v1.18.0-1615350772-10704 2021-03-10 05:22:51 +00:00
Sharif Elgamal 3063e9e720 change filenames to be more descriptive 2021-03-09 15:54:30 -08:00
Sharif Elgamal fa31737792 fix boilerplate date 2021-03-09 15:32:49 -08:00
Sharif Elgamal aee9afe223 move constants to proper file 2021-03-09 15:20:02 -08:00
Sharif Elgamal a3544ae90a create detect package 2021-03-09 15:11:54 -08:00
Sharif Elgamal d314d73c3a pull out addon specific code into their own files 2021-03-09 14:59:54 -08:00
Sharif Elgamal eb1ee1f931 account for GCE in addons test 2021-03-09 14:32:02 -08:00
Sharif Elgamal 15c44bf7ac reorganize addons to make force flag more generic 2021-03-09 13:32:09 -08:00
Sharif Elgamal afd7a785ab fix message 2021-03-09 12:53:48 -08:00
Anders F Björklund 5e566d3039 Silent output when talking to a shell
If the output is not a terminal, then assume that we are running
docker-env or podman-env under "eval" or similar shell construct.

So don't output all the interactive information, but only return
the actual exit code for some further troubleshooting (perhaps).
2021-03-09 17:59:26 +01:00
Sharif Elgamal f0e70b4e17 initialize bool 2021-03-08 14:57:40 -08:00
Sharif Elgamal 16a2ac9c47 generate docs 2021-03-08 13:10:43 -08:00
Sharif Elgamal 8af2708a8f make it work with start too 2021-03-08 12:50:27 -08:00
Sharif Elgamal e6cb33fa6d oh dear global variable 2021-03-08 12:15:05 -08:00
Sharif Elgamal d12afd6ae5 Merge branch 'master' of github.com:kubernetes/minikube into auth-gce 2021-03-08 12:07:28 -08:00
Kent Iso 9f3cfeaded Fix minikube mount in case of KVM2. Fix the return value of host.Driver.GetIP() 2021-03-08 16:25:42 +09:00
Daehyeok Mun fae67405e9 Update outdated moby/hyperkit package in minikube code 2021-03-05 22:27:23 -08:00
Medya Ghazizadeh 0f4405798a
Merge pull request #10712 from prezha/kvm-check-libvirt-perms
kvm: provide solution if user doesn't belong to libvirt group
2021-03-05 22:19:32 -08:00
Medya Ghazizadeh 1beaaf2862
Merge pull request #10654 from govargo/bump-volumesnapshot-v1
Upgrade VolumeSnapshot to GA(v1)
2021-03-05 20:41:30 -08:00
Medya Ghazizadeh b3cbbab77d
Merge pull request #10656 from prezha/coredns-scale-down-early
CoreDNS early scale down to 1 replica
2021-03-05 20:40:46 -08:00
Predrag Rogic 5bd45cbb66
kvm: check if user belongs to libvirt group 2021-03-06 01:04:23 +00:00
Sharif Elgamal 6fc42a549e allow --force 2021-03-05 16:41:27 -08:00
Sharif Elgamal 1ed86db109 auto-detect gce and do not enable gcp auth addon 2021-03-05 13:45:36 -08:00
Sharif Elgamal 3258920da4
Merge pull request #10675 from sharifelgamal/auto-iso
add autobuild and push for ISO
2021-03-05 13:04:20 -08:00
Medya Ghazizadeh 95254353b6
Merge pull request #10728 from kubernetes/revert-10666-pause-bump-to-v3.4.1
Revert "pause: bump to newest image v3.4.1"
2021-03-05 13:02:49 -08:00
Medya Ghazizadeh d2cb052fca
Merge pull request #10653 from Loyen/add-listen-address-flag
Add flag "--listen-address" for docker and podman driver
2021-03-05 12:56:22 -08:00
Medya Ghazizadeh 6072d12b7d
Revert "pause: bump to newest image v3.4.1" 2021-03-05 11:43:53 -08:00
Sharif Elgamal 580188fb2d revert back to original ISO 2021-03-05 11:21:28 -08:00
Patrik Freij 3110bd15fc Lowercase minikube in information message 2021-03-05 15:50:52 +01:00
Sharif Elgamal aeba968af0 Merge branch 'master' of github.com:kubernetes/minikube into auto-iso 2021-03-04 15:37:58 -08:00
Medya Ghazizadeh 3d27f0f4ad
Merge pull request #10666 from prezha/pause-bump-to-v3.4.1
pause: bump to newest image v3.4.1
2021-03-04 15:13:47 -08:00
Medya Ghazizadeh ba9ca6e8a3
Merge pull request #10705 from afbjorklund/cri-version-wait
Wait for crictl version after the socket is up
2021-03-04 15:13:05 -08:00
minikube-bot f0a5c5ec32 Updating ISO to v1.18.0-1614881696-10675 2021-03-04 19:09:54 +00:00
Sharif Elgamal e0d115b3d6 Merge branch 'master' of github.com:kubernetes/minikube into auto-iso 2021-03-04 10:56:54 -08:00
Sharif Elgamal 934db911a2 point to the correct bucket once iso is built 2021-03-03 17:59:03 -08:00
Sharif Elgamal f62d51da7d refactor iso bucket to make it easily parsed 2021-03-03 17:35:17 -08:00
Predrag Rogic c3cd3bc500
kvm: check if user belongs to libvirt group 2021-03-04 01:33:01 +00:00
Steven Powell 2f9acf848f Remove WSLENV check from IsMicrosoftWSL 2021-03-03 17:26:59 -07:00
Anders F Björklund b0bdf06397 Wait for crictl version after the socket is up
As there are no guarantees that the CRI socket actually _works_,
just because it has been made available by the container runtime.
2021-03-03 21:17:56 +01:00
Patrik Freij 0d1d169bf6 Set non-local traffic message as a Tip message
To stay consistent with other messages. Also moved it above the warning
message regarding what IP is set as listen-address to make more sense in
the message flow.
2021-03-03 17:07:23 +01:00
Kent Iso 5a9e5fecf2 Upgrade VolumeSnapshot to GA(v1) 2021-03-04 00:02:27 +09:00
Steven Powell f77abd1e78 made registerStep arg optional, defaults to false 2021-03-02 17:24:27 -07:00
Steven Powell 4dfc63005f only log ConfiguringCNI as step on init to prevent unpredictable step output 2021-03-02 17:24:25 -07:00
Steven Powell 6329606133 removoe .swap file 2021-03-02 17:23:43 -07:00
Steven Powell e7a35107e7 ignore JSON entries that are not of type step 2021-03-02 17:23:43 -07:00
Steven Powell a2989a119e reverted actions from Styled to Step 2021-03-02 17:23:43 -07:00
Steven Powell 07e41b3dcf do InfoF is user specified JSON 2021-03-02 17:23:43 -07:00
Steven Powell 4d3f11bfb0 if user wants JSON output, skip styled output 2021-03-02 17:23:43 -07:00
Steven Powell e9d16eb42d replaced non-step logging with Styled 2021-03-02 17:23:43 -07:00
Steven Powell 64105b4926 Added out.Styled func 2021-03-02 17:23:42 -07:00
Steven Powell f8b6cd341c Added a new step and changed Step to ErrT for err logs 2021-03-02 17:23:42 -07:00
Medya Ghazizadeh 5682b34c10
Merge pull request #10694 from spowelljr/fixTruncatingLogs
Added WaitGroups to prevent stderr/stdout from being empty in error logs
2021-03-02 16:21:59 -08:00
Medya Ghazizadeh 5da07f1662
Merge pull request #10471 from phantooom/master
kvm2 driver: Add flag --kvm-numa-count" support topology-manager simulate numa
2021-03-02 16:04:57 -08:00
Medya Ghazizadeh 4501e70295
Merge pull request #10458 from afbjorklund/podman-stable
Change podman priority to default on Linux
2021-03-02 14:41:02 -08:00
Steven Powell b40a41d32e added ssh.Close back 2021-03-02 14:32:33 -07:00
Steven Powell 35ca6d77a2 added WaitGroups to make sure logs have finished writing before continuing on 2021-03-02 13:06:52 -07:00
Patrik Freij 29a7145e9d Add podman support for --listen-address 2021-03-02 20:59:27 +01:00
Patrik Freij bb5bf9546c Add info message about not using it for production
To add more context to the warning message for --listen-address
2021-03-02 20:21:39 +01:00
phantooom 529881e01c fix: fix kvm2 numa simulate ut&lint 2021-03-02 22:40:42 +08:00
phantooom badc5d4532 add more check for kvm2 support simulate numa node 2021-03-02 22:27:26 +08:00
phantooom e11f23a4c9 kvm2 driver support simulate numa node 2021-03-02 22:27:26 +08:00
Patrik Freij 9b5a96e76d Make warning more informative for --listen-address 2021-03-01 23:10:58 +01:00
Patrik Freij bad8561d0d Skip custom listenAddress if equal to default 2021-03-01 23:06:13 +01:00
Medya Ghazizadeh 5b7af8377e
Merge pull request #10613 from prezha/fix-kube-proxy-metricsBindAddress
make metric server serve on all ipv4 interfaces
2021-03-01 11:22:41 -08:00
Predrag Rogic 50a1d239b1
pause: bump to newest image v3.4.1 2021-03-01 16:41:29 +00:00
Predrag Rogic dd6687ecb2
early scale down of CoreDNS to 1 replica 2021-03-01 03:36:03 +00:00
Patrik Freij cb116e4c1c Add --listen-address for docker driver 2021-02-28 23:14:08 +01:00