Commit Graph

153 Commits (f6e3e12655dd30898364bbfd92cae3f92d288d90)

Author SHA1 Message Date
Aaron Prindle ec64e811aa Fix service list command 2016-12-02 11:36:35 -08:00
Matt Rickard 3db2fa95b0 Merge pull request #879 from r2d4/dupe
Dedupe minikube addons open subcommand
2016-12-02 11:02:56 -08:00
Matt Rickard 2569258ef2 Dedupe minikube addons open subcommand 2016-12-02 10:17:46 -08:00
Matt Rickard e7afea8215 Change instructions for completion bash on OS X
OS X default version of bash doesn't support process substitution.
https://github.com/kubernetes/minikube/issues/844#issuecomment-262587570
2016-12-01 14:21:41 -08:00
dlorenc b9d78a675d Handle multiple KUBECONFIGs 2016-11-29 11:09:55 -08:00
Andreas Kohn d34e961c2f
Add missing word in help text 2016-11-28 13:58:58 +01:00
clchen 539886eeda fix msg format 2016-11-23 10:28:23 +08:00
Matt Rickard 452a1e52c2 Merge pull request #833 from r2d4/retry
Retry for configureAuth on minikube start
2016-11-21 14:09:45 -08:00
Matt Rickard b72efef48d Retry for configureAuth on minikube start
Sometimes the docker daemon isn't ready and on a restart and libmachine
times out while trying to reach it.  This retries when it isn't ready.

This fixes timeout problems in our virtualbox integration tests.
2016-11-21 13:32:34 -08:00
Aaron Prindle 3fe4ef3e83 Added heapster to set of addons. Need to add test and repackage things to remove duplicated code. 2016-11-18 17:36:54 -08:00
Aaron Prindle 0e33746e1d Merge pull request #783 from aaron-prindle/kubectl-hint
Added check for kubectl to each command (in root.go)  This prompts user
2016-11-09 15:17:25 -08:00
vishah 980388f58e Fixes issue #811 by updating upstream spf13/pflag and using StringArrayVar in place of StringSliceVar for docker-env flag 2016-11-09 10:20:51 -05:00
Aaron Prindle 1960618ae1 Added check for kubectl to each command (in root.go) This prompts user
with kubectl install one-liner for latest kubectl version.  Also added
config for enable/disable.  Still need to add tests.
2016-11-03 13:26:06 -07:00
Jimmi Dyson 0bbcce5786
Fix dashboard command by adding service format template 2016-10-29 09:00:16 +01:00
Alexander Kanevskiy 2e12253a11 fix usage of errors.Wrap()
Format strings are not supported by errors.Wrap, so cleanup
them from error output where it is not needed.
2016-10-28 15:13:06 +03:00
Jimmi Dyson c057dede1f
Refactor multiple service ports handling after service list command added 2016-10-27 16:39:03 +01:00
Aaron Prindle bc1f5db71a Added functionality to read/open multiple ports via service cmd. Also
updated tests and help text for multiple ports.  Also updated docs.
2016-10-26 15:14:18 -07:00
dlorenc 55fd539300 Merge pull request #728 from jimmidyson/service-list
Add service list subcommand
2016-10-26 13:10:43 -07:00
Matt Rickard 80905d7fbd Merge pull request #738 from r2d4/dns
Remove vendored kube2sky, Add kube-dns as cluster addon
2016-10-26 10:16:12 -07:00
Jimmi Dyson badf04b4d2
Add service list subcommand 2016-10-26 14:43:08 +01:00
Aaron Prindle f478292cd2 Merge pull request #722 from aaron-prindle/validate-service-cmd
Validate the service for the minikube service cmd
2016-10-25 14:40:44 -07:00
Matt Rickard 7560384fc8 Remove vendored kube2sky, Add DNS as cluster addon
Removes the vendored in kube2sky built into the minikube binary and
replaces the dns solution with kube-dns cluster addon.  This will allow
users to swap out DNS implementations by simply turning off the
kube-dns addon.
2016-10-25 14:00:51 -07:00
Aaron Prindle 8b5d027fd3 Validate the service for the minikube service cmd. 2016-10-25 13:45:26 -07:00
dlorenc 19e44dcf33 Merge pull request #745 from borisroman/feature/kvm_network
Add option to specify network name for KVM.
2016-10-24 12:37:43 -07:00
Boris Schrijver e717f5f84a Add option to specify network name for KVM. 2016-10-24 16:22:32 +02:00
Matt Rickard 24bced3969 Add simple bash completion for minikube
Similar to `kubectl completion bash`.  Does not support more advanced
queries, just commands.  Added as part of `make gendocs`
2016-10-21 14:42:06 -07:00
dlorenc 129f565611 Merge pull request #719 from aaron-prindle/hyperv-switch-flag
Added hyperv virtual switch configuration flag for hyperv driver
2016-10-21 10:03:23 -07:00
dlorenc 3a61ad6ab2 Merge pull request #731 from dlorenc/env
Add support for the KUBECONFIG env var during 'minikube start'.
2016-10-21 09:50:10 -07:00
Aaron Prindle f2f53e946e Added hyperv virtual switch configuration flag for hyperv driver. Also
updated docs.
2016-10-20 17:11:31 -07:00
Aaron Prindle 365599ff29 Reduced the number of error reporting endpoints as some were user error and some did not give useful output that we could act on (example: ssh) 2016-10-20 12:07:01 -07:00
dlorenc 20e6b2a56f Add support for the KUBECONFIG env var during 'minikube start'. 2016-10-20 11:41:11 -07:00
Jimmi Dyson e62d7291a6
Limit error reporting message to 80 cols width to reduce dodgy wrapping 2016-10-20 10:55:24 +01:00
Jimmi Dyson 3e82478373
Add format flag to service command 2016-10-19 19:52:33 +01:00
Jimmi Dyson 097505b540
Add config view subcommand 2016-10-14 19:46:59 +01:00
Matt Rickard 4cfca59c5c Add RetryableError for the Retry util
This way we can selectively retry the errors that are caused by some
temporary or ephemeral condition such as the pods not being up yet.
2016-10-13 13:53:38 -07:00
dlorenc c9389ee6fa Merge pull request #693 from dlorenc/service
Check to see if any endpoints are ready, instead of if any endpoints …
2016-10-13 13:45:11 -07:00
dlorenc 24682f1005 Check to see if any endpoints are ready, instead of if any endpoints are not ready. 2016-10-13 11:26:30 -07:00
Matt Rickard e23d88be71 Set default log_dir to ~/.minikube/logs
A hack around specifying the default log dir for glog.  Since we can't
set it without modifying the flag, we check if the flag has been
changed.  If not, we set it to our default value.
2016-10-12 10:40:14 -07:00
Aaron Prindle 2d2b484a22 Have working minikube addons command w/ enable, disable, delete. Also
updated docs.
2016-10-11 11:08:55 -07:00
Aaron Prindle 491e6c6d1c Added WantReportErrorPrompt to config 2016-10-06 15:12:45 -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
Matt Rickard d45e44fe22 Add in a list of available fields in minikube config -h
Since not all fields are able to be set, let users know which are.
2016-09-28 11:56:53 -07:00
Brandon Philips 010502866b cmd: minikube: print newlines for service not ready
No newlines were printed before which made it look weird.
2016-09-17 16:35:22 -07:00
Aaron Prindle 3fcfb67f58 Added error reporting functionality and testing. 2016-09-13 11:18:25 -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
dlorenc dc60de97db Merge pull request #520 from aaron-prindle/better-status
Added localkube status to minikube status
2016-09-08 13:47:04 -07:00
dlorenc deb12103ce Merge pull request #553 from r2d4/loglevel
Add a log level threshold to libmachine debug logs
2016-09-08 13:46:47 -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