Clayton Coleman
19379b5a38
Internal rename api.Minion -> api.Node
2014-12-10 12:08:18 -05:00
Clayton Coleman
2c27f7d332
Allow an empty service
2014-12-09 12:48:53 -05:00
Sam Ghods
6399854240
Remove unused YAML tags and GetYAML/SetYAML methods
...
Unneeded after move to ghodss/yaml.
2014-12-02 16:25:28 -08:00
Tim Hockin
c857dc1196
Add namespacing for label keys
2014-12-01 12:30:43 -08:00
Brendan Burns
a5bc6301a4
Revert "Using util.Time for ContainerStatus"
2014-11-24 21:32:31 -08:00
Daniel Smith
610ab9a0db
Merge pull request #2586 from dchen1107/cleanup
...
Using util.Time for ContainerStatus
2014-11-24 15:35:07 -08:00
Dawn Chen
acb0f1198b
Using util.Time for ContainerStatus
2014-11-24 15:15:33 -08:00
markturansky
8159c8fd25
Refactor PodCondition to PodPhase
2014-11-21 15:28:38 -05:00
Clayton Coleman
156000ef6d
Move the internal minion representation to match v1beta3
...
Moves to 'Spec' and 'Status' internally and removes duplicate
fields. Moves Capacity into Spec and drops use of NodeResources
2014-11-20 20:53:08 -05:00
markturansky
8af4ccb111
v1beta3 Pod refactor
2014-11-18 09:25:42 -05:00
Brendan Burns
2aa52d043b
Add external services v2 support.
2014-11-14 11:32:54 -08:00
Dawn Chen
f47f1da3d6
Merge pull request #2345 from yugui/lint/api
...
Fixes golint errors in pkg/api.
2014-11-13 23:21:42 -08:00
Yuki Yugui Sonoda
864bfb65da
Fixes golint errors in pkg/api.
2014-11-14 13:14:23 +09:00
Eric Tune
b195d982cd
Remove todos about addin usage to Pods.
...
Usage in Pods would be quite noisy when watching pods.
People should get usage from heapster, or from
some other object TBD.
2014-11-13 16:11:10 -08:00
bgrant0607
7cab32b41d
Merge pull request #2185 from brendandburns/history
...
Add a human readable message to pod state.
2014-11-13 10:52:04 -08:00
Daniel Smith
0348a67413
Merge pull request #2195 from smarterclayton/prepare_pod_template_v1beta3
...
Allow an internal pod template reference or object
2014-11-12 10:55:08 -08:00
Brendan Burns
3fdbb10255
Add a human readable message to pod state.
2014-11-10 21:05:27 -08:00
Dawn Chen
8ffbced280
Introduce terminationMessagePath to Container, and update conversion code
...
to assign the default path.
Move default setting for terminationMessagePath to conversion
from validation. Addressed other comments.
2014-11-10 10:55:56 -08:00
Clayton Coleman
e3be1e9e14
Changes to core types for introducing PodTemplateSpec
2014-11-10 11:33:31 -05:00
Dawn Chen
5342bb4306
Introduce application termination message to ContainerStatus
2014-11-07 09:32:39 -08:00
derekwaynecarr
56b6273dfb
Fix json serialization consistency
2014-11-06 10:24:48 -05:00
markturansky
119f654a13
Refactor PodStatus to PodCondition in internal API for v1beta3
2014-11-05 17:26:47 -05:00
bgrant0607
fc0dab630c
Merge pull request #2086 from markturansky/v1beta3_refactor
...
Refactor internal API for Services to match v1beta3
2014-11-04 21:48:02 -08:00
markturansky
bd7643c033
refactor services to v1beta3
2014-11-04 14:23:53 -05:00
Brendan Burns
f556f2f82f
Add some validation for externalized service ports.
2014-11-03 13:36:34 -08:00
Brendan Burns
32a04e48fd
Make endpoints return 400 instead of 500
2014-11-02 20:08:06 -08:00
Clayton Coleman
71fecef6f6
Add test coverage and fix a few minor problems
2014-10-29 14:08:37 -04: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
Brendan Burns
51bf451932
Add container garbage collection.
2014-10-28 12:52:06 -07: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
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
Clayton Coleman
55163a7df1
Split TypeMeta into ObjectMeta and TypeMeta
2014-10-24 11:22:20 -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
Tim Hockin
e907011111
Core support for ip-per-service
2014-10-16 08:36:47 -07:00
Clayton Coleman
eea77a1449
Backport the BoundPods type to v1beta1/2/internal
2014-10-09 16:39:55 -04:00
erictune
aa30423dc9
Merge pull request #1337 from brendandburns/Sarsate-pd-support
...
Taking over PD support from sarsate
2014-10-09 09:16:04 -07:00
Danny Jones
4ec25f3b81
Adds support for attaching GCEPersitentDisks
...
Adds GCEPersistentDisk volume struct
Adds gce-utils to attach disk to kubelet's VM.
Updates config to give compute-rw to every minion.
Adds GCEPersistentDisk to API
Adds ability to mount attached disks
Generalizes PD and adds tests.
PD now uses an pluggable API interface.
Unit Tests more cleanly separates TearDown and SetUp
Modify boilerplate hook to omit build tags
Adds Mounter interface; mount is now built by OS
TearDown() for PD now detaches disk on final refcount
Un-generalized PD; GCE calls moved to cloudprovider
Address comments.
2014-10-08 20:03:59 -07:00
Clayton Coleman
82bcdd3b3b
Make ResourceVersion a string internally instead of uint64
...
Allows us to define different watch versioning regimes in the future
as well as to encode information with the resource version.
This changes /watch/resources?resourceVersion=3 to start the watch at
4 instead of 3, which means clients can read a resource version and
then send it back to the server. Clients should no longer do math on
resource versions.
2014-10-07 19:00:26 -04:00
Daniel Smith
3a62089790
Fix malformed namespace json tag
2014-10-07 13:52:51 -07:00
Clayton Coleman
0a4d4b43f6
Move IsAnAPIObject() declarations to register.go
...
* Add Namespace, UID, Annotations to internal/v1beta1/v1beta2
* Update v1beta3 with minor consistency tweaks
2014-10-07 14:09:01 -04:00
Daniel Smith
0212c9b29a
Merge pull request #1623 from smarterclayton/rename_jsonbase
...
Rename JSONBase -> TypeMeta in preparation for v1beta3
2014-10-07 10:50:28 -07:00
Clayton Coleman
d3e51a0f24
Rename JSONBase -> TypeMeta in preparation for v1beta3
...
Will make subsequent refactor much easier
2014-10-07 11:12:16 -04:00
Clayton Coleman
363d6554ae
Move Policy test helpers into their own file
...
Since types.go should always be equal to latest API types.go, this
makes future cut and paste refactors easier.
2014-10-07 10:24:40 -04:00
Dawn Chen
4fdfeaa30e
Addressed comments.
2014-10-06 14:41:20 -07:00
Dawn Chen
a86d496f9a
Fix e2e tests.
2014-10-06 13:37:24 -07:00
Dawn Chen
9861eb7c8e
Initial support of propogating the termination reasons and image failure
...
to apiserver. Deprecated docker.Container from API completely.
Conflicts:
pkg/api/types.go
pkg/kubelet/kubelet.go
2014-10-06 13:37:22 -07:00