Commit Graph

5755 Commits (45ee2dbacb82c82b0c980d53ca492bf864d4f573)

Author SHA1 Message Date
Predrag Rogic f2afe0907d
add pr 11180 2021-04-29 23:38:39 +01:00
Predrag Rogic 05abcd53ca
add pr 11182 2021-04-29 23:36:46 +01:00
Predrag Rogic 394def7a74
identify appropriate cni then configure cruntime accordingly 2021-04-29 23:36:46 +01:00
Predrag Rogic 5a3590627a
move wait after 'kubeadm phase addon all' 2021-04-29 23:36:46 +01:00
Predrag Rogic efd2155e10
don't wait for non-running and non-pending pods 2021-04-29 23:36:46 +01:00
Predrag Rogic d0cc7f09fc
test pr 11106 and pr 11185 2021-04-29 23:36:34 +01:00
ilya-zuyev 9947c61a83
Merge pull request #11185 from prezha/workout-cni-and-cruntimes
improve how cni and cruntimes work together
2021-04-29 15:01:18 -07:00
Steven Powell c224b329e6 make BoxedErr and output GitHub issue message using it 2021-04-29 14:54:49 -07:00
Medya Ghazizadeh ac2b98d744
Merge pull request #11169 from spowelljr/addBetaNotifications
Add opt-in notifications for beta releases
2021-04-29 14:03:59 -07:00
Medya Ghazizadeh 3de6dc0762
Merge pull request #11128 from afbjorklund/image-save
Add API for saving an image to a local path
2021-04-29 14:03:02 -07:00
Sharif Elgamal 8657b72645 address comments 2021-04-28 17:29:28 -07:00
Sharif Elgamal fb5f275baa abstract kubernetes issues away 2021-04-28 16:01:59 -07:00
Steven Powell c9ccfece9b removed get prefix from funcs 2021-04-28 15:34:48 -07:00
Steven Powell 6b86c4fe1b fix linting error 2021-04-28 15:23:31 -07:00
Sharif Elgamal b0f6923d68
Merge pull request #11212 from sharifelgamal/kicbase-build
Make sure to capture errors in auto kicbase builds
2021-04-28 09:01:57 -07:00
Steven Powell 202cf31e16 removed commented out code 2021-04-27 10:41:35 -07:00
Steven Powell 540f20cca8 added tests 2021-04-27 10:40:31 -07:00
minikube-bot fff23925e0 Updating kicbase image to v0.0.20-1619543236-11212 2021-04-27 17:16:43 +00:00
Sharif Elgamal 6e771fda93
Merge pull request #11210 from sharifelgamal/containerd-ingress
ci: mkcmp: skip ingress for containerd runtime, take 2
2021-04-27 09:51:21 -07:00
Sharif Elgamal 17e47e32fe fix nil pointer 2021-04-26 15:24:58 -07:00
Sharif Elgamal e799015d7a skip ingress for containerd 2021-04-26 13:50:53 -07:00
Steven Powell 7757ff54ee simplified test 2021-04-26 13:24:06 -07:00
Steven Powell cc727e4ad8 refactored code, detect true latest version between full and beta releases 2021-04-26 12:51:01 -07:00
Anders F Björklund d9412b206d Make sure to pass the platform for the kicbase
Otherwise it will always download linux/amd64
2021-04-26 21:49:28 +02:00
Anders F Björklund bbe9fb1c93 Add API for saving an image to a local path
This function SaveImage is the opposite of LoadImage,
useful for saving built images to the cache directory.

This is an alternative to using the push functionality,
which requires a registry similar to the pull function.
2021-04-26 08:23:31 +02:00
Anders F Björklund 9a9e804e22 Slight confusion between driver and runtime 2021-04-26 08:10:04 +02:00
Anders F Björklund 90bff94fd6 Add podman.Image function to separate file
Replaces daemon.Image from go-containerregistry
2021-04-26 08:10:02 +02:00
Anders F Björklund 54bc977a74 Move podman.Write function into separate file
Replaces daemon.Write from go-containerregistry
2021-04-26 08:07:10 +02:00
Anders F Björklund e6e4d2a137 Allow using podman as well as docker daemon 2021-04-26 08:07:08 +02:00
Medya Ghazizadeh cbe11ca8ff
Merge pull request #11003 from tklauser/x-term
Use golang.org/x/term
2021-04-25 22:56:14 -07:00
Medya Ghazizadeh d6e011bf77
Merge pull request #10918 from afbjorklund/kicbase-cache
Add code for downloading kicbase image to cache
2021-04-25 22:25:06 -07:00
Predrag Rogic e3b45667a6
improve how cni and cruntimes work together 2021-04-25 17:40:34 +01:00
Medya Ghazizadeh 222dbec2fe
Merge pull request #11178 from prezha/bump-kindnet-to-v20210326-1e038dc5
bump kindnet to v20210326-1e038dc5
2021-04-25 09:00:44 -07:00
Medya Ghazizadeh 8ce6326186
Merge pull request #11054 from afbjorklund/iso-os-update
Upgrade buildroot minor version
2021-04-24 21:10:51 -07:00
Medya Ghazizadeh 30d659c635
Merge pull request #11055 from afbjorklund/kic-os-update
Update kicbase base image
2021-04-24 21:09:32 -07:00
Medya Ghazizadeh 41bbb4f6c5
Merge pull request #11164 from afbjorklund/build-rebase
Add re-implementation of the build command
2021-04-24 21:03:30 -07:00
minikube-bot 6ff3832348 Updating ISO to v1.19.0-1619288095-11054 2021-04-24 19:08:52 +00:00
Medya Ghazizadeh f854a086b1
Merge pull request #11158 from spowelljr/addLogFileToGithubIssue
Add log file to GitHub issue output
2021-04-24 09:52:45 -07:00
Anders F Björklund 974268092f Merge branch 'master' into kicbase-cache 2021-04-24 08:36:45 +02:00
Steven Powell 8644c21002 lint comment 2021-04-23 16:49:35 -07:00
Steven Powell a669ebb53e added back emojis 2021-04-23 16:07:50 -07:00
Predrag Rogic cdc5048ec3
bump kindnet to v20210326-1e038dc5 2021-04-23 22:36:40 +01:00
Anders F Björklund 96e199c442 Support building a path local to the machine
Using file: scheme means build local context
2021-04-23 23:31:45 +02:00
Anders F Björklund d50845903f url.Parse treats DOS volumes as URL schemes
So need to be on the lookout for "C:\\path"
2021-04-23 23:04:30 +02:00
Medya Ghazizadeh aa1e96ecb6
Merge pull request #11132 from afbjorklund/preload-checksum
Add checksum to the preload tarball download
2021-04-23 13:18:43 -07:00
Medya Ghazizadeh d772101fd5
Merge pull request #11168 from afbjorklund/canonical-name
Use canonical image name if one exists remotely
2021-04-23 12:23:35 -07:00
Medya Ghazizadeh cf79f775f4
Revert "ci: mkcmp: skip testing ingress for containerd" 2021-04-23 12:12:25 -07:00
Steven Powell 29745438da add opt-in notifications for beta releases 2021-04-22 14:35:19 -07:00
Anders F Björklund 13e1e15caa Don't parse again if the image name didn't change 2021-04-22 19:26:32 +02:00
Anders F Björklund dc5d69e792 Don't check local or canonical images with remote 2021-04-22 19:19:26 +02:00
Anders F Björklund b16799b29c Use canonical image name if one exists remotely
When adding an image to the cache, check if it exists remote.
If it does, then use the canonical name when saving to cache.

If not checking with the remote registry, or it doesn't exist,
then use the short name when saving to cache - like before...
2021-04-22 18:10:56 +02:00
Steven Powell 68171b4dbe improved failure messages 2021-04-21 16:57:09 -07:00
Steven Powell cd93ee9eb4 added message to box 2021-04-21 16:43:06 -07:00
Anders F Björklund 98d2389a3d Log error from getting the preload checksum 2021-04-21 21:46:09 +02:00
Anders F Björklund e230f023a0 Address lint append suggestions from gocritic 2021-04-21 20:26:28 +02:00
Anders F Björklund 947e31aead Add git url support to containerd runtime 2021-04-21 20:26:28 +02:00
Anders F Björklund c961190ed8 Allow passing environ and options to build 2021-04-21 20:26:28 +02:00
Anders F Björklund 9f9958f7ea Allow building image from an url as well 2021-04-21 20:26:28 +02:00
Anders F Björklund 02b4267fd0 Add option for pushing image to registry 2021-04-21 20:26:28 +02:00
Anders F Björklund a8a8788c11 Don't fail when the default file is passed 2021-04-21 20:26:28 +02:00
Anders F Björklund 22150fbf98 Don't add build context to the default file 2021-04-21 20:26:28 +02:00
Anders F Björklund f670368023 Move absolute file path handling to machine 2021-04-21 20:26:28 +02:00
Anders F Björklund c94a6d7968 Make sure to pass any file param to build 2021-04-21 20:26:28 +02:00
Anders F Björklund 844c6965cc Make sure to show output from build cmd 2021-04-21 20:26:28 +02:00
Anders F Björklund 6cfbf2cc3d Move minikube build cmd to minikube image build
Use the long name also for examples and usage
2021-04-21 20:26:28 +02:00
Medya Ghazizadeh 24a759fb51
Merge pull request #11114 from Nordix/increase-kvm2-virsh-timeout-ctx
Increase timeout value in kvm2 driver validation to 6 seconds
2021-04-21 11:22:45 -07:00
Anders F Björklund a2744827c3 Add some basic support for setting the image tag 2021-04-21 19:56:58 +02:00
Anders F Björklund af5828dff9 Add initial re-implementation of the build command
Currently only handles tarballs, not directories
2021-04-21 19:56:55 +02:00
Anders F Björklund 22a52e7d2e Make preload survive without a checksum
Need to download to a temporary file, and only replace
the original after explicitly validating the checksum.
2021-04-21 19:48:57 +02:00
Anders F Björklund 609b01eaae Only show warning when checksum is missing 2021-04-21 18:21:24 +02:00
Michael Captain fbf80ed1a6
Increase timeout in kvm2 driver validation
Increase the timeout in kvm2 driver validation for virsh commands to 6
seconds. This resolves an issue where the libvirtd socket can block for
about 3 seconds following a restart.

We also catch the timeout case and return a registry.State with a more
helpful error message.
2021-04-21 14:04:21 +03:00
Tobias Klauser 112792fba0 Use golang.org/x/term
The golang.org/x/crypto/ssh/terminal package is deprecated and merely a
wrapper around golang.org/x/term. Thus, use the latter directly.
2021-04-21 12:50:48 +02:00
Steven Powell d17e47ca7f made test file generation Windows compatible as well 2021-04-20 16:21:36 -07:00
Steven Powell c8422c0b6e properly join dir and file 2021-04-20 16:10:02 -07:00
Steven Powell 411f934bae found Windows compatible way to get latest log file 2021-04-20 16:02:41 -07:00
Steven Powell e108b0a1b3 create tmp log file for testing 2021-04-20 14:16:45 -07:00
Steven Powell c651e9614d add path to lastStart.txt if user runs start command 2021-04-20 13:49:07 -07:00
Anders F Björklund ef036e9297 Mock the docker call when calling it from tests 2021-04-20 22:13:26 +02:00
Medya Ghazizadeh f9efad1bc5
Merge pull request #11099 from afbjorklund/docker-20.10.6
Upgrade Docker, from 20.10.4 to 20.10.6
2021-04-20 10:32:39 -07:00
Steven Powell 4e66128fbd added output to other func that outputs GitHub issue line 2021-04-20 10:23:10 -07:00
Steven Powell 3aaf0ff4ea added missing trailing slash 2021-04-20 10:00:18 -07:00
Steven Powell 0e52a659fb make work if TMPDIR env not set 2021-04-20 09:58:39 -07:00
Steven Powell 97d3b4c3bf add log file message when suggesting user file issue 2021-04-20 09:45:45 -07:00
minikube-bot 2f1943d654 Updating ISO to v1.19.0-1618897865-11099 2021-04-20 06:50:07 +00:00
Anders F Björklund a618655bb3 Make golint clean again by adding comments 2021-04-20 08:23:26 +02:00
Anders F Björklund 13c7334b95 Handle errors when getting the checksum 2021-04-20 08:03:39 +02:00
Anders F Björklund 4c20019d37 Refactor common code for storage attributes 2021-04-20 08:02:40 +02:00
Medya Gh 1207de734b bump golang lint ci to latest 2021-04-19 15:16:31 -07:00
Medya Ghazizadeh d4c1c2a79f
Merge pull request #11127 from afbjorklund/image-pull
new command "image pull: allow to load remote images directly without cache
2021-04-19 14:57:48 -07:00
Medya Gh 5ce67d5855 boilerplate 2021-04-19 14:56:37 -07:00
Medya Ghazizadeh d52b8d0c0d
Merge pull request #11081 from EdVinyard/master
prevent multiple /etc/hosts entries for control-plane.minikube.internal
2021-04-19 13:42:38 -07:00
Medya Ghazizadeh d18d2c70f1
Merge pull request #11111 from afbjorklund/crio-v1.20.2
Upgrade crio to 1.20.2
2021-04-19 13:04:11 -07:00
Anders F Björklund 7c7c25da18 Fix typo in comment to make golint more happy 2021-04-19 21:58:37 +02:00
Anders F Björklund d8050ee03c Add documentation to the public image functions 2021-04-19 21:55:43 +02:00
Medya Ghazizadeh 19ea60f843
Merge pull request #11120 from sharifelgamal/gen-test-docs
site: Automatically generate integration test documentation
2021-04-19 12:40:40 -07:00
Medya Ghazizadeh f5a5ce9911
Merge pull request #11133 from Nordix/timeout-typo
Correct typo in timeout value in comment
2021-04-19 11:41:47 -07:00
Anders F Björklund 9c1a4f4fc0 Allow to load remote images directly without cache 2021-04-19 20:24:06 +02:00
Ed Vinyard 73280e474e remove unused parameter from addHostAliasCommand 2021-04-19 12:01:25 -05:00
Michael Captain b2f874dbac
Correct typo in timeout value in comment 2021-04-19 00:30:43 +03:00
Anders F Björklund 4e9112e29c Add checksum to the preload tarball download
Check the checksum before putting the download into the cache,
leave the previous checksum file even if it is now redundant.
2021-04-18 20:21:38 +02:00
Anders F Björklund fbef53209a Add helper for runtime OS as well as for Arch 2021-04-18 12:51:30 +02:00
Sharif Elgamal 191d3dce5a fix lint 2021-04-16 15:45:44 -07:00
Sharif Elgamal 245f44da66 write to a file and move code around for clarity 2021-04-16 15:33:50 -07:00
Sharif Elgamal fa9bfd9338
Merge pull request #11118 from sharifelgamal/containerd-ingress
ci: mkcmp: skip testing ingress for containerd
2021-04-16 13:58:36 -07:00
Medya Ghazizadeh 60d8401f59
Merge pull request #11086 from sharifelgamal/mock-mirror
avoid network calls for mirror unit tests
2021-04-16 13:46:31 -07:00
Sharif Elgamal 299c62c57c ci: mkcmp: skip testing ingress for containerd 2021-04-16 13:45:56 -07:00
Sharif Elgamal 0ed5b13995 add docs for all integration tests and generate docs with them 2021-04-16 13:42:41 -07:00
minikube-bot 0f678017c5 Updating ISO to v1.19.0-1618553696-11111 2021-04-16 07:13:48 +00:00
Medya Ghazizadeh 69cc612fc4
Merge pull request #11097 from sharifelgamal/mkcmp-output
ci: pr-bot add containerd to mkcmp and warn if too slow
2021-04-15 10:58:06 -07:00
Sharif Elgamal 1319b6e398 refactor checkRepository to make mocking easier 2021-04-14 12:51:16 -07:00
Medya Ghazizadeh 241112f4ea
Merge pull request #11088 from spowelljr/fixSnapDocker
Check if Docker installed via Snap Package Manager
2021-04-14 10:04:57 -07:00
Sharif Elgamal 38927241a9 add containerd to mkcmp and warn if too slow 2021-04-14 09:39:10 -07:00
Steven Powell 52ce3b3512 moved minikube and docker isSnap funcs to detect package 2021-04-13 16:15:05 -07:00
Sharif Elgamal dfa98bbf30
Merge pull request #11096 from sharifelgamal/mkcmp-output
ci : overhaul pr bot's mkcmp output
2021-04-13 15:37:35 -07:00
Sharif Elgamal 53bf5322ac add backticks for better table output 2021-04-13 15:21:49 -07:00
Sharif Elgamal 4628c17c27 increase runs back to 5 2021-04-13 14:40:47 -07:00
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