Maxwell Forbes
28946766a3
Merge pull request #9807 from krousey/container_manifest
...
Removing ContainerManifest
2015-06-24 17:55:29 -07:00
Kris Rousey
d13421e084
Removing ContainerManifest
2015-06-24 11:31:34 -07:00
Prashanth Balasubramanian
35950c04ff
Avoid syncing rcs till the pods controller has synced.
2015-06-19 18:20:28 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Chao Xu
a309d3e652
Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2
2015-06-16 14:12:03 -07:00
Chao Xu
ca72165b20
remove most references to api.PreV1Beta3
2015-06-03 20:09:03 -07:00
Prashanth B
6c209ec193
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones""
2015-05-29 09:24:39 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Tim Hockin
b69fad211e
Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"
2015-05-28 10:23:55 -07:00
Prashanth Balasubramanian
8fa66bd962
Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster
2015-05-27 16:45:51 -07:00
Prashanth Balasubramanian
c0a8981b74
Delete expectations of a deleted rc instead of letting them expire
2015-05-19 11:01:45 -07:00
Daniel Smith
c72eedf50a
Merge pull request #8138 from bprashanth/rc_race
...
Check expectations before filtering through active pods.
2015-05-18 15:36:21 -07:00
Lv Lv
433a249610
Fix a potential bug in TestControllerBurstReplicas: manager.podStore.Store.Add(&pod) actually adds a pointer to a local copy of pod
2015-05-15 13:41:34 +08:00
Prashanth Balasubramanian
54b6501349
Check expectations before filtering through active pods.
2015-05-12 14:42:08 -07:00
Prashanth Balasubramanian
4fdd5bc3f3
Ratelimit replica creation
2015-05-08 14:24:25 -07:00
Prashanth Balasubramanian
8bf0adf147
Add a getter to pod expectations and use it in unittests
2015-05-06 16:01:03 -07:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Daniel Smith
36977ecb67
Merge pull request #7643 from bprashanth/rc_status
...
Requeue rc if a single get/put retry on status.Replicas fails
2015-05-04 12:15:30 -07:00
Prashanth Balasubramanian
864e12d995
Retry once and requeue on failure to update status.Replicas
2015-05-01 18:10:58 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Prashanth Balasubramanian
7592dabeba
RcManager uses informers
2015-04-28 13:45:15 -07:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
Brian Grant
73322af8e8
Merge pull request #5842 from simon3z/rc-annotation
...
Replica Controller Name Annotation in Pods
2015-04-23 16:35:18 -07:00
Yu-Ju Hong
10ecbb8aab
Fix pod filtering in replication controller
2015-04-22 16:09:14 -07:00
Federico Simoncelli
253ce4b6fe
replication: annotate replicated pods with controller name
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-04-22 11:26:25 -04:00
Yu-Ju Hong
df2cbd4877
Prioritize deleting the non-running pods when reducing replicas
...
This changes instructs the replication controller to delete replicas in the
order of "unscheduled (pending)", "scheduled (pending)", and "scheduled
(running)" pods. This is less disruptive than deleting random pods.
2015-04-21 10:17:29 -07:00
Brendan Burns
fded23a777
Default replica controller nodeSelector using pod template.
...
Add default labels from pod if not present.
2015-04-09 20:50:37 -07:00
Clayton Coleman
51db3bd654
Create a new testclient package that can be backed by disk files
...
Standardize how our fakes are used so that a test case can use a
simpler mechanism for providing large, complex data sets, as well
as represent queries over time.
2015-04-07 14:56:15 -04:00
Derek Carr
cfb6f1199b
Merge pull request #5851 from smarterclayton/support_input_streams
...
Support input streams being returned by the APIserver
2015-03-24 22:41:24 -04:00
Clayton Coleman
bfb6b05311
Wait longer in TestWatchControllers
...
10ms is too slow for travis
2015-03-24 17:25:46 -04:00
nikhiljindal
7e3b7f9673
Updating unit tests so that they pass with v1beta3 api
2015-03-24 12:13:53 -07:00
Wojciech Tyczynski
f7191d626d
Change "/ns" to "/namespaces" in few remaining places.
2015-03-24 13:05:32 +01:00
Dawn Chen
34e9c82c70
Convert RestartPolicy to string for v1beta3.
...
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Wojciech Tyczynski
07cf658100
Remove etcd references from ReplicationController
2015-03-13 10:36:54 +01:00
Prashanth Balasubramanian
28d9260c0b
Sync replication count with the api server on pod creation/deletion.
2015-03-11 13:29:20 -07:00
Yu-Ju Hong
4a72addaeb
Factor out API defaulting from validation logic
...
Currently, the validation logic validates fields in an object and supply default
values wherever applies. This change factors out defaulting to a set of
defaulting callback functions for decoding (see #1502 for more discussion).
* This change is based on pull request 2587.
* Most defaulting has been migrated to defaults.go where the defaulting
functions are added.
* validation_test.go and converter_test.go have been adapted to not testing the
default values.
* Fixed all tests with that create invalid objects with the absence of
defaulting logic.
2015-02-03 00:55:42 -08:00
Clayton Coleman
5603714df8
Use name generation on pods via replication controllers
...
The generated name is '<controllerName>-%s', unless controllerName-
would be long enough to cause a validation error.
2015-02-02 14:44:53 -05:00
Brendan Burns
92d65b7c65
Add NodeSelector to the replication controller tests.
2015-01-27 10:58:46 -08:00
Tim Hockin
5f2dae4dd8
Merge pull request #3195 from lavalamp/numericWire
...
Add numeric type into api
2015-01-07 16:15:52 -08:00
Daniel Smith
35f54addca
Update more packages, tests, binaries for quantity
...
make etcd registry pass test
fix kubelet config for quantity
fix openstack for quantity
fix controller for quantity
fix last tests for quantity
wire into binaries
fix controller manager
fix build for 32 bit systems
2015-01-07 15:21:35 -08:00
Clayton Coleman
b03fbf90f8
Make RESTClient more generic to API version, simplify version handling
...
RESTClient is an abstraction on top of arbitrary HTTP endpoints that
follow the Kubernetes API conventions. Refactored RESTClientFor so that
assumptions that are Kube specific happen outside of that method (so
others can reuse the RESTClient). Added more validation to client.New
to ensure clients give good input. Exposed APIVersion on RESTClient
as a method so that wrapper code (code that adds typed / structured
methods over rest endpoints like client.Client) can more easily make
decisions about what APIVersion it is running under.
2015-01-07 18:03:34 -05:00
derekwaynecarr
abb6632d75
Do not use namespace in url paths pre v1beta3 from client
2014-12-19 16:32:42 -05:00
derekwaynecarr
7cf664439f
Move namespace from query param to path part
2014-12-16 15:55:47 -05:00
Tim Hockin
95a9098311
fix 'go vet' warnings
2014-11-21 09:45:28 +08:00
markturansky
8af4ccb111
v1beta3 Pod refactor
2014-11-18 09:25:42 -05:00
Clayton Coleman
6d31c2bf8a
util.EncodeJSON proven harmful, remove it everywhere
...
People were misusing EncodeJSON in tests when they should be using
runtime.EncodeOrDie(testapi.Codec(), obj). Removing the potential
for cutting self on sharp objects.
2014-11-13 10:38:13 -05:00
Clayton Coleman
94c873e7a4
Remaining refactor for PodTemplateSpec and fixing test cases
2014-11-11 17:03:20 -05:00