Commit Graph

693 Commits (62c0d53b7de3e40b6981d2125e00595628547022)

Author SHA1 Message Date
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
dlorenc 5d775b4d8d Merge pull request #144 from dlorenc/logs
Add a flag to hide libmachine logs.
2016-06-02 09:00:56 -07:00
dlorenc 0ff6bbfa17 Add a retry utility to util, and use it to retry cluster creation.
This fixes the phantom errors we see on ubuntu that are fixed by rerunning start.
2016-06-01 13:53:09 -07:00
dlorenc 44567c03d8 Add a flag to hide libmachine logs.
These logs often reference docker-machine itself, which is confusing to
users. We should log everything we need to ourselves.
2016-05-31 15:18:27 -07:00
aprindle a917beaee2 Have ssh command working and unit-test passing. Also changed log->glog in ssh_mock. 2016-05-31 10:02:33 -07:00
Lucas Käldström 84004ad6c3 Run gofmt 2016-05-28 18:10:56 +03:00
Lucas Käldström a62e9e5ca8 Removed localkube start and version commands in favor for starting as default and using version as a flag. Also the version is now set my the Makefile 2016-05-28 17:50:36 +03:00
Dan Lorenc abca78dfde Allow glog flags in localkube. 2016-05-27 15:55:16 -07:00
aprindle 778ae79a26 Added glog in place of log.*-and-fmt.Error* for cmd/minikube,
cmd/localkube, pkg/minikube and pkg/localkube
2016-05-27 12:48:25 -07:00
Dan Lorenc 01b76efc7f Configure capabilities explicitly before starting localkube.
There's a race condition in the current capability initialization. These
can only be configured once per binary, so if the APIServer goroutine
sets it first the kubelet goroutine can never change this value.
2016-05-27 11:10:38 -07:00
aprindle 706f974751 finished logs functionality and tests 2016-05-27 09:16:18 -07:00
Lucas Käldström 00d4152313 Rename some constants in constants.go to Default..., and break out more constants 2016-05-25 23:25:49 +03:00
Lucas Käldström 1a3ef791f9 Add a version command to minikube too 2016-05-25 23:24:12 +03:00
dlorenc a8b12f7d78 Switch to using a versioned ISO url. 2016-05-25 08:43:13 -07:00
aprindle 8f1c2e0647 added env functionality and tests 2016-05-23 14:18:25 -07:00
Lucas Käldström d4c23777ed Merge pull request #90 from dlorenc/race
Fix race condition in cluster setup.
2016-05-23 08:35:57 +03:00
Dan Lorenc 43f5851e6d Fix race condition in cluster setup.
We now explicitly generate certs before starting the cluster.
2016-05-22 14:21:10 -07:00
Dan Lorenc 41cc002233 IP command. 2016-05-19 13:06:34 -07:00
dlorenc b0440fc9c1 Merge pull request #73 from ethernetdan/kubeconfig
Setup kubeconfig on cluster start
2016-05-16 08:44:46 -07:00
Dan Lorenc a7fd82e28a Unhide flag. 2016-05-14 10:35:44 -07:00
dlorenc cac6d07a5d Make the ISO url configurable for testing new ISO builds.
Also delete the old flag, since it's unused.
2016-05-13 15:15:08 -07:00
Dan Gillespie 77c1d0ce61 changed kubeconfig setup to single line if 2016-05-13 13:39:01 -07:00
Dan Gillespie 4b5c89486f fixed kubeconfig test 2016-05-13 13:24:38 -07:00
Dan Gillespie b5b5b331bf working kubeconfig setup 2016-05-13 12:25:03 -07:00
Dan Lorenc 5eaae409aa Working build, scp of localkube to the VM. 2016-05-12 10:12:34 -07:00
Dan Lorenc a3fee8fd40 Remove unused portions of GenerateSelfSignedCert 2016-05-11 16:50:27 -07:00
Dan Lorenc 4ed427b6ff Fix certificate handling.
Start now outputs the correct commands
We add all the IPs to the certificate at creation time.
The certificate is created with ClientAuth extension.
We copy the correct certificates.
2016-05-11 14:05:40 -07:00
Dan Lorenc c9b1939b57 Add a check for matching IPs and cert regeneration.
Add unit tests for cert generation and checking.
2016-05-11 10:25:22 -07:00
Lucas Käldström ba9646ed56 Added error handling for certs as commented 2016-05-10 21:06:06 +03:00
Lucas Käldström 0c05a831b4 Remove dependency on easyrsa; now localkube signs its own certs (including CA, which wasn't present earlier). Now serviceAccounts should work properly 2016-05-10 19:53:11 +03:00
Lucas Käldström a38a9037e2 Use utilnet for getting the host's public IP, which is more reliable. Also, switch to net.IP and net.IPNet flags for validation 2016-05-10 17:49:09 +03:00
Lucas Käldström c12821809a Run gofmt 2016-05-09 23:37:46 +03:00
Lucas Käldström e7cda1ce58 Very large refactor of localkube. Fixed lots of bugs, added flags and commands via cobra, extracted a simple interface for SimpleServer for all Kubernetes components, made DNS working again, created the type LocalkubeServer which holds all necessary data etc. 2016-05-09 23:35:57 +03:00
Dan Lorenc 182601a357 Fix formatting of instructions. 2016-05-08 16:36:40 -07:00
Dan Lorenc 716cc2e5ec Fix tests. 2016-05-06 16:06:28 -07:00
Dan Lorenc d4227ab589 Add a flag for controlling the localkube binary location. 2016-05-06 16:05:42 -07:00
dlorenc 13e5937c02 Add code to setup authentication on the remote cluster.
This still relies on a modified localkube build, which should be
fixed when we merge localkube, before this gets merged in.
2016-05-06 16:05:42 -07:00
dlorenc cfb93eea90 Add a flag to control whether or not localkube runs in a container. 2016-05-05 21:00:14 -07:00
Lucas Käldström 6b2d1ed1cd Restructure the whole project, gofmt and improve the makefile 2016-05-05 16:38:23 +03:00
Dan Gillespie fe340e52e7 added localkube and dependencies 2016-05-04 01:54:00 -07:00