Commit Graph

189 Commits (0fe8f77f7ad5e3b2bab31f253d21b634181833b3)

Author SHA1 Message Date
Ajanthan b6b6fa1cb2 Validating localkube version while constructing download url (#663) 2016-10-07 10:45:27 -07:00
aprindle 7e78514174 Added opt in to stackdriver error reporting 2016-10-03 09:22:30 -07:00
dlorenc 8611a455ca Initial configurator commit. 2016-09-30 10:05:14 -07:00
dlorenc b7523e4400 Add a default NodeEvictionRate 2016-09-29 16:00:26 -07:00
dlorenc 311cba971d Manual merge fix for 1.4 to build. 2016-09-29 15:57:33 -07:00
dlorenc f6497556fb Add method to provision mock. 2016-09-27 16:53:00 -07:00
Dan Lorenc 31b2b9e7ae Check localkube SHAs.
Also add notes to the RELEASING.md doc, and a make target to test the release.
2016-09-27 10:59:02 -07:00
Aaron Prindle 378e88b4a9 Changed docker-machine and sshutil to support hostnames with colons in them, for example ipv6 addresses 2016-09-23 13:32:25 -07:00
dlorenc 5cf2a81121 Merge pull request #620 from dlorenc/shacheck
Add a test for checking SHAs.
2016-09-23 11:11:11 -07:00
dlorenc 2a877a522b Add a test for checking SHAs. 2016-09-23 10:54:14 -07:00
dlorenc 47f58627a3 Always use the minikube context when creating a client. 2016-09-22 08:30:47 -07:00
dlorenc edbaf1a8bf Cut v0.10.0, also bump the ISO URL. 2016-09-15 11:53:02 -07:00
Aaron Prindle 3fcfb67f58 Added error reporting functionality and testing. 2016-09-13 11:18:25 -07:00
dlorenc 02ca33a869 Enable dynamic provisioning. 2016-09-09 10:02:11 -07:00
Sergiusz Urbaniak 3945c3bffb
localkube: add rkt, and CNI support 2016-09-09 13:48:22 +02:00
Aaron Prindle dab3190fef Changed minikube code to use pkg/errors, this is to improve error
messages to allow for stacktraces for future error-reporting. Added
error messages to .Wrap errors.
2016-09-08 14:59:35 -07:00
Aaron Prindle 6017e34d4d Fixed integration tests, adding test output to ssh mock, change help text to use multi-line string and
updated docs.
2016-09-08 13:13:15 -07:00
Aaron Prindle 3ef433d259 Added localkube status to minikube status. Also added format flag to
configure status output.  Also updated docs.  Also added godoc url to
help text for status.
2016-09-07 14:18:19 -07:00
Dan Lorenc 6219286cae Cleanup some "go vet" and "go lint" errors.
We should automate these checks...
2016-09-06 20:47:12 -07:00
dlorenc 12dfb47bca Merge pull request #545 from r2d4/config-set
minikube config get/set/unset cmd
2016-09-06 20:32:17 -07:00
Matt Rickard a8dbc18b51 Add minikube config get/set/unset commands
This introduces the minikube config get/set/unset command. At a basic level, it allows a more user friendly interface for setting minikube config values, but it also allows us to run validations and callbacks before and after the values have been set.
2016-09-06 15:14:28 -07:00
Jimmi Dyson 719bbaf86b
Ensure node IP is routable address 2016-09-05 14:33:27 +01:00
dlorenc a4e767a7a4 Merge pull request #546 from jimmidyson/xhyve-hostname
Set hostname to minikubevm for xhyve driver
2016-09-02 13:35:08 -07:00
Jimmi Dyson 6fe48afbe7
Rename VM to simple minikube 2016-09-02 19:53:41 +01:00
Jimmi Dyson c9ce60fcc9
Set hostname to minikubevm for xhyve driver 2016-09-02 16:26:44 +01:00
Vic Iglesias b1e1b2c151 Enable host path provisioner 2016-09-01 14:41:04 -07:00
Aaron Prindle 3229aab37d Added .minikube/addons directory where users can put addons they would
like initialized in their minikube vms.  Refactored asset transfer to
VM.  Refactored code to use a base asset.  Made file length checking use
.Stat(). Added constructors for FileAsset and MemoryAsset.
2016-08-29 10:59:41 -07:00
Matt Rickard 7570ae1122 Ensures that we get the same IP between start/delete
The xhyve driver added support for the UUID flag in xhyve
https://github.com/zchee/docker-machine-driver-xhyve/pull/133

Fixes https://github.com/kubernetes/minikube/issues/516
2016-08-24 11:27:46 -07:00
dlorenc 59ad726e6c Merge pull request #506 from dlorenc/isovalidate
Add ISO checksum validation.
2016-08-24 09:34:05 -07:00
Jimmi Dyson abbb0f1469
Add hyperv support 2016-08-24 16:16:07 +01:00
dlorenc 8c6ae71eb6 Add ISO checksum validation. 2016-08-20 17:33:50 -07:00
Aaron Prindle 14dca26a09 Cutting v0.8.0 release 2016-08-17 11:40:14 -07:00
dlorenc 28132517ed Merge pull request #484 from tsl0922/regist-mirror
Add registry-mirror option to minikube start
2016-08-16 11:04:23 -07:00
dlorenc 8953283ac6 Merge pull request #475 from jimmidyson/docker-api-version
Add DOCKER_API_VERSION to docker-env command
2016-08-15 12:57:03 -07:00
Shuanglei Tao 641910d8a8 Add registry-mirror option to minikube start 2016-08-13 22:55:48 +08:00
Matt Rickard bc363cfdb9 Add env variables for viper controlled vars
Minikube will now read from env variables with the MINIKUBE_ prefix.
These variables will be read on every viper.Get() and will overwrite default
variables.  When we add binding to pflags, flags will overwrite env
variables.  At this time, only notification settings are controlled by
viper.
2016-08-12 13:25:04 -07:00
dlorenc 4506f4fa1d Merge pull request #472 from r2d4/iso-check
Check HTTP Response status when trying to download minikube.iso
2016-08-12 09:17:07 -07:00
Matt Rickard 7105a9bc98 Refactoring conditional block 2016-08-11 21:40:26 -07:00
dlorenc d799222e35 Merge pull request #428 from aaron-prindle/dashboard-wait
Have working minikube service & minikube dashboard wait until ready functionality.
2016-08-11 15:48:45 -07:00
Aaron Prindle c82cd94f14 Added unit tests for CheckEndpointReady. Also refactored code, cleaned
error messages, fixed gofmt, inlined/compacted structs in test, and
changed output to os.Stderr.
2016-08-11 15:16:24 -07:00
Jimmi Dyson 823dabf5f9
Add DOCKER_API_VERSION to docker-env command 2016-08-11 15:42:17 +01:00
Matt Rickard 39a6b586da Check HTTP Response status when trying to download minikube.iso
Check the response so that we don't actually download an error page or
something other than the ISO we're looking for.
2016-08-10 20:17:50 -07:00
Aaron Prindle 3f478fa025 Having working minikube service & minikube dashboard wait until ready
functionality using endpoints.
2016-08-10 10:04:24 -07:00
Matt Rickard 551a85b233 Adding a Virtio9p mount for /Users with xhyve
This feature is enabled in v0.2.3 of the docker xhyve driver
Enabling this by default on cluster_darwin

This resolves issue #423
2016-08-09 10:30:47 -07:00
Jimmi Dyson 4185dc148c Merge pull request #463 from dlorenc/etcd
Actually store registered etcd listeners.
2016-08-08 21:40:55 +01:00
Dan Lorenc 4cfbc17dcb Actually store registered etcd listeners. 2016-08-08 13:04:36 -07:00
Aaron Prindle 33063656fc Added appropriate methods to be part of localkubeCacher. Removed unused methods. 2016-08-08 11:58:57 -07:00
Aaron Prindle d28adc969d Fixed file:// URIs to work properly with local localkube and --kubernetes-version flag 2016-08-08 11:51:25 -07:00
Aaron Prindle 976eeeb12e Added unit tests which cover localkube caching scenarios. Refactored
code to use localkube_caching.go and localkubeCacher.
2016-08-08 11:51:25 -07:00
Aaron Prindle 405453758e Added localkube caching functionality. Also cleanup up private/public
functions in cluster.go, added v1.3.3 to k8s_releases.json and fixed
link in LOCALKUBE_RELEASING.md.  Fixed TestUpdatedKubernetesVersion to
use tmp dir as caching is now used for localkube.
2016-08-08 11:50:57 -07:00