Medya Ghazizadeh
01a701874c
Merge pull request #11301 from spowelljr/breakdownGuestProvision
...
Added more descriptive errors for GUEST_PROVISION
2021-05-05 20:12:18 -07:00
Ilya Zuyev
6cf6ba2ff2
Fix network settings parsing
2021-05-05 19:31:12 -07:00
Ilya Zuyev
829cc42a65
Fix network settings parsing
2021-05-05 19:11:56 -07:00
Ilya Zuyev
618d09ab76
Fix network settings parsing
2021-05-05 17:14:33 -07:00
Steven Powell
a0e3a34bb6
added more descriptive errors from GUEST_PPROVISION
2021-05-05 16:31:02 -07:00
Ilya Zuyev
01f76f7d4f
Add debug logs
2021-05-05 16:29:11 -07:00
Medya Gh
387c515a48
bump coredns for 22
2021-05-05 16:27:52 -07:00
Medya Gh
53d8f64419
dont bumpt default
2021-05-05 16:27:52 -07:00
Medya Gh
5b7acd315a
update newest kubernetes version
2021-05-05 16:27:52 -07:00
Andriy Dzikh
98f4d4706b
Add --file flag to 'minikube logs' to automatically put logs into a file.
2021-05-05 16:18:15 -07:00
Ilya Zuyev
adc53aa677
Fix error handling
2021-05-05 15:58:16 -07:00
Steven Powell
f0d1d93037
removed double license
2021-05-05 15:53:53 -07:00
Ilya Zuyev
61c1b301be
Fix linter errors
2021-05-05 15:31:11 -07:00
Ilya Zuyev
fe392b4233
When getting a gateway IP for podman container inspect per-network data as well
2021-05-05 15:09:46 -07:00
minikube-bot
625a06ce6d
Update kicbase to v0.0.22
2021-05-05 21:18:37 +00:00
Medya Ghazizadeh
6bca921435
Merge pull request #11258 from prezha/fix-docker-crio
...
fix kubelet "root container [kubepods] doesnt exist"
2021-05-05 09:45:41 -07:00
Medya Ghazizadeh
b850829554
Merge pull request #11274 from spowelljr/improveLogsCommand
...
Batch logs output to speedup `minikube logs` command
2021-05-05 00:13:28 -07:00
Medya Ghazizadeh
b7dc95577f
Merge pull request #11288 from azhao155/yzhao/feature/autopause-image
...
Update image repo for auto-pause-hook
2021-05-05 00:11:10 -07:00
Yanshu
a84652f0d5
add sha256
2021-05-05 00:49:44 +00:00
Medya Gh
e0343aa702
update more slow versions of k8s
2021-05-04 16:34:52 -07:00
Yanshu
8feef42a88
Update auto-pause-hook image
2021-05-04 23:18:33 +00:00
Predrag Rogic
e7907e3caa
fix kubelet "root container [kubepods] doesnt exist"
2021-05-04 18:24:11 +01:00
Steven Powell
616401e3e6
batch logs output to speedup command
2021-05-03 17:39:46 -07:00
Medya Ghazizadeh
d69ab5c537
Merge pull request #11230 from spowelljr/makeBoxErr
...
Output GitHub issue message to stderr
2021-05-03 15:05:26 -07:00
Tomas Kral
08cb1c1455
olm addon: update OLM to 0.17.0
2021-05-03 13:17:49 -07:00
Sharif Elgamal
e27e9a1e1b
return pointer to k8sissue
2021-05-03 12:25:17 -07:00
Sharif Elgamal
9dbe957234
Merge branch 'master' of github.com:kubernetes/minikube into warn-k8s
2021-05-03 12:22:34 -07:00
Andriy Dzikh
4a5642e738
Fix `out` stylized function formatting with an empty map instead of nothing.
2021-04-30 14:40:18 -07:00
ilya-zuyev
27045fd421
Merge pull request #11239 from minikube-bot/kicbase-release-v0.0.21
...
Update kicbase to v0.0.21
2021-04-30 11:36:16 -07:00
minikube-bot
c5b65cab51
Update kicbase to v0.0.21
2021-04-30 18:08:55 +00:00
Ilya Zuyev
0c641ae0ed
Merge branch 'master' into iso-release-v1.20.0-beta.0
2021-04-30 10:50:04 -07:00
Medya Ghazizadeh
ecc3a914cb
Merge pull request #11209 from prezha/test-wait-cni-cr
...
improve how cni and cruntimes work together v2
2021-04-30 10:31:44 -07:00
minikube-bot
2e12378c99
Update ISO to v1.20.0-beta.0
2021-04-30 06:22:22 +00:00
Anders F Björklund
60869241df
Update unit test after recent code changes
2021-04-30 08:12:25 +02:00
Steven Powell
2abffe63f3
used String func instead of box built-in print
2021-04-29 17:03:22 -07:00
Predrag Rogic
859e6c2bd0
fix kubeadm join error: "Found multiple CRI sockets"
2021-04-29 23:55:20 +01:00
Anders F Björklund
bec9f23e29
Add mask and unmask to the disable and enable
2021-04-30 00:54:28 +02:00
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