Commit Graph

4567 Commits (f3a1dec0f226a6e7d88eb8149b3573f69d7348e6)

Author SHA1 Message Date
Sharif Elgamal 23e7989c07 Merge branch 'master' of github.com:kubernetes/minikube into windows-mount 2020-09-17 11:12:35 -07:00
Sharif Elgamal b98580c820 fix up if statement 2020-09-17 10:31:10 -07:00
Sharif Elgamal eab92dc455 Reduce cyclotomic complexity of CreateContainerNode to fix lint 2020-09-17 10:22:28 -07:00
Thomas Stromberg 942eb539e6 Update DefaultKubernetesVersion to v1.19.2 2020-09-16 17:44:15 -07:00
Medya Ghazizadeh a2c2a83903
Merge pull request #8918 from Dean-Coakley/add-pruneDocker-helper
Add prune docker images instructions
2020-09-16 16:44:02 -07:00
Sharif Elgamal 4a004dd58e simplify more 2020-09-16 16:39:03 -07:00
Sharif Elgamal 14a5b0b264 simplify append 2020-09-16 16:04:10 -07:00
Sharif Elgamal 6e9b1b7bc0 fix mounting for docker driver in windows 2020-09-16 14:55:40 -07:00
Medya Ghazizadeh dc0b1aaa3a
Merge pull request #9239 from afbjorklund/podman-storage
Add podman storage warning to match docker
2020-09-16 14:53:56 -07:00
Sharif Elgamal 070cbb99ee
Merge pull request #8461 from 11janci/jjanik-enable-volumesnapshots
CSI Hostpath Driver & VolumeSnapshots addons
2020-09-16 11:57:42 -07:00
Medya Ghazizadeh 022d4ceefc
Merge pull request #9207 from tstromberg/v1.19.1
Update default Kubernetes release to v1.19.1
2020-09-15 16:10:22 -07:00
Medya Ghazizadeh 44c6f36362
Merge pull request #9255 from afbjorklund/cpus-cfs
Make sure CFS_BANDWIDTH is available for --cpus
2020-09-15 16:07:12 -07:00
Medya Ghazizadeh 48a32a02a8
Merge pull request #9237 from afbjorklund/podman2-port
Fix ForwardedPort for podman version 2.0.1 and up
2020-09-15 14:51:44 -07:00
Anders F Björklund 359efd68b2 Avoid setting time for memory assets
These do not have any file modification time

Previously used '0001-01-01 00:00:00 +0000'
2020-09-15 17:15:16 +02:00
Anders F Björklund f718e39ab9 Make sure CFS_BANDWIDTH is available for --cpus 2020-09-15 12:54:39 +02:00
Sharif Elgamal 13f6c042db revert native-ssh change 2020-09-14 16:45:34 -07:00
Anders F Björklund b4d4be8e23 Add podman storage warning to match docker 2020-09-13 23:04:31 +02:00
Anders F Björklund af5d6d060b Fix ForwardedPort for podman version 2.0.1 and up
Increasing Docker compatibility broke Podman v1
2020-09-13 22:17:36 +02:00
Medya Ghazizadeh ef7e7e8e6f
Merge pull request #9152 from zhijianli88/extract
fix make extract
2020-09-09 15:01:35 -07:00
Sharif Elgamal ee5b8f130f
Merge pull request #8831 from priyawadhwa/overlay
Set preload=false if not using overlay2 as docker storage driver
2020-09-09 11:45:52 -07:00
Thomas Stromberg c401b42622 Update default Kubernetes release to v1.19.1 2020-09-09 11:20:45 -07:00
Dean Coakley dcd00b2150 Make prune conditional. Add podman to prune instruction 2020-09-08 23:37:25 +01:00
jjanik ae92c289b8 add csi-hostpath-driver addon 2020-09-04 18:54:33 +02:00
jjanik c5ae7b9580 add volumesnapshots addon 2020-09-04 17:10:54 +02:00
Li Zhijian 2ad4cae53a fix make extract
> err_map.go is not gone, it was just renamed in a recent refactor:
> https://github.com/kubernetes/minikube/blob/master/pkg/minikube/reason/known_issues.go

$ make extract
go run cmd/extract/extract.go
panic: err_map.go doesn't exist

goroutine 1 [running]:
main.main()
	/home/lizj/workspace/k8s/minikube/cmd/extract/extract.go:47 +0x1b4
exit status 2
Makefile:304: recipe for target 'extract' failed
make: *** [extract] Error 1

Fixes #9126
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-09-04 16:53:58 +08:00
Sharif Elgamal d2073c1191 Merge branch 'master' of github.com:kubernetes/minikube into add-kubectl 2020-09-03 13:30:18 -07:00
Sharif Elgamal 3f9c6d10d9
Merge pull request #9177 from tstromberg/known_issues3
Refresh known issues map
2020-09-03 11:03:41 -07:00
Thomas Stromberg 257ef16de8 Fix --insecure-registry typo 2020-09-03 09:54:03 -07:00
Asare Worae d9ce04f18a fix GuestMountConflict exit code 2020-09-03 18:51:46 +02:00
Asare Worae 4e772347d4 exit on existing cluster start with KiC driver mount configuration change 2020-09-03 18:25:10 +02:00
Thomas Stromberg d0228ddf20 Refresh known issues map 2020-09-03 09:21:26 -07:00
Sharif Elgamal 3c86db01f4
Merge pull request #9166 from priyawadhwa/revert-static-ip
Revert static IP for docker
2020-09-02 15:49:40 -07:00
Thomas Strömberg dab20a2e12
Merge pull request #9163 from tstromberg/driver-advice
docker: Improve overlay module check (behavior & UX)
2020-09-02 14:56:04 -07:00
Thomas Strömberg 914f10b458
Merge pull request #9149 from tstromberg/docker-no-swap
Disable swap in Docker & podman containers
2020-09-02 14:55:44 -07:00
Sharif Elgamal cffd317731 Merge branch 'master' of github.com:kubernetes/minikube into add-kubectl 2020-09-02 13:38:11 -07:00
Priya Wadhwa 22b40e215a revert static IP 2020-09-02 16:33:38 -04:00
Sharif Elgamal dd48dab036
Merge pull request #9164 from sharifelgamal/trim-project
trim whitespace when setting gcp project id
2020-09-02 13:28:54 -07:00
Sharif Elgamal ed4271ffbc trim whitespace when setting gcp project id 2020-09-02 11:42:47 -07:00
Thomas Stromberg 1fdf1637d7 Fix sysfs path 2020-09-02 11:39:02 -07:00
Thomas Stromberg 0ca05d92af Docker instead of Docker Service 2020-09-02 11:35:46 -07:00
Thomas Stromberg 465e15efe3 Use sysfs for a less-complicated overlay check 2020-09-02 11:33:57 -07:00
Thomas Stromberg 56cf67febe Don't suggest overlay kernel module if we are unable to check the status 2020-09-02 11:06:02 -07:00
Thomas Stromberg 0c1a117ef7 Docker for Desktop was renamed to Docker Desktop 2020-09-02 10:55:20 -07:00
Priya Wadhwa c91e47619b Better error message if binary does not exist 2020-09-02 13:43:04 -04:00
Thomas Stromberg c59210e1ef Skip overlay module suggestion on distros which do not support kernel modules, like WSL 2020-09-02 10:39:36 -07:00
Thomas Strömberg 78deeb5d1b
Merge pull request #9159 from priyawadhwa/upgrade-preload
Increase preload version to v6
2020-09-02 10:18:59 -07:00
Thomas Strömberg d1010424ac
Merge pull request #9151 from tstromberg/storage-provisioner-tag3
Bump storage-provisioner version to v3
2020-09-02 10:17:55 -07:00
Priya Wadhwa 1953f9310f Increase preload version to v6
We upgraded the dashboard image in #9129, this will rebuild tarballs to include the latest version.

This should also fix a small performance regression, where start time was increased by 25% on kvm2, probably becaues we were waiting for the new dashboard image to download. [PR bot comment](https://github.com/kubernetes/minikube/pull/9129#issuecomment-684035146)
2020-09-02 10:54:06 -04:00
Thomas Strömberg e3774449d5
Merge pull request #9143 from tstromberg/kc-recover
Repair kubecontext before checking cluster health
2020-09-02 07:53:59 -07:00
Priya Wadhwa ea5af644ec fix merge conflict 2020-09-02 09:31:42 -04:00
Thomas Strömberg d66a8e68c9
Merge pull request #8907 from sharifelgamal/external-ssh
respect native-ssh flag
2020-09-01 22:37:37 -07:00
Thomas Strömberg f8358d65d2
Merge pull request #9019 from AlexanderChen1989/master
fix multiple node calico-node not ready
2020-09-01 22:36:22 -07:00
Thomas Strömberg 939a3568ff
Merge pull request #9139 from priyawadhwa/download-only-mkcmp
mkcmp: download artifacts before timing start
2020-09-01 22:35:05 -07:00
Michael Ryan Dempsey 1859274e8a
refactor conversion functions into util 2020-09-01 21:21:07 -07:00
Michael Ryan Dempsey ad1e2e2de5
Use same conversion logic for bytes -> MiB everywhere 2020-09-01 21:20:09 -07:00
Michael Ryan Dempsey 6ad47f9560
use MiB for raw disk allocations 2020-09-01 21:20:08 -07:00
Michael Ryan Dempsey 9ff030942d
use MiB with kvm driver 2020-09-01 21:20:02 -07:00
Thomas Stromberg 72e786f73e Merge to master 2020-09-01 18:17:25 -07:00
Thomas Stromberg 51d1f2091c Update testdata 2020-09-01 16:49:49 -07:00
Thomas Strömberg 2dac55abf4
Merge pull request #9062 from kadern0/issue-8131
docker: Choose the appropriate bridge interface when multiple exist
2020-09-01 16:46:01 -07:00
Thomas Strömberg fae2358791
Merge pull request #8839 from staticdev/nginx-slow-version
Bump nginx-ingress-controller
2020-09-01 16:35:33 -07:00
Thomas Strömberg 8a26881552
Merge pull request #8159 from Asarew/docker-host-volumes
Support for mounting host volumes on start with docker driver
2020-09-01 16:30:45 -07:00
Thomas Strömberg 3fbbb557b1
Merge pull request #9032 from zhijianli88/cleanup-tempfiles2
Cleanup tempfiles2
2020-09-01 16:25:00 -07:00
Thomas Strömberg fba4de74cf
Merge pull request #8787 from saltbo/master
fix error usage for the WaitGroup in the pkg addons
2020-09-01 16:21:51 -07:00
Thomas Strömberg 79de7b116a
Merge pull request #9109 from vinu2003/fix-jsontypevalue-latestminikubeversion-startcmd
start: fixed the type value for latest minikube version availability message
2020-09-01 16:18:21 -07:00
Thomas Strömberg c31e6c6158
Merge pull request #9145 from tstromberg/mem-exit
Fix incorrect exit code for RsrcInsufficientDarwinDockerMemory
2020-09-01 16:05:23 -07:00
Thomas Strömberg b9d8aeaa31
Merge pull request #9148 from tstromberg/none-doc
Improve none usage documentation
2020-09-01 16:05:04 -07:00
Thomas Strömberg d84f87b3f2
Merge pull request #9129 from tstromberg/dashboard-bump
Update dashboard to v2.0.3
2020-09-01 16:01:47 -07:00
Thomas Strömberg 543247a1af
Merge pull request #9136 from priyawadhwa/leader-elect-bug
Fix --extra-config for scheduler/controllerManager by removing hardcoded values
2020-09-01 16:00:45 -07:00
Pablo Caderno 0408d3ba1a Added code to inspect docker networks to get the bridgeID correctly
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2020-09-02 08:44:07 +10:00
Priya Wadhwa a8bc207caf Merge branch 'master' of https://github.com/kubernetes/minikube into download-only-mkcmp 2020-09-01 17:33:46 -04:00
Thomas Stromberg 7fc0299c6f Disable swap in Docker/podman by setting --memory-swap to --memory 2020-09-01 13:57:52 -07:00
Thomas Stromberg 085bd38a09 Improve none usage documentation 2020-09-01 13:20:42 -07:00
Thomas Stromberg 2ec39f0ad6 Fix incorrect exit code for RsrcInsufficientDarwinDockerMemory 2020-09-01 10:59:27 -07:00
Dean Coakley 481cb50f74 Add leading newline for clarity 2020-09-01 15:08:57 +01:00
Dean Coakley e4a8e59cfa Add prune docker images instructions 2020-09-01 15:01:06 +01:00
Thomas Stromberg 4b53b465ce Repair missing/invalid kubecontext before checking cluster health 2020-09-01 06:24:23 -07:00
vinu2003 3e79f85065 start: fixed the type value for latest minikube version availability message 2020-09-01 22:54:09 +10:00
Thomas Strömberg 51a3155cfd
Merge pull request #9126 from tstromberg/error-code-for-everyone
Add a machine readable reason to all error paths
2020-08-31 22:34:24 -07:00
Thomas Strömberg cf7484ed59
Merge pull request #9128 from tstromberg/pvc-directory
Add namespace to persistent volume path
2020-08-31 22:34:03 -07:00
Priya Wadhwa 4a0d3fc703 fix lint' 2020-08-31 18:35:37 -04:00
Priya Wadhwa c2680cc9e4 Merge branch 'master' of https://github.com/kubernetes/minikube into unit-test 2020-08-31 18:35:19 -04:00
Priya Wadhwa 640f7254bc Fix unit test 2020-08-31 18:28:42 -04:00
Priya Wadhwa 5da473e46f fix unit test 2020-08-31 18:27:49 -04:00
Priya Wadhwa 12c9d7f1a8 print stderr to stderr 2020-08-31 18:22:05 -04:00
Priya Wadhwa f31d7781b0 Merge branch 'master' of https://github.com/kubernetes/minikube into download-only 2020-08-31 18:17:47 -04:00
Priya Wadhwa 7750b3c445 mkcmp: download artifacts before timing starT 2020-08-31 18:17:15 -04:00
Priya Wadhwa 695117f3d7 use GCS client to download binaries 2020-08-31 16:30:47 -04:00
Priya Wadhwa e323a6f86e Set leader-elect=false in code instead of in config
This sets leader-elect=false as extra options for the scheduler and controller manager. This way, users can easily override those values. This will also allow users to specify additional flags via `--extra-config` without overwriting the leader-elect section in the config.
2020-08-31 16:03:42 -04:00
Thomas Strömberg df906e5895
Merge pull request #9127 from kubernetes/windows-emoji
Add MINIKUBE_IN_STYLE auto-detection for Windows terminal
2020-08-31 12:58:12 -07:00
Thomas Stromberg 750cf39f1e Code review comments 2020-08-31 12:57:48 -07:00
Thomas Stromberg 09cdf602b8 Update TestFunctional/parallel/DryRun and TestJSONOutputError to match new behavior 2020-08-31 11:21:23 -07:00
Thomas Stromberg 69214c08bb Update test data 2020-08-31 11:11:25 -07:00
Thomas Stromberg 464bd48ea1 Update dashboard to v2.0.3 2020-08-30 22:32:20 -07:00
Thomas Stromberg c152570f6c Add namespace to persistent volume path 2020-08-30 22:27:04 -07:00
Thomas Stromberg b91b5f9cc4 Merge remote-tracking branch 'upstream/master' into windows-emoji 2020-08-30 22:11:27 -07:00
Thomas Stromberg 764f4a0b27 Add MINIKUBE_IN_STYLE auto-detection for Windows terminal 2020-08-30 21:54:36 -07:00
Thomas Stromberg f3cce500b0 Improve error disambiguation, especially for non-running drivers 2020-08-30 20:49:16 -07:00
Thomas Stromberg 7f5a06b606 Unwrap unnecessary level of error annotation for improved messages 2020-08-30 20:48:55 -07:00
Thomas Stromberg cd91fb8470 Unwrap unnecessary level of error annotation for improved messages 2020-08-30 20:48:20 -07:00
Thomas Stromberg 2c5e8fdaee Add detailed JSON & status codes for all error paths 2020-08-30 17:25:11 -07:00
Thomas Stromberg 305d3580ba Merge branch 'master' into 1.19.0-rc.4-updated 2020-08-28 10:33:17 -07:00
Thomas Strömberg c25a2e645c
Merge pull request #9111 from priyawadhwa/fix-kubelet
Don't enable kubelet until after kubeadm generates config
2020-08-28 10:32:40 -07:00
Priya Wadhwa 52724f956b Run kubelet-start after kubeconfig as recommended in 1.19 changelog 2020-08-28 12:23:25 -04:00
Priya Wadhwa b9aa9c0f0f Don't enable kubelet until after kubeadm generates /var/lib/kubelet/config.yaml 2020-08-28 12:19:36 -04:00
Thomas Stromberg a63a1ddcda Update to v1.19.0 final release 2020-08-26 13:27:05 -07:00
Thomas Stromberg cffa2ad0c7 Merge branch 'master' into 1.19.0-rc.4-updated 2020-08-26 13:26:05 -07:00
Priya Wadhwa 8a2ebd505b also output final event when complete 2020-08-26 12:16:17 -04:00
Priya Wadhwa f99781ec1d print download progress every second; previously we were printing 6000x/sec which is unnecessary 2020-08-26 12:11:11 -04:00
AlexanderChen1989 6a2fd9678a fix multiple node calico-node not ready 2020-08-26 11:02:49 +08:00
Priya Wadhwa b053267a81 update kic version to incorporate /kubepods change 2020-08-25 15:59:04 -07:00
Medya Gh 2ead04aea0 bump kic base changes 2020-08-24 15:10:53 -07:00
Priya Wadhwa d634a85ff9 use daemon info so this works for docker and podman 2020-08-24 17:50:09 -04:00
Thomas Stromberg 2605872fad Merge branch 'master' into 1.19.0-rc.4-updated 2020-08-24 14:47:35 -07:00
Priya Wadhwa 535294e523 fixed merge conflict 2020-08-24 17:35:03 -04:00
Medya Ghazizadeh b28673f305
Merge pull request #8671 from vinu2003/bumpup-kubelib-version-18.5
upgrade: bump kube library version to latest 1.18.5
2020-08-24 11:03:35 -07:00
Priya Wadhwa a767b64b41 fix merge conflict 2020-08-21 21:40:32 -04:00
Thomas Stromberg f5c3a82600 Merge branch 'master' into 1.19.0-rc.4-updated 2020-08-21 16:22:42 -07:00
Medya Ghazizadeh 1ca96bf5bb
Merge pull request #9043 from medyagh/lock_debug
tune machine lock for docker driver
2020-08-21 16:14:25 -07:00
Medya Gh dd64445b1a spell 2020-08-21 15:35:28 -07:00
Medya Gh 0bd2dc3bf3 add coment 2020-08-21 15:34:08 -07:00
Medya Gh 26f3b9c5ea improve lock name 2020-08-21 15:33:20 -07:00
Medya Gh a913339e21 spell 2020-08-21 15:11:16 -07:00
Thomas Stromberg d5f9613be0 Merge branch 'master' into 1.19.0-rc.4-updated 2020-08-21 15:10:32 -07:00
Medya Gh 9ab2040be9 logs 2020-08-21 15:10:15 -07:00
Medya Gh ba04b8bef9 tune lock timeout 2020-08-21 15:09:21 -07:00
Medya Ghazizadeh 02c7d0480c
Merge pull request #9054 from medyagh/post_val_panic
avoid post validation panic
2020-08-21 15:00:51 -07:00
Medya Gh 0849b48b9c improve post validation 2020-08-21 14:29:19 -07:00
Thomas Stromberg 3b42f5607a Remove TestCreateSSHShell - it's been flaky for years 2020-08-21 13:59:24 -07:00
Thomas Stromberg d2667324f6 Update DefaultKubernetesVersion to v1.19.0-rc.4 2020-08-21 13:39:28 -07:00
Thomas Strömberg 135d7bd7e4
Merge pull request #9045 from tstromberg/1.19.0-rc.4-updated
Update NewestKubernetesVersion to v1.19.0-rc.4
2020-08-21 13:38:51 -07:00
Thomas Strömberg f492215009
Merge pull request #9046 from tstromberg/cni-true
Allow flannel CNI to work with kicbase by fixing IP conflict
2020-08-21 13:38:39 -07:00
Priya Wadhwa 88aece40d2 change name 2020-08-21 15:05:37 -04:00
Thomas Stromberg c254778f39 Update CoreDNS and etcd images for Kubernetes v1.19 2020-08-21 10:45:23 -07:00
Thomas Stromberg 0cfd9e7cf4 Merge branch 'master' into 1.19.0-rc.4-updated 2020-08-21 10:44:31 -07:00
Priya Wadhwa acd6589c5d Remove debugging 2020-08-21 09:56:03 -04:00
Priya Wadhwa 44b93f4776 Change MemoryCapacity to StorageCapacity to be more accurate 2020-08-21 09:49:48 -04:00
Thomas Stromberg c052d1ad18 Allow flannel CNI to work with kicbase by relocating conflicting file 2020-08-20 17:54:42 -07:00
Priya Wadhwa 4fcffca3db write events to file, but not in parallel 2020-08-20 20:48:18 -04:00
Thomas Strömberg e2e4ef168d
Merge pull request #8850 from priyawadhwa/proxy
set proxy-refresh-interval=70000 for etcd to improve CPU overhead
2020-08-20 14:05:11 -07:00
Thomas Stromberg 444dde078f Update NewestVersion to v1.19.0-rc.4 2020-08-20 13:38:45 -07:00
Priya Wadhwa 7eda3a7711 Create new exit code for InsufficientStorage 2020-08-20 15:27:06 -04:00
Medya Gh 0afe83e015 reduce machine lock time for docker driver 2020-08-20 11:45:12 -07:00
Medya Ghazizadeh b27dbc0dd4
Merge pull request #9037 from medyagh/swarm_
add swarm and storage driver to DaemonInfo
2020-08-20 09:55:55 -07:00
Li Zhijian 113e640c0d create a temp MinikubeHome for a few cluster tests
these tests will write something to the MinikubeHome. Previously, these
tests will use the environment value of MinikubeHome directly which might
dirty the previous MiniKubeHome

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-20 11:49:12 +08:00
Li Zhijian 95e7203900 add a temp MinikubeHome for TestStart
this test will write a config.json into MinikubeHome, create a temp dir for it

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-20 11:49:07 +08:00
Medya Gh 56691f839c add swarm and storage driver to DaemonInfo 2020-08-19 15:38:56 -07:00
Priya Wadhwa e1deec7019 improve output 2020-08-19 17:57:56 -04:00
Priya Wadhwa e1ed864708 Merge branch 'master' of https://github.com/kubernetes/minikube into var-status-code 2020-08-19 17:44:51 -04:00
Priya Wadhwa a32896192d add todo 2020-08-19 16:31:23 -04:00