Clayton Coleman
8a2d778248
Merge pull request #2066 from lavalamp/eventing2
...
Event fixes
2014-10-30 14:19:19 -04:00
Daniel Smith
a7cc25f7ff
Add namespaces to event creation path.
2014-10-29 18:03:14 -07:00
Clayton Coleman
2c10dd85c3
Merge pull request #2047 from smarterclayton/make_request_testable
...
Make client.Request/RESTClient more testable and fakeable
2014-10-29 19:33:36 -04:00
Daniel Smith
ab9346d107
Use ID instead of Name in v1beta1 & 2
2014-10-29 15:13:44 -07:00
Clayton Coleman
71fecef6f6
Add test coverage and fix a few minor problems
2014-10-29 14:08:37 -04:00
Daniel Smith
94e736e286
Merge pull request #2009 from smarterclayton/unify_meta
...
Unify Accessor for ObjectMeta/TypeMeta/ListMeta
2014-10-29 09:58:46 -07:00
Clayton Coleman
eac933eb44
Make client.Request more testable, break coupling with RESTClient
...
Moves polling to a function provided by the RESTClient, not innate
to Request. Moves doRequest from RESTClient to Request for clarity.
2014-10-28 23:00:24 -04:00
Dawn Chen
f6db096741
Merge pull request #2022 from brendandburns/gc
...
Add container garbage collection.
2014-10-28 13:37:16 -07:00
Daniel Smith
55c9c06b81
Merge pull request #2001 from VojtechVitek/fix_scheme_panic
...
Fix reflect panic in runtime/conversion
2014-10-28 13:30:40 -07:00
Brendan Burns
51bf451932
Add container garbage collection.
2014-10-28 12:52:06 -07:00
Vojtech Vitek (V-Teq)
90809c270d
Use conversion.EnforcePtr() where appropriate
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-10-28 16:36:09 +01:00
Tim Hockin
9a617344bf
Merge pull request #1945 from brendandburns/tests
...
Add support for git volumes.
2014-10-27 16:55:37 -07:00
Brendan Burns
b59e49fa13
Add support for git volumes.
2014-10-27 16:35:52 -07:00
Tim Hockin
bb5ca0f91b
Respect a requested PortalIP if possible
2014-10-27 14:03:52 -07:00
Clayton Coleman
66ace4c270
Begin to unify ResourceVersioner and SelfLinker
...
Create a new MetadataAccessor interface that combines both
and use it where previously latest.ResourceVersioner and SelfLinker
were being used.
Adds Namespace to the get/set interface. Adds TODO about future
fast path for metadata (as per thockin's comment)
2014-10-27 16:00:55 -04:00
Tim Hockin
37ffb41b81
Merge pull request #1830 from markturansky/label_validation
...
add RFC952 validation to labels
2014-10-27 09:54:18 -07:00
Brendan Burns
5d4d60783d
Add requirements based scheduling.
2014-10-25 22:08:00 -07:00
Brendan Burns
87c77e5ba7
Start adding git volumes.
2014-10-24 20:44:08 -07:00
markturansky
e2365b1f96
add RFC952 label validation
2014-10-24 16:01:52 -04:00
Tim Hockin
d6effe3c6d
Rename api ErrorList for clarity
2014-10-24 09:43:14 -07:00
Clayton Coleman
644eb70085
Refactor tests to split ObjectMeta from TypeMeta
2014-10-24 11:22:21 -04:00
Clayton Coleman
2475eb06cb
Remove use of embedded TypeMeta accessor
2014-10-24 11:22:20 -04:00
Clayton Coleman
0f011a055f
Implement conversions for v1beta1/2 to internal ObjectMeta
2014-10-24 11:22:20 -04:00
Clayton Coleman
09800643e2
Change validation now that namespace is on ObjectMeta
2014-10-24 11:22:20 -04:00
Clayton Coleman
55163a7df1
Split TypeMeta into ObjectMeta and TypeMeta
2014-10-24 11:22:20 -04:00
Clayton Coleman
3df1c2f29d
Use meta.Interface and meta.Accessor
2014-10-23 18:01:25 -04:00
Clayton Coleman
e5c924585c
Add support for ObjectMeta and ListMeta lookup
2014-10-22 23:56:49 -04:00
Clayton Coleman
35eaf90255
Add UID to MetaAccessor and Ref
2014-10-22 22:59:15 -04:00
Clayton Coleman
1ccb86c760
Rename methods in api/meta to be cleaner
2014-10-22 22:59:12 -04:00
Clayton Coleman
64d98cba73
Move typemeta.go to api/meta/meta.go
...
Prepares for the meta object to front multiple underlying types
when TypeMeta and ObjectMeta is split in internal and v1beta3, but
combined in v1beta1 and v1beta2
2014-10-22 22:28:06 -04:00
Clayton Coleman
91d9a90e4e
Replace use of "id" in strings with "name"
2014-10-22 15:59:12 -04:00
Clayton Coleman
bb77a5d15f
Rename ID -> Name
2014-10-22 15:00:26 -04:00
Daniel Smith
ad1212b9af
Add client time to events
2014-10-22 11:12:17 -07:00
Daniel Smith
0c58ee98c8
Error instead of crash on GetRef of nil object
2014-10-17 10:49:43 -07:00
Clayton Coleman
6ae611aedd
Write BoundPods to etcd instead of ContainerManifestList
...
Rename ManifestFactory -> BoundPodFactory and change the general structure
of the call to focus on BoundPod.
2014-10-16 19:29:08 -04:00
Clayton Coleman
892942af8f
Read BoundPods from etcd instead of ContainerManifestList
...
There are three values that uniquely identify a pod on a host -
the configuration source (etcd, file, http), the pod name, and the
pod namespace. This change ensures that configuration properly
makes those names unique by changing podFullName to contain both
name (currently ID in v1beta1, Name in v1beta3) and namespace.
The Kubelet does not properly handle information requests for
pods not in the default namespace at this time.
2014-10-16 19:29:08 -04:00
derekwaynecarr
085ca40291
Enforce unique constraint at namespace boundary in etcd, make client and server namespace aware
2014-10-16 13:02:52 -04:00
Tim Hockin
e907011111
Core support for ip-per-service
2014-10-16 08:36:47 -07:00
Eric Tune
6f577aa321
Merge pull request #1789 from lavalamp/eventing4
...
Add event creation library and implement in scheduler.
2014-10-15 15:55:26 -07:00
Daniel Smith
2987747a0f
Merge pull request #1794 from brendandburns/e2e
...
Add a pod update e2e test in go. Also adjust validation logic a little.
2014-10-15 11:59:30 -07:00
Daniel Smith
d4c750a878
Fix vet-go.sh and some things it complained about
2014-10-15 11:56:19 -07:00
Daniel Smith
10214457b7
Make scheduler emit events
2014-10-15 11:42:05 -07:00
Brendan Burns
8d38f8890e
Add an e2e test in go. Also adjust validation logic a little to make it more reasonable.
...
Not integrated into existing e2e yet.
2014-10-14 16:43:00 -07:00
Eric Tune
bb5a17488f
Use Forbidden valdiation error when no capability
2014-10-14 16:14:28 -07:00
Daniel Smith
841e9e87ff
Merge pull request #1713 from brendandburns/update
...
Add update to the pod etcd handler.
2014-10-13 17:42:30 -07:00
Brendan Burns
4380637be7
Add update to the pod etcd handler.
2014-10-13 17:27:31 -07:00
Daniel Smith
d34914517f
Shorten 'CodecForVersionOrDie' name, add 'ResourceVersioner' to testapi
2014-10-13 14:58:06 -07:00
Brendan Burns
695fbee343
Merge pull request #1742 from dchen1107/termination
...
Set EmptyDir when VolumeSource is absent.
2014-10-10 16:27:26 -07:00
Dawn Chen
c511b7a0ce
Fix #1683
2014-10-10 15:34:48 -07:00
Dawn Chen
5f97413dd5
Merge pull request #1663 from smarterclayton/separate_pod_state_for_health_check
...
Refactor HealthCheck to take podUUID as its own argument
2014-10-10 09:11:59 -07:00