Clayton Coleman
61e3ce7ddc
Make runtime less global for Codec
...
* Make Codec separate from Scheme
* Move EncodeOrDie off Scheme to take a Codec
* Make Copy work without a Codec
* Create a "latest" package that imports all versions and
sets global defaults for "most recent encoding"
* v1beta1 is the current "latest", v1beta2 exists
* Kill DefaultCodec, replace it with "latest.Codec"
* This updates the client and etcd to store the latest known version
* EmbeddedObject is per schema and per package now
* Move runtime.DefaultScheme to api.Scheme
* Split out WatchEvent since it's not an API object today, treat it
like a special object in api
* Kill DefaultResourceVersioner, instead place it on "latest" (as the
package that understands all packages)
* Move objDiff to runtime.ObjectDiff
2014-09-16 16:26:43 -04:00
Clayton Coleman
154a91cd33
Rename runtime.DefaultScheme to latest.Codec for ease of readability
2014-09-16 16:19:35 -04:00
Clayton Coleman
fe614aeda2
Simple refactor for ease of readability
...
runtime.DefaultCodec -> latest.Codec
2014-09-16 16:12:35 -04:00
Clayton Coleman
10f68902f6
Add v1beta2 API objects
2014-09-16 16:11:26 -04:00
Brendan Burns
5b9e2a55b5
Add a flag to reject privileged containers in the apiserver.
2014-09-16 11:22:32 -07:00
Paul Morie
f94198c7a3
Expose validation method for ReplicationControllerState
2014-09-16 12:55:27 -04:00
jhadvig
6da2653b4a
Update according to review
2014-09-16 15:40:12 +02:00
Andrew M Bursavich
4e7f8db3a0
pkg/watch: remove test hook
2014-09-15 18:55:29 -07:00
Daniel Smith
9c25792dca
Merge pull request #1321 from abursavich/master
...
pkg/watch: fix potential deadlock
2014-09-15 18:26:19 -07:00
Tim Hockin
f8a8df369c
Merge pull request #1314 from ddysher/fd-lead
...
Fix leaking FD
2014-09-15 17:24:29 -07:00
Andrew M Bursavich
b9dcfbad76
pkg/watch: deadlock test
2014-09-15 16:58:26 -07:00
Dawn Chen
d51c28d757
Merge pull request #1304 from brendandburns/valid
...
Add some lifecycle validation.
2014-09-15 16:50:03 -07:00
Brendan Burns
6efafb141f
Add some lifecycle validation.
2014-09-15 16:45:26 -07:00
Deyuan Deng
d5eb731b3f
Fix leaking FD.
2014-09-15 19:12:32 -04:00
Daniel Smith
44f340f127
Remove custom scheme stuff
...
As separate commit to make it easy to get back-- I'm not completely
convince we won't want this in the future.
2014-09-15 13:15:46 -07:00
Daniel Smith
42dafb0e2e
add PluginBase to fuzz functions
2014-09-15 13:15:46 -07:00
Daniel Smith
b8c955ea17
Fixes:
...
* Fix kubecfg test, which was writing an internal object straight to yaml
* Address review comments
2014-09-15 13:15:46 -07:00
Daniel Smith
52d2c221b8
pkg/runtime now has a well defined api pluggability model.
2014-09-15 13:15:46 -07:00
Daniel Smith
71e547124c
Make needed changes in conversion package to support pluggability
2014-09-15 13:15:46 -07:00
Andrew M Bursavich
435e0b73bb
pkg/watch: fix potential deadlock
2014-09-15 12:07:32 -07:00
Clayton Coleman
24b5b7e8d3
Merge pull request #1296 from brendandburns/healthz
...
Add healthz handlers to the controller manager and scheduler
2014-09-15 11:28:02 -04:00
Clayton Coleman
424447d3b0
Merge pull request #1306 from lavalamp/scheduler
...
Add ExtractList to runtime.
2014-09-15 11:27:42 -04:00
jhadvig
f351691493
Adding endpoint for log retrieval on the minion
2014-09-15 17:02:56 +02:00
Brendan Burns
99f7a4f25d
Add healthz handlers to the controller manager and scheduler
2014-09-12 21:13:33 -07:00
Clayton Coleman
0a02c6bcdf
Exact copy of v1beta1 as v1beta3 for further iteration
2014-09-12 22:02:27 -04:00
Daniel Smith
7d50aa8ba8
Add ExtractList to runtime.
2014-09-12 16:51:07 -07:00
Tim Hockin
3181f3555d
Wrap goroutines in HandleCrash()
2014-09-12 16:47:40 -07:00
Tim Hockin
1e50f118fd
Move UDP backend setup to a function
2014-09-12 16:47:40 -07:00
Tim Hockin
86d12681f2
Inject UDP timeout to enable testing
2014-09-12 16:47:40 -07:00
Tim Hockin
38416f6a23
Implement UDP proxying in kube-proxy
2014-09-12 16:47:40 -07:00
Tim Hockin
cad6122fe4
Refactor proxy code to make room for UDP
2014-09-12 16:38:17 -07:00
Tim Hockin
9f275c81ac
add a 'protocol' field to api.Service
2014-09-12 16:38:17 -07:00
Tim Hockin
b566339f0c
make service validation test be table-driven
2014-09-12 16:38:17 -07:00
Daniel Smith
6eeb967d3d
Merge pull request #1229 from ragnard/aws-provider
...
Initial impl. of cloud provider for AWS
2014-09-12 15:16:47 -07:00
Brendan Burns
46d0cbd645
Add a global flag to enable/disable privileged containers
2014-09-12 09:56:45 -07:00
Dan Mace
3a3fab3f82
FEATURE: Support privileged containers in a pod
...
Add a Privileged field to containers in a pod, in order to facilitate pods
performing administrative tasks such as builds via Docker-in-Docker.
Discussion: https://github.com/GoogleCloudPlatform/kubernetes/issues/391
2014-09-12 09:38:11 -07:00
Tim Hockin
bc9a290241
Merge pull request #1218 from bcwaldon/docker-auth
...
Authenticated docker pulls, pt. I
2014-09-11 22:53:36 -07:00
Brian Waldon
2f87857b0f
kubelet: generate keyring from .dockercfg
2014-09-11 21:01:39 -07:00
brendandburns
cc7999c00a
Merge pull request #1268 from dchen1107/termination
...
Proposed ContainerStatus for each individual Container in a Pod.
2014-09-11 16:17:59 -07:00
Dawn Chen
7b46d8c9c5
typo
2014-09-11 16:07:56 -07:00
Dawn Chen
25fbe210f6
Clean up
2014-09-11 15:30:06 -07:00
Dawn Chen
3faf393e7b
Introduce ContainerStates. Currently keep it has the same set as PodStatus:
...
Waiting, Running, Termination. For each state, there are some meaningful
status associated with it.
2014-09-11 15:22:53 -07:00
Dawn Chen
ee129cd440
Proposed ContainerStatus for each individual Container in a Pod.
2014-09-11 14:34:21 -07:00
Ragnar Dahlén
b548465adf
Initial impl. of cloud provider interface for AWS
2014-09-11 22:28:56 +01:00
Daniel Smith
6757b402d5
Merge pull request #1133 from jwforres/enable_cors
...
Add option to enable a simple CORS implementation for the api server
2014-09-11 13:59:14 -07:00
Jessica Forrester
0f2b8f4f9f
Create passthroughLogger when LogOf is called and request has no logger
2014-09-11 16:48:06 -04:00
Brian Waldon
0bf4fabc19
kubelet: move docker-related code into sub-package
2014-09-11 13:12:28 -07:00
derekwaynecarr
0c20fffa06
No DNS in vagrant cross minions, need explicit IP as host
2014-09-11 13:38:50 -04:00
Daniel Smith
b5c6edcd79
Merge pull request #1189 from simon3z/ovirt-cloud
...
Add support for oVirt cloud provider
2014-09-11 09:50:31 -07:00
Federico Simoncelli
320fd528e2
Add support for oVirt cloud provider
...
This patch adds the initial support for the oVirt cloud provider.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com >
2014-09-11 13:08:46 +00:00