Commit Graph

89 Commits (fe087c61263959efbb82fd96c02cb2f70f3c5005)

Author SHA1 Message Date
Matt Rickard fe087c6126 Use config when flags are not set for logging
Use viper in addition to flags for logging options.  Since these flags
are used in glog, we can't directly use viper.  Instead, we use viper's
built in precedence logic (https://github.com/spf13/viper#why-viper)
to set the flags directly.
2016-08-22 09:50:13 -07:00
Aaron Prindle 9cff8573b2 Made it so that debug is enabled for --show-libmachine-logs flag. 2016-08-19 11:18:55 -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 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
Aaron Prindle 3f478fa025 Having working minikube service & minikube dashboard wait until ready
functionality using endpoints.
2016-08-10 10:04:24 -07:00
Dan Lorenc 63e0b80d56 Remove the "kubernetes is now available" line from start. 2016-08-08 14:50:13 -07:00
dlorenc 38d0f08351 Merge pull request #462 from r2d4/config
Add warning message for failure to read conf
2016-08-08 11:07:26 -07:00
dlorenc 2cdab03e53 Merge pull request #439 from alexbrand/host-cidr
Add ability to specify CIDR for Virtualbox minikube
2016-08-08 10:59:36 -07:00
Matt Rickard 25ba50166a Added config path to warning message 2016-08-08 10:53:01 -07:00
Matt Rickard f8e2bc9231 Add warning message for failure to read conf
The configuration file is optional, however when/if we move more
options to be configurable through the viper yaml file, this would be
nice to see when debugging.
2016-08-08 10:13:03 -07:00
dlorenc a76133b5e3 Don't drop errors during creation retries. 2016-08-04 10:54:36 -07:00
abrand 5838c7d833 Add ability to specify CIDR for Virtualbox minikube 2016-08-02 20:06:37 -04:00
Aaron Prindle 0b1cfce102 Refactored localkube url/asset code, fixed url.Parse code, updated flag
help message to add URI information, updated docs, fixed unused vars and removed unneeded comments
2016-07-29 15:27:09 -07:00
Aaron Prindle b3fe5faae6 Cleaned up start flags, added more robust URL checking for localkube
flag URL and added check to prepend 'v' to version # if it is missing
2016-07-28 12:33:34 -07:00
Aaron Prindle bd4e244ce8 Updated docs. Added retrying for the localkube download. 2016-07-28 12:33:34 -07:00
aprindle 53e80a9c6f Changed kubernetes-version to take k8s version as input (as well as
url) and to copy files from host to the vm instead of curl within vm.
Also made it so that sshutil.Transfer is done via a Reader.
2016-07-28 12:33:34 -07:00
aprindle bf3b82e5ce Working kubernetes/localkube versioning via a flag and tests 2016-07-28 12:33:34 -07:00
Jimmi Dyson 90cd742cca
Prevent version check for version subcommand 2016-07-27 13:59:53 +01:00
Jimmi Dyson e6c988e5a7
docker-env: improve template error handling 2016-07-26 09:21:03 +01:00
Rod Cloutier c847979cab
docker-env command: Added support for multiple shells with no-proxy and unset flags 2016-07-25 15:58:16 +01:00
Jimmi Dyson 22bac3210b Merge pull request #386 from ascheman/feature/insecure-registry
Add insecure-registry option to minikube start
2016-07-22 10:45:04 +01:00
Gerd Aschemann 82f5cb0a08 Fix source code formatting via gofmt (kubernetes/minikube#385) 2016-07-22 10:00:48 +02:00
Gerd Aschemann 5b2655f1f3 Add insecure-registry option to minikube start (cf. kubernetes/minikube#385) 2016-07-22 01:38:17 +02:00
dlorenc 6fcf2cda6d Merge pull request #362 from aaron-prindle/cache-files
Have iso caching working
2016-07-21 11:23:39 -07:00
Aaron Prindle 3e06673fc5 Refactored iso caching code 2016-07-21 09:53:52 -07:00
Jimmi Dyson a2f789590b
Enable all available APIs 2016-07-21 15:39:37 +01:00
Aaron Prindle 072991e2e5 Have iso caching working 2016-07-19 15:58:25 -07:00
Dan Lorenc c6b2649966 Add a flag to minikube start to allow passing environment variables to Docker. 2016-07-18 10:27:09 -07:00
Jimmi Dyson f602020f02
Create long lived CA certificate 2016-07-12 15:59:38 +01:00
Jimmi Dyson 4488219180
Make disk size configurable 2016-07-10 23:43:54 +01:00
Jimmi Dyson 7d5aca9fe3
Switch API server to port 8443 2016-07-08 23:38:27 +01:00
dlorenc 759f5c54ec Merge pull request #294 from dlorenc/start
Always set the current context to 'minikube' after a start.
2016-07-08 12:34:38 -07:00
dlorenc 9fa002d573 Merge pull request #277 from aaron-prindle/get-kubernetes-version
Added get_kubernetes_versions command and tests
2016-07-07 13:38:47 -07:00
dlorenc 4f6a268961 Always set the current context to 'minikube' after a start. 2016-07-07 13:19:29 -07:00
aprindle 216077d8b8 Added get-k8s-versions command and tests. 2016-07-06 14:15:38 -07:00
Jimmi Dyson 44b2d9ce20
Add service command, copied & refactored from dashboard command 2016-07-04 15:08:27 +01:00
aprindle 32843fa860 Fixed spam caused by etcdserver/api/v2http logging through capnslog, changed etcdserver/api logging to be for NOTICE lvl and above 2016-06-30 10:34:36 -07:00
Steve Sloka 95edd89399 Added flag to allow the number of CPU's to be specified as flag to start command 2016-06-27 15:32:16 -04:00
dlorenc 88f11109d5 Merge pull request #191 from aaron-prindle/update-notifier-no-lib
Have update notifier working and tests
2016-06-21 13:32:21 -07:00
Dan Lorenc 6cd2db3b67 Update start text to mention that kubectl is configured automatically. 2016-06-17 13:13:14 -07:00
aprindle f5a56b1d60 Finished tests for update notifier 2016-06-14 13:00:01 -07:00
aprindle dd875f614e Have update notifier working, need to add tests 2016-06-14 13:00:01 -07:00
aprindle 03cca006ee Added --memory flag to minikube start so that users can configure the ram of the vm 2016-06-13 18:13:53 -07:00
Brandon Philips 53ee8642f8 cluster: add support for vmwarefusion driver
Add support for the vmwarefusion driver which is greatly more stable on
OSX. Also, document it in the README as an option.
2016-06-11 19:47:11 -07:00
aprindle adf5fc48fa Added dashboard cmd to minikube. Also added dependencies via godep.
In the future will add feature to wait for dashboard to start and then
display if it is not running yet.
2016-06-07 11:43:47 -07:00