deads2k
f0c33d65b6
start sharing the pod cache and list/watch
2016-04-18 08:51:55 -04:00
harry
8472cfa214
Refactor throttle into util pkg
...
Fix missing throttle.go
2016-03-25 08:32:23 +08:00
Harry Zhang
a4d04095d0
Refactor crlf & crypto
2016-03-21 20:20:05 +08:00
HAI HUANG
85269ae1b0
fix broken km controller
2016-03-09 11:58:51 -05:00
k8s-merge-robot
2808973503
Merge pull request #22038 from mqliang/daemonset-cache
...
Auto commit by PR queue bot
2016-03-05 03:38:55 -08:00
k8s-merge-robot
57670edc15
Merge pull request #22345 from fgrzadkowski/hpa_events
...
Auto commit by PR queue bot
2016-03-04 09:18:21 -08:00
Filip Grzadkowski
b5c9af9762
Use controller framework in HPA controller.
...
Ref #22174
2016-03-03 11:55:44 +01:00
derekwaynecarr
41057b02d5
Move namespace controller to use discovery and dynamic client
2016-03-02 23:34:18 -05:00
mqliang
7e1ab26c06
add lookup cache for daemonset
2016-03-01 22:04:56 +08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
derekwaynecarr
af85fb57c3
Make ResourceQuota admission and controller work generically
2016-02-26 20:34:15 -05:00
mqliang
e44e71ca87
make cache size configurable
2016-02-24 22:37:02 +08:00
James DeFelice
8c776b7eb9
host port mapping should be more consistent between scheduler and
...
controller-manager in k8sm:
- rename host_port_endpoints flag to host-port-endpoints
- host port mapping strategy in scheduler should be driven by host-port-endpoints flag
- added host-port-endpoints to known flags
- docs: scheduler should also be configured with host-port-endpoints
- task recovery: be explicit about excluding mirror pods
2016-02-15 21:28:46 +00:00
Jan Safranek
1d0b1c227b
Add PV.Name into names of generated GCE/AWS/OSP volumes.
...
Volume names have now format <cluster-name>-dynamic-<pv-name>.
pv-name is guaranteed to be unique in Kubernetes cluster, adding
<cluster-name> ensures we don't conflict with any running cluster
in the cloud project (kube-controller-manager --cluster-name=XXX).
'kubernetes' is the default cluster name.
2016-02-12 09:46:59 +01:00
Mike Danese
31b8905da7
move controller manager to compoenent config
2016-02-11 13:13:03 -08:00
James DeFelice
62ba692bd9
k8sm patches for recent commits to upstream/master:
...
- run namespace controller async, see see #20076
- do not use a kubelet lock file for k8sm kubelet-executor
2016-02-11 06:42:50 +00:00
derekwaynecarr
56f5b992bb
Fix incorrect versions passed into namespace controller
2016-02-10 22:44:52 -05:00
derekwaynecarr
106693d9b3
Refactor namespace controller to use workers, do more delete collection calls
2016-02-09 16:39:13 -05:00
James DeFelice
3affc4492c
add replicaset controller to k8sm controller manager
2016-02-08 22:15:50 +00:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
Mike Danese
b1743a6887
this is a manual reversion of #20702
...
I can't revert with github which says "Sorry, this pull request couldn’t be
reverted automatically. It may have already been reverted, or the content may
have changed since it was merged."
Reverts commit: 0c191e787b
2016-02-05 16:34:02 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Jan Safranek
76b6449715
Retry recycle or delete operation on failure.
...
Recycle controller tries to recycle or delete a PV several times.
It stores count of failed attempts and timestamp of the last attempt in
annotations of the PV.
By default, the controller tries to recycle/delete a PV 3 times in
10 minutes interval. These values are configurable by
kube-controller-manager --pv-recycler-maximum-retry=X --pvclaimbinder-sync-period=Y
arguments.
2016-02-05 17:02:13 +01:00
gmarek
0c191e787b
Split controller flags between controllers
2016-02-05 12:17:51 +01:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Chao Xu
fe7887f1ec
replace the client with clientset in controllers
2016-02-02 20:28:45 -08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
James DeFelice
7ee5ef06d2
resync the k8s controller manager with the k8sm variant
2016-01-08 16:53:59 +00:00
Clayton Coleman
2326e2bae3
Split controller manager options from init
...
Make defaults and flags clearly distinct from initialization code.
2016-01-06 22:39:14 -05:00
Clayton Coleman
9dad7e624c
Split the serviceaccount package into two parts
...
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
markturansky
4fc1bf1f23
Added PersistentVolumeController
2015-12-11 10:33:30 -05:00
derekwaynecarr
55d4f70f8e
Resource quota observes deletes faster
2015-12-03 17:35:05 -05:00
Dr. Stefan Schimanski
2f45d5706b
Add node status update controller
2015-11-16 11:48:04 +01:00
Brendan Burns
0c730f4ea7
update
2015-10-14 18:22:19 -07:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
gmarek
a3723e2045
Separate deletion and termination evictors in NodeController, and fix rate_limited_queue.go
2015-09-30 09:42:01 +02:00
Dr. Stefan Schimanski
2d8b0049e1
Improve daemonset e2e test
...
- Don't mess with non-test node labels in daemonset e2e test
Other e2e tests will expect labels on the nodes. The daemonset test should only
add and remove its own labels.
- Refactor node updating in deamonset e2e test
2015-09-28 19:20:39 +02:00
Mike Danese
1065872d29
rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...)
2015-09-11 17:04:34 -07:00
Jerzy Szczepkowski
6998247e1b
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed.
...
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed. Added unittest. Fixes #12735 .
2015-09-09 10:59:43 +02:00
markturansky
68358fd308
Added VolumeConfig to volumes
2015-09-01 12:04:26 -04:00
Clayton Coleman
8a62f1828d
Evict terminating pods
2015-08-25 14:17:39 -03:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d , reversing
changes made to d78525a83b .
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Clayton Coleman
edb108802d
Handle gracefully terminated pods in node controller
...
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00
markturansky
8e0d391b1e
Refactored persistent volume controllers to new packaging structure
2015-08-10 23:18:48 -04:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00