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