Commit Graph

37 Commits (66b5040870d720e0c58dc592598da29ee099fa2e)

Author SHA1 Message Date
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
Jimmi Dyson 719bbaf86b
Ensure node IP is routable address 2016-09-05 14:33:27 +01:00
Vic Iglesias b1e1b2c151 Enable host path provisioner 2016-09-01 14:41:04 -07:00
Dan Lorenc 4cfbc17dcb Actually store registered etcd listeners. 2016-08-08 13:04:36 -07:00
dlorenc 587bf60c37 Switch the DNS etcd port from 9090. 2016-07-25 14:59:34 -07:00
Jimmi Dyson a2f789590b
Enable all available APIs 2016-07-21 15:39:37 +01:00
Jimmi Dyson f602020f02
Create long lived CA certificate 2016-07-12 15:59:38 +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
Dan Lorenc e46b0d9cb0 Update k8s. 2016-06-10 09:43:46 -07: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
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
dlorenc f15f8a4366 Switch logging in dns.go to glog. 2016-05-31 09:52:16 -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 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 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
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
Dan Lorenc 9379c4360d Enable SecurityContext features. 2016-05-15 18:47:47 -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 Lorenc a3fee8fd40 Remove unused portions of GenerateSelfSignedCert 2016-05-11 16:50:27 -07:00
Dan Lorenc 91c9898017 Undo modifications to the vendor directory, getting this upstreamed will be harder than I thought. 2016-05-11 16:17:38 -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 1fe8a53339 Store certs in the localkube dir 2016-05-10 15:42:40 +03:00
Lucas Käldström c12821809a Run gofmt 2016-05-09 23:37:46 +03:00
Lucas Käldström 4b3e673ac1 Create the kube-system namespace if it doesn't exist 2016-05-09 23:36:33 +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 23d906b577 Remove weave. 2016-05-06 16:06:28 -07:00
Dan Lorenc 4f712bf3be Make localkube serve securely. 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