Commit Graph

178 Commits (df9f347ed4a2eef67972c3b145c6365895b57bf7)

Author SHA1 Message Date
aprindle bc74b8596f Updated documentation to reflect additional flag to minikube start,
updated tests
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 4bc1e1d6a0
Specify supported drivers per platform 2016-07-28 09:51:37 +01:00
Jimmi Dyson da25b86a70
Ensure file paths have OS path separators but URIs contain only forward slashes 2016-07-27 13:49:01 +01:00
abrand 1540301428 Fix home directory on windows 2016-07-26 22:47:09 -04:00
dlorenc 587bf60c37 Switch the DNS etcd port from 9090. 2016-07-25 14:59:34 -07: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
Dan Lorenc e3f10146a6 Fix typo in start command. 2016-07-16 11:31:36 -07:00
Dan Lorenc 639dd10801 Minor refactor in cluster.go. Also improve error message. 2016-07-13 17:29:21 -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
dlorenc 4eff13c066 Merge pull request #301 from dlorenc/logs
Move logs to /var/lib/localkube.
2016-07-08 17:51:06 -07:00
dlorenc 6f4b8dd483 Merge pull request #300 from jimmidyson/kube-api-port
Switch API server to port 8443
2016-07-08 16:18:00 -07:00
Jimmi Dyson 7d5aca9fe3
Switch API server to port 8443 2016-07-08 23:38:27 +01:00
Jimmi Dyson 8c7154da7a
Redirect localkube logs in sudo 2016-07-08 22:23:21 +01:00
Dan Lorenc 63c8468d12 Move logs to /var/lib/localkube. 2016-07-08 12:41:19 -07:00
Jimmi Dyson 892a116dc3
Better error message for services with no NodePort 2016-07-08 18:46:35 +01: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
Dan Lorenc d65040fffb Fix a typo in the notification text. 2016-07-07 07:22:05 -07:00
Dan Lorenc 22dccc781d Add some logging to cert generation. 2016-07-07 07:21:51 -07:00
aprindle 216077d8b8 Added get-k8s-versions command and tests. 2016-07-06 14:15:38 -07:00
dlorenc 0a71dd290d Merge pull request #272 from dlorenc/release
Bump to v0.5.0, add release notes and increment the releases.json.
2016-07-06 10:34:50 -07:00
Dan Lorenc b68c957347 Bump to v0.5.0, add release notes and increment the releases.json. 2016-07-06 09:59:59 -07:00
dlorenc 57a865d329 Merge pull request #267 from jimmidyson/service-command
Add service command
2016-07-06 09:16:21 -07:00
dlorenc 5076ef407a Merge pull request #248 from jimmidyson/xhyve
Add xhyve driver support
2016-07-04 08:10:16 -07:00
Jimmi Dyson 44b2d9ce20
Add service command, copied & refactored from dashboard command 2016-07-04 15:08:27 +01:00
dlorenc aa821ac4ba Merge pull request #252 from jimmidyson/node-ip
Do not override node hostname to ensure node IP is correct in node resource addresses
2016-07-02 16:05:51 -07:00
Jimmi Dyson 759f906cf1
Handle home path on Windows 2016-07-02 21:30:36 +01:00
Jimmi Dyson 4b0f517600
Add xhyve driver support 2016-07-02 21:14:43 +01:00
Jimmi Dyson 29e492e918
Do not override node hostname to ensure node IP is correct in node resource addresses 2016-07-01 22:38:55 +01:00
Jimmi Dyson a738a0f5ad
Add kvm driver support 2016-06-30 18:52:45 +01: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 79b63d797c Bump to iso version 0.4.0 2016-06-27 09:22:25 -07:00
dlorenc 75a4b05407 Merge pull request #226 from dlorenc/gcs
Move release API check from github to GCS.
2016-06-27 09:22:04 -07:00
Dan Lorenc 234a5049e7 Move release API check from github to GCS.
Github has rate-limiting on this URL, which causes issues for tests.
Moving to GCS also allows us to decouple Github releases from auto-updates.
2016-06-26 11:33:33 -07:00
dlorenc 3634c85e2c Regenerate docker certs on startup. 2016-06-26 10:48:15 -07:00
aprindle 995735ee1d Refactored tests/methods to use io.Writer, added comments to tests,
added additional error checking in getLatestVersionFromURL, and fixed
formatting issue in notification string
2016-06-21 11:05:30 -07:00
aprindle 0ea7714b61 Added message in update notification explaining how to disable the update notifier 2016-06-17 11:20:38 -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
Dan Lorenc e46b0d9cb0 Update k8s. 2016-06-10 09:43:46 -07:00
dlorenc ac14eff554 Move the addon-manager and dashboard configuration from the iso to minikube.
Minikube now copies these into the VM, just like it copies in localkube.
New ISOs will not contain these files, but this is compatible with the existing ISO
because minikube will overwrite existing files.
2016-06-09 15:35:09 -07:00
aprindle 1c861598cf Fixed logging issue due to glog flags beings set in kubernetes api 2016-06-07 15:51:50 -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
aprindle eee920bae4 Updated Dockerfile to get docker version 1.11.1 for the iso file
Updated README for iso testing
Updated DefaultIsoUrl to minikube-0.3
2016-06-04 17:22:31 -07:00
Dan Lorenc 6054d1da21 Bump the ISO URL. 2016-06-03 11:16:48 -07:00
Dan Lorenc 94aca79782 Wait a few seconds for the cluster to become healthly. 2016-06-01 16:41:07 -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
Lucas Käldström cee0afa4eb Merge pull request #147 from dlorenc/iptables
Set the proxy mode to iptables.
2016-06-01 22:36:02 +03:00
Dan Lorenc 34ad3b877c Set the proxy mode to iptables.
This passes all conformance tests that pass with the other mode.
2016-06-01 09:16:34 -07:00
aprindle 44c3a6a126 Adding logs command integration tests 2016-06-01 09:05:07 -07:00
dlorenc a621681e1b Unmark the DNS Service and Endpoint as cluster-services.
This label causes the addon-manager to delete them. We can't let the addon-manager
create these either, because it doesn't support endpoints.
2016-05-31 14:28:32 -07:00
Lucas Käldström 45c1dedf4f Merge pull request #138 from dlorenc/dnsglog
Switch logging in dns.go to glog.
2016-05-31 22:05:02 +03: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
dlorenc f15f8a4366 Switch logging in dns.go to glog. 2016-05-31 09:52:16 -07:00
Dan Lorenc c1784b0054 Merge branch 'localkube_commands' of https://github.com/luxas/minikube into luxas-localkube_commands 2016-05-28 12:41:45 -07:00
Dan Lorenc a76b9b6781 Always logtostderr in localkube. 2016-05-28 10:50:42 -07: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
Dan Lorenc a5f0ecb9df Add missing sudo to the stop command. 2016-05-27 09:52:32 -07:00
aprindle 706f974751 finished logs functionality and tests 2016-05-27 09:16:18 -07:00
dlorenc 941933179f Merge pull request #113 from luxas/static_localkube
Static localkube and some other things
2016-05-26 09:30:32 -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 d8e12ef42b Make sure we stop the localkube binary before starting another instance.
This makes "minikube start" re-entrant.
2016-05-25 13:05:30 -07:00
Lucas Käldström 647124b7c7 Merge pull request #111 from dlorenc/wait
Fix a flake in sshutil.
2016-05-25 22:19:21 +03:00
Lucas Käldström 9be5be38b9 Merge pull request #109 from dlorenc/isourl
Switch to using a versioned ISO url.
2016-05-25 22:18:03 +03:00
Dan Lorenc 1d6eff6d7a Include the cluster local IP. This enables the dashboard to work. 2016-05-25 10:48:56 -07:00
dlorenc a8b12f7d78 Switch to using a versioned ISO url. 2016-05-25 08:43:13 -07:00
Dan Lorenc 91037931a4 Fix a flake in sshutil.
We have to wait for the copy to finish before returning, otherwise the readers might go out of scope.
https://travis-ci.org/kubernetes/minikube/builds/132822322
2016-05-25 07:01:20 -07:00
Dan Lorenc 2858ff3b3e Check boilerplate in all files.
Also fix misisng boilerplate.
2016-05-24 21:57:16 -07:00
Dan Lorenc e5c3564f9e Allow privileged pods. 2016-05-23 18:12:52 -07:00
aprindle 8f1c2e0647 added env functionality and tests 2016-05-23 14:18:25 -07:00
dlorenc 0552f504dd Update k8s.io components to efc5bbc9e.
A manual change was required in kube2sky.go.
Updates were required in appc/spec and a few other libraries.
2016-05-23 11:27:28 -07: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
dlorenc cae9bc41ab Fix bug in start.
We have to call save after start, because the IP/port might change.
2016-05-19 14:40:56 -07:00
Lucas Käldström 2d459dfecd Merge pull request #82 from dlorenc/security
Enable SecurityContext features.
2016-05-16 20:58:12 +03: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 9379c4360d Enable SecurityContext features. 2016-05-15 18:47:47 -07:00
Lucas Käldström 50b676dd4b Merge pull request #75 from dlorenc/isourl
Make the ISO url configurable for testing new ISO builds.
2016-05-14 21:46:55 +03:00
Dan Lorenc 7d39206842 Fix test, also attempt to fix travis. 2016-05-14 11:18:13 -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
dlorenc 1884f8acf1 Blow away godeps.json, re "godep save". 2016-05-13 14:55:15 -07:00
dlorenc e7fb68b590 First attempt at updating k8s. 2016-05-13 14:05:27 -07:00
Dan Gillespie 4b5c89486f fixed kubeconfig test 2016-05-13 13:24:38 -07:00
Dan Gillespie 4194466d62 added license 2016-05-13 12:40:29 -07:00
Dan Gillespie b5b5b331bf working kubeconfig setup 2016-05-13 12:25:03 -07:00
Dan Gillespie ff7cb9ae83 add kubeconfig tests 2016-05-13 11:34:13 -07:00