Commit Graph

190 Commits (11c7068b74c5ae60a22b8b6222d5206f2e9289ba)

Author SHA1 Message Date
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
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
Jan Chaloupka 4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
Madhusudan.C.S 4f9b8b2bfc Link all the ReplicaSet controller boilerplate together.
1. Enable replica set in controller manager.
2. Enable replica set etcd storage in master package.
3. Add replica set support to kubectl commands.
2016-02-05 21:05:10 -08: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 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
Mike Danese a885d84cc9 leaderelection: retrofit controller-manager with leaderelection client
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-18 14:05:55 -08:00
Nagarjun c98364e79b insert space after comment character in cmd folder 2016-01-08 16:25:57 +05:30
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
k8s-merge-robot 236683fe29 Merge pull request #18357 from gmarek/expose-master-components
Auto commit by PR queue bot
2016-01-04 14:32:17 -08: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
gmarek a4202cbee9 Scheduler and ControllerManager listens on 0.0.0.0 2015-12-23 08:33:25 +01:00
k8s-merge-robot 20b7810a21 Merge pull request #16667 from DirectXMan12/refactor/hpa-use-namespacers
Auto commit by PR queue bot
2015-12-20 07:34:39 -08:00
Janet Kuo 32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
Sam Ghods b838d8ce18 Add informers to deployment controller 2015-12-17 19:29:54 -08:00
Jan Safranek d4f6271b21 Implement Creater and Deleter interfaces for GCE PD. 2015-12-16 16:14:01 -05:00
Jan Safranek 2f06ebf9b7 Implement Creater and Deleter interfaces for Cinder. 2015-12-16 14:23:14 -05:00
Jan Safranek 6ff5286df9 Implement Creater and Deleter interfaces for AWS EBS.
Also mark the created EBS volumes with tags, so the admin knows
who/what created the volumes.
2015-12-15 10:22:49 +01:00
Solly Ross 15fc230a59 Make HPA Controller use Namespacers
The HPA controller had previously used a single Client
object to act as three different Namespacers.  To improve
ease of extensibility and to make it clearer what the HPA
controller actually needs to use from the client, it should
use separate Namespacers for each of its needs (Scales, HPAs,
and Events).
2015-12-14 11:41:00 -05:00
Wojciech Tyczynski 342eee680c Revert "[hpa] Parameterize tolerance, downscale, and upscale into HPAController, and add corresponding unit test for backsolved tolerance." 2015-12-13 09:54:43 +01:00
k8s-merge-robot 9b07349013 Merge pull request #18315 from jayunit100/hpa-tolerance-config
Auto commit by PR queue bot
2015-12-12 01:55:46 -08:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
Jay Vyas 5161d169ba Parameterization for downscale, upscale, and tolerance with backsolving
unit test for visible testing of tolerance algorithm expectations. Logs for dScale, uScale, tol creation.
2015-12-10 10:59:21 -05:00
gmarek 5298c2f62e All controllers run by controller-manager use diffrent UserAgents 2015-12-07 10:02:23 +01:00
derekwaynecarr 55d4f70f8e Resource quota observes deletes faster 2015-12-03 17:35:05 -05:00
Prashanth Balasubramanian 9aa0efa393 Turn flannel off by default 2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian 4cd1ee177b Salt configuration for flanneld 2015-11-25 09:42:59 +01:00
k8s-merge-robot 7536e776f3 Merge pull request #16931 from mikedanese/inclustercomponent
Auto commit by PR queue bot
2015-11-18 22:52:27 -08:00
Jordan Liggitt 14c40fa741 Fix transposed controller manager args 2015-11-17 15:24:57 -05:00
Mike Danese fb056c47b2 use inClusterConfig before using default config for cluster components 2015-11-17 10:37:40 -08:00
Jordan Liggitt 165d7d5030 Enable specifying scheme/port for metrics client 2015-11-16 13:18:40 -05:00
Dr. Stefan Schimanski bc7523a775 Make controller manager node monitor constant public 2015-11-16 11:48:04 +01:00
He Simei d76d57e0e1 wait for 10s before controller manager fails when api-server is not up 2015-11-13 14:16:39 +08:00
k8s-merge-robot c3a072768b Merge pull request #16728 from markturansky/lengthen_pv_sync
Auto commit by PR queue bot
2015-11-05 00:35:12 -08:00
markturansky 468bc39a63 Lengthened pvsync period 2015-11-04 00:42:44 -05:00
Solly Ross f262560cac Customize HPA Heapster service namespace/name
This commit makes the HPA metrics client configurable in where
it looks for heapster instead of hard coding it to
"kube-system/heapster".  The values of "kube-system/heapster"
are still recorded as constants in the metrics client package
for use as default values.
2015-11-02 11:14:08 -05:00
Deyuan Deng 638411d744 Wait apiserver in controller manager startup process 2015-10-29 00:15:33 +08:00
k8s-merge-robot 54706661ad Merge pull request #15479 from feiskyer/gendocs
Auto commit by PR queue bot
2015-10-25 17:47:14 -07:00
k8s-merge-robot 6b330a8db5 Merge pull request #16112 from deads2k/expose-resync
Auto commit by PR queue bot
2015-10-25 05:16:29 -07:00
feisky 13dce74adb Gendocs for docs/admin/kube-* 2015-10-25 19:24:23 +08:00
Steve Sloka 4302208aa9 globally search/replace 'KubeApiQps' to 'KubeAPIQPS' and 'KubeApiBurst' to 'KubeAPIBurst' to match GO rules 2015-10-23 08:24:19 -04:00
deads2k 33c860c81f expose ResyncPeriod for easier composition 2015-10-22 14:20:03 -04:00