Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02: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
Brian Grant
15c2986a07
Merge pull request #7067 from ravigadde/master
...
Added field selector for listing pods
2015-04-22 07:12:21 -07: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
Ravi Gadde
bf8f258471
Added field selector for listing pods.
2015-04-21 06:33:28 -07:00
Kris Rousey
594f514843
Changing a few remaining instances of passing pods around by value. I
...
avoided changing api.PodList.Items to []*api.Pod.
2015-04-20 15:26:45 -07:00
markturansky
34924af63d
Fixed typos in comments
2015-04-16 08:52:36 -04:00
Saad Ali
6cfce2c7ee
Merge pull request #6822 from derekwaynecarr/send_events_replication_controller
...
Replication controller gives failedCreate events
2015-04-15 11:27:23 -07:00
Daniel Smith
3fdfea3ad8
fix fake controller source watch behavior
2015-04-14 13:31:35 -07:00
derekwaynecarr
986c225311
Replication controller gives failedCreate events
2015-04-14 15:42:49 -04:00
Daniel Smith
d02139d2b4
Merge pull request #6771 from derekwaynecarr/ns_controller
...
Remove delay when deleting namespaces, move to new controller framework
2015-04-13 17:55:13 -07:00
Daniel Smith
1ec6b02e99
fix tests flaky due to timeouts
2015-04-13 15:16:59 -07:00
derekwaynecarr
c1a3fa0dae
Remove delay when deleting namespaces, move to new controller framework
2015-04-13 15:18:22 -04:00
Daniel Smith
dd26cdf0f7
Fix comments; switch to watching nodes
2015-04-10 17:49:51 -07:00
Daniel Smith
395d69641e
fix race
2015-04-10 16:02:51 -07:00
Daniel Smith
6835318d1e
switch to require 'go controller.Run()'
2015-04-10 14:05:08 -07:00
Daniel Smith
880f922bb6
Add easy setup for simple controller
...
Also add tests; coverage up to 86.7%
2015-04-10 14:05:07 -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
Derek Carr
6eb54e73e0
Merge pull request #5270 from lavalamp/fix7
...
Controller framework
2015-04-07 16:58:09 -04: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
Daniel Smith
3fe17b93cf
Begin a controller framework.
2015-04-02 15:25:58 -07: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
Clayton Coleman
0902ffd70e
Merge pull request #5746 from bprashanth/rc_genericetcd_interface
...
Migrate replication controllers to generic etcd
2015-03-24 11:45:59 -04:00
Wojciech Tyczynski
f7191d626d
Change "/ns" to "/namespaces" in few remaining places.
2015-03-24 13:05:32 +01:00
Prashanth Balasubramanian
ef6601646d
Migrate replication controllers to generic etcd
2015-03-23 17:59:25 -07:00
Salvatore Dario Minonne
31ddefc347
Finalize fields.Selector
2015-03-17 22:55:43 +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
Prashanth Balasubramanian
1970c2d201
Retry resizing replication controllers in kubectl
2015-03-02 20:26:41 -08:00
Steve Reed
38230ef12f
Adds replication controller name to "Too many|few" logging
2015-02-12 09:18:56 -08:00
Brendan Burns
234f951867
Revert filtering unknown pods, as I believe that it is causing e2e flakes.
2015-02-05 20:57:01 -08:00
Brian Grant
7a13c2f0e3
Merge pull request #4169 from brendandburns/shell_sucks
...
Fix a regression where we never cleared out failed nodes.
2015-02-05 13:41:11 -08:00
Brendan Burns
6d0b8ea7a7
Fix a regression where we never cleared out failed nodes.
2015-02-05 10:55:57 -08:00
Brian Grant
2c9e620d43
Merge pull request #4102 from brendandburns/rc
...
Make the replication controller more resilient to event expiration in watch.
2015-02-05 07:08:35 -08:00
Brendan Burns
874859f6d3
Make the replication controller more resilient to event expiration in watch.
2015-02-03 22:15:12 -08: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
Dan Mace
3d7f5cc642
Backport annotations to PodTemplateSpec
...
Backport annotation support to v1beta1 and v1beta2 PodTemplateSpec. This
allows ReplicationController users to specify annotations for Pods in
addition to labels.
2015-02-02 15:26:32 -05: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
Satnam Singh
358ace610d
Merge pull request #3824 from smarterclayton/allow_panic_and_error_reporting
...
Allow panics and unhandled errors to be sent elsewhere
2015-01-27 13:18:43 -08:00
Brendan Burns
92d65b7c65
Add NodeSelector to the replication controller tests.
2015-01-27 10:58:46 -08:00
Clayton Coleman
19987612bf
Replace code that eats errors with a more consistent reporting
...
In order to allow certain programmer error / unexpected error states
to be captured, replace sections that log and eat errors with a method
that can be centrally replaced. This captures two common error sources,
replication errors, and apiserver code that returns invalid errors.
2015-01-26 20:54:29 -05:00
Clayton Coleman
e4dcbb6edb
Explicitly handle errors received during watch
...
Log them as Error and then continue.
2015-01-19 11:10:45 -05:00
Tim Hockin
5f2dae4dd8
Merge pull request #3195 from lavalamp/numericWire
...
Add numeric type into api
2015-01-07 16:15:52 -08:00