Commit Graph

572 Commits (1e8bd6f060c79ca5d84e5c8918c6e400a984b87a)

Author SHA1 Message Date
Thomas Strömberg 702d471308
Merge pull request #3714 from laozc/custom-image-repository
Add --image-repository flag so that users can select an alternative repository mirror
2019-03-22 09:24:18 -07:00
Zhongcheng Lao daec030cdf Render asset template when enabling/disabling addon 2019-03-22 15:28:20 +08:00
Thomas Strömberg cbac94a53d
Merge pull request #3879 from marcosdiez/extra_config_for_kubeadm
--extra-config now work for kubeadm as well
2019-03-21 22:03:06 -07:00
Zhongcheng Lao 7ae074106c Merge remote-tracking branch 'origin/master' into custom-image-repository 2019-03-22 10:42:09 +08:00
Thomas Stromberg 5b46539be8 Fix merge conflict between e09133892f and 46640cef68 2019-03-21 16:11:16 -07:00
Thomas Strömberg ed58b6fc35
Merge pull request #3917 from tstromberg/cache_me_outside_how_bout_dat
start: Set the default value of --cache to true
2019-03-21 14:29:24 -07:00
Thomas Strömberg 88c45bf5b2
Merge branch 'master' into lint 2019-03-21 11:34:45 -07:00
Thomas Strömberg 20b9cfd0f3
Merge pull request #3897 from u5surf/issue-3878
Replace server name in updateKubeConfig if --apiserver-name exists #3878
2019-03-21 11:33:54 -07:00
Thomas Strömberg 6bf6290013
Merge pull request #3861 from RA489/featuregate
feature-gates via minikube config set
2019-03-21 11:33:41 -07:00
Thomas Strömberg f9a136a2f2
Merge pull request #3841 from afbjorklund/reportcard
Address the low-hanging fruit on report card
2019-03-21 11:33:28 -07:00
Thomas Strömberg 460ef571e2
Merge branch 'master' into lint 2019-03-21 11:32:47 -07:00
Thomas Stromberg 034c5f0252 Merge branch 'master' into mount-intr 2019-03-21 11:24:26 -07:00
Thomas Strömberg 2d4e560d30
Merge pull request #3834 from tstromberg/proxy-plumbing
Automatically propagate proxy environment variables to docker env
2019-03-21 10:27:37 -07:00
Marcos Diez 7de36ed9a1 allow --extra-config work on kubeadm as well. example: --extra-config kubeadm.ignore-preflight-errors=SystemVerification
missing variable
2019-03-21 06:33:46 -03:00
Zhongcheng Lao daeb238766 Merge remote-tracking branch 'origin/master' into custom-image-repository 2019-03-21 13:23:11 +08:00
Thomas Stromberg c848103ab1 start: Set the default value of --cache to true 2019-03-20 21:49:22 -07:00
Thomas Strömberg 2579c73e11
Merge pull request #3875 from steved/fix-change-user-none
fix CHANGE_MINIKUBE_NONE_USER regression from recent changes
2019-03-20 20:11:06 -07:00
Thomas Stromberg 79aafd525f Merge branch 'master' into mount-intr 2019-03-20 19:56:43 -07:00
Thomas Strömberg 6751e394f8
Merge pull request #3833 from afbjorklund/cruntime-version
Cruntime version
2019-03-20 19:55:45 -07:00
Thomas Strömberg 0d6c92153f
Merge branch 'master' into reportcard 2019-03-20 19:16:02 -07:00
Thomas Stromberg 0197b12a82 Make mount type a flag instead of a hardcoded string 2019-03-20 17:13:32 -07:00
Thomas Strömberg 4756b15bc1
Merge branch 'master' into lint 2019-03-20 10:16:09 -07:00
u5surf a34a9d32e6 Replace server name in updateKubeConfig if --apiserver-name exists #3878 2019-03-18 22:15:56 +09:00
Anders F Björklund 5497b966be Rename stutter and move classes between packages
Removing the kubeconfig module is probably not a big deal,
since it was already hiding under the "util" directory...

But the layout of the Bootstrapper is slightly irritating,
as long as it is contained in a different "kubeadm" module.
2019-03-16 16:57:56 +01:00
Anders F Björklund dba916a016 Document all exported functions inside minikube
Make config get/set more symmetrical, as well.
2019-03-16 16:57:43 +01:00
Anders F Björklund edf46f003f Document all exported functions outside minikube 2019-03-16 16:57:37 +01:00
Zhongcheng Lao 40caf8317c Merge remote-tracking branch 'upstream/master' into custom-image-repository 2019-03-15 18:01:48 +08:00
Steven Davidovitz a94e0ac2f8 fix CHANGE_MINIKUBE_NONE_USER regression from recent changes
6c48048538 changed the order of the
startup script so that now the CHANGE_MINIKUBE_NONE_USER `chown` doesn't
actually kick in after the files are added.
2019-03-14 09:05:51 -07:00
RA489 8fc1d494fa [FEATURE] feature-gates via minikube config set 2019-03-12 17:55:07 +05:30
Thomas Stromberg 1b67196401 Improve options output 2019-03-11 16:25:43 -07:00
Thomas Stromberg c713b186e8 unmount on sigint/sigterm, --options and --mode, improve mount UI 2019-03-11 16:18:06 -07:00
Anders F Björklund 6d96a67456 Run go vet on all code, not just pkg and cmd 2019-03-10 14:33:24 +01:00
Anders F Björklund 61dd4ab1fd Address unused error, reported by ineffassign
minikube/cmd/minikube/cmd/env.go
    Line 330: warning: ineffectual assignment to err (ineffassign)
2019-03-10 13:41:59 +01:00
Anders F Björklund 112a66c21a Add some error reporting to the version method 2019-03-10 10:18:26 +01:00
Anders F Björklund 9b2fad5710 Show current version of the container runtime 2019-03-10 10:09:59 +01:00
Thomas Stromberg ecb6f3bb31 Automatically propagate proxy environment variables to docker env 2019-03-08 13:12:29 -08:00
Thomas Stromberg 56a51ffe0d Merge branch 'master' into cache_images_int_test2 2019-03-06 15:21:11 -08:00
Tom Reznik c4ee5eec08 fix incorrect style name mount 2019-03-04 23:59:46 +02:00
Anders F Björklund 46640cef68 Address all lint except undocumented and stutter
These two lint warnings still remain, after the cleanup:
"exported ... should have comment or be unexported"

"type name will be used as foo.FooBar by other packages,
 and that stutters; consider calling this Bar"
2019-03-02 22:03:55 +01:00
Zhongcheng Lao ba5a02596f Change --image-repository usage text 2019-02-28 10:15:08 +08:00
Thomas Stromberg e09133892f Fix docker/containerd caching, improve msgs, add tests 2019-02-27 13:58:33 -08:00
Anders F Björklund 167d1584a6 Add flag for disabling the VirtualBox VTX check
Currently this is broken upstream, provide workaround...

Already available in docker-machine, so port to minikube.
2019-02-22 18:29:29 +01:00
Thomas Strömberg 3426326ed7
Merge pull request #3719 from tstromberg/none-doc-fix
chown command should be against user $HOME, not roots home directory.
2019-02-19 13:08:09 -08:00
Thomas Stromberg 245ec739ca chown command should be against user $HOME, not roots home directory. 2019-02-19 11:47:00 -08:00
Zhongcheng Lao 7cbe253ef6 Allow specifying image repository for docker images
Some users (especially for those in mainland China) may have issue
accessing the default image repository. This patchset allows users
to override the default image repository gcr.io to a different
repository by specifying --image-repository option in the command
line as a simple workaround. Images will be pulled from the
specified image repository instead of the default ones.

Example (using mirror by Aliyun):
minikube start ...
   --image-repository
   registry.cn-hangzhou.aliyuncs.com/google_containers
2019-02-18 01:00:12 +08:00
Thomas Stromberg 19c2f5cb44 Make non-zero ssh error codes less dramatic 2019-02-16 08:36:53 -08:00
Anders F Björklund 637e71fa4c Improve reporting when docker host/service is down
Don't just wait for a timeout, when SSH is not running.

Also improve the message, don't need to comment stderr.
2019-02-16 09:29:46 +01:00
Thomas Stromberg b80498fcb4 Merge from HEAD 2019-02-15 09:24:35 -08:00
Thomas Stromberg 4a1feb6531 Reduce text clutter 2019-02-15 07:16:41 -08:00
Thomas Stromberg 71eafef5ce Overhaul how we handle kubectl, as it isn't actually required except for the dashboard 2019-02-14 17:10:03 -08:00