Commit Graph

474 Commits (5b4c92fe9415ff52d8bfb994ea95c06bd9857115)

Author SHA1 Message Date
k8s-merge-robot e4164638c4 Merge pull request #14732 from jszczepkowski/hpa-api-fix
Auto commit by PR queue bot
2015-10-01 18:52:59 -07:00
k8s-merge-robot 2b1a0e98a2 Merge pull request #14746 from jszczepkowski/deployment-fix
Auto commit by PR queue bot
2015-10-01 18:23:12 -07:00
k8s-merge-robot 4e63cafde1 Merge pull request #14748 from gmarek/nodecontroller
Auto commit by PR queue bot
2015-10-01 17:38:53 -07:00
nikhiljindal c6deb442f9 Adding events to deployment 2015-10-01 16:38:08 -07:00
Kris d0aa9dfbc7 Removing custom test timeout 2015-10-01 14:35:58 -07:00
k8s-merge-robot a463b34507 Merge pull request #14822 from jszczepkowski/events-cleaunp
Auto commit by PR queue bot
2015-10-01 09:22:59 -07:00
David Oppenheimer 29dd7e3bb8 Fix race condition in DaemonSet controller. Fixes #14693. 2015-10-01 02:17:52 -07:00
Nikhil Jindal 7adb463dd0 Merge pull request #14199 from nikhiljindal/deploymentDescribe
Adding a DeploymentDescriber to kubectl
2015-09-30 21:34:24 -07:00
Brendan Burns 2cc6901d7d Merge pull request #14798 from kubernetes/revert-14616-controller-framework-flake
Revert "Controller framework test flake fix"
2015-09-30 10:04:48 -07:00
Jerzy Szczepkowski 83ec04ef58 Improved event message for ServiceController.
Improved event message for ServiceController. Follow up of #13992.
2015-09-30 13:20:41 +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
David Oppenheimer f86b119242 Merge pull request #14550 from mesosphere/sttts-fix-daemonset-tests
Fix bugs in daemonset controller and e2e tests
2015-09-30 00:37:46 -07:00
Brendan Burns d82567de85 Revert "Controller framework test flake fix" 2015-09-29 20:17:16 -07:00
Brendan Burns 22fa2db39a Merge pull request #14616 from mvdan/controller-framework-flake
Controller framework test flake fix
2015-09-29 20:16:36 -07:00
Prashanth Balasubramanian c148332772 Deleting namespace cleans-up Ingress 2015-09-29 18:51:55 -07:00
Jerzy Szczepkowski e5b2f310fb Fixed ignoring the rest of deployments after the first error in deployment controller.
Fixed ignoring the rest of deployments after the first error in deployment controller & added logging of errors.
2015-09-29 17:09:33 +02:00
Jerzy Szczepkowski a5194c5ff4 HorizontalPodAutoscaler.Status kept by value, not by pointer.
HorizontalPodAutoscaler.Status kept by value, not by pointer. Fixes #14567.
2015-09-29 14:25:46 +02:00
deads2k 4cc63313e7 fix testclient prepend functions 2015-09-29 08:03:52 -04:00
nikhiljindal 153c57ffc8 Adding a DeploymentDescriber to kubectl 2015-09-28 14:21:24 -07:00
Mike Danese 2fa10f8ad6 delete job when namespace is deleted 2015-09-28 11:18:56 -07:00
Dr. Stefan Schimanski a9582dfcbe Set NodeName on daemonset pods correctly
The pod template was overriding the NodeName.
2015-09-28 19:20:38 +02:00
Daniel Martí fdd7322b38 Use DeleteDropWatch instead of Delete in test
Using the latter resulted in receiving extra OnDelete event callbacks. Using
DeleteDropWatch removed the flake.

Fixes #14138.
2015-09-26 11:55:34 -07:00
Daniel Martí 61e4eb4e1f Proper format string for ints 2015-09-26 11:52:33 -07:00
Daniel Martí 011db554e5 Simplify fake controller lock 2015-09-26 11:52:17 -07:00
Brian Grant 15c585e3ad Merge pull request #14578 from derekwaynecarr/fix_flake
Fix flake in gc test
2015-09-25 15:14:01 -07:00
derekwaynecarr 9bf88ddc6f Fix flake in gc test 2015-09-25 16:47:11 -04:00
Brian Grant e3abcf7198 Merge pull request #14535 from derekwaynecarr/daemon_sets_status
DaemonSets adds a Status subresource
2015-09-25 13:30:55 -07:00
Brian Grant 2da7e8d41f Merge pull request #14316 from mikedanese/dedup
consolidate a bunch of FakePodControl testclients into a shared one
2015-09-25 13:29:13 -07:00
Brian Grant 0c278ce56a Merge pull request #14249 from markturansky/prov_claim_annotations
Allow pre-binding of Persistent Volumes to PVClaims
2015-09-25 13:26:29 -07:00
Brian Grant f62432212a Merge pull request #14351 from zhengguoyong/del-unused-code
del the unused code
2015-09-25 13:16:06 -07:00
Brian Grant 44b0bb1ae7 Merge pull request #14325 from mikedanese/podgc
add pod garbage collection
2015-09-25 11:24:01 -07:00
Brian Grant 296888fb70 Merge pull request #14297 from derekwaynecarr/improve_namespace_controller
Improve conflict errors in namespace controller
2015-09-25 11:04:01 -07:00
derekwaynecarr aead9d3291 DaemonSets adds a Status subresource 2015-09-25 12:13:54 -04:00
Mike Danese 824768d604 consolidate a bunch of FakePodControl testclients into a shared one 2015-09-24 23:21:20 -07:00
Mike Danese 376faea1cf add pod garbage collection 2015-09-24 22:47:53 -07:00
Brian Grant 26fe0823d5 Merge pull request #14250 from zhengguoyong/LoadBalancer
update createExternalLoadBalancer to createLoadBalancer
2015-09-24 18:27:35 -07:00
Chao Xu ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune 50f8f0c782 Merge pull request #14343 from erictune/job-update
Job update
2015-09-24 13:54:54 -07:00
derekwaynecarr f92755acab Improve conflict errors in namespace controller 2015-09-24 10:52:55 -04:00
Jerzy Szczepkowski c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
markturansky f2378a2da7 shortened annotation key name, improved comments 2015-09-23 22:02:08 -04:00
Eric Tune f899afb896 Merge pull request #14414 from socaa/unit
Unit tests for metrics_client.go
2015-09-23 16:25:42 -07:00
Brendan Burns 77fd388485 Increase a bunch of timeouts to reduce flakes 2015-09-23 11:09:03 -07:00
Ewa Socala 1c74b33042 Unit tests for metrics_client.go 2015-09-23 17:36:18 +02:00
markturansky 09600095c4 allow pre-binding of persistent volumes to pvclaims 2015-09-23 10:24:42 -04:00
eulerzgy 64f96e4c8c update createExternalLoadBalancer to createLoadBalancer 2015-09-23 11:09:54 +08:00
Eric Tune 6dbb781093 Merge pull request #14320 from erictune/fix-daemonset-logging
Reduce verbosity of DaemonSet controller.
2015-09-22 13:36:46 -07:00
Eric Tune 95a44be2ef Job status updates.
Added status REST storage.
Added validation for Status Updates.
Changed job controller to update status rather than just job
(which ignores status updates).
2015-09-22 11:39:35 -07:00
Eric Tune b113b5ac2a Merge pull request #14336 from erictune/more-verbosity-job-controller
Log the error when unable to update job.
2015-09-22 11:03:11 -07:00
k8s-merge-robot 014947c16c Merge pull request #14322 from mikedanese/dead-code
Auto commit by PR queue bot
2015-09-22 07:05:27 -07:00
eulerzgy 91044f3bf2 del the unused code 2015-09-22 19:07:06 +08:00
Eric Tune c99df5e3a4 Log the error when unable to update job. 2015-09-21 21:26:06 -07:00
Mike Danese 87cacda8a7 delete a bunch of dead code in pkg/controller 2015-09-21 16:38:43 -07:00
Eric Tune a224eec4dc Reduce verbosity of DaemonSet controller. 2015-09-21 15:45:38 -07:00
Jordan Liggitt 079d5429de Retry service account update when adding token reference 2015-09-21 11:09:46 -04:00
k8s-merge-robot c2f76e4ce7 Merge pull request #14106 from jszczepkowski/hpa-api
Auto commit by PR queue bot
2015-09-19 22:23:06 -07:00
k8s-merge-robot 3d71d8f38b Merge pull request #14220 from ghodss/replication-manager-comments
Auto commit by PR queue bot
2015-09-19 00:55:59 -07:00
k8s-merge-robot fa86f0749d Merge pull request #14195 from mikedanese/daemon-log
Auto commit by PR queue bot
2015-09-18 23:33:12 -07:00
k8s-merge-robot 7425cd5a22 Merge pull request #14209 from nikhiljindal/deploymentController
Auto commit by PR queue bot
2015-09-18 22:51:47 -07:00
nikhiljindal 89e9691080 Adding scale up/down code to DeploymentController 2015-09-18 19:24:16 -07:00
Sam Ghods 436fedd672 Clean up comments on replication manager 2015-09-18 18:52:50 -07:00
Mike Danese 0ae2334a4f sort jobs by creation timestamp to make getPodJob deterministic 2015-09-18 14:48:22 -07:00
Mike Danese 5965760751 change log level on a lot of glog calls in job controller 2015-09-18 14:48:22 -07:00
Mike Danese 267cc9de91 serialize access to active with a lock 2015-09-18 14:48:22 -07:00
Mike Danese 144d72ca7b fix incorrect log statement in daemon controller 2015-09-18 12:19:07 -07:00
Mike Danese e29e606792 make JobController RestartPolicy independent 2015-09-18 11:48:47 -07:00
Mike Danese 22072af90d rename jobmanager to jobcontroller 2015-09-18 11:48:47 -07:00
Daniel Martí 586cb9126a Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Alex Mohr bdfd469a85 Merge pull request #14137 from caesarxuchao/13823
rebase 13823
2015-09-17 15:25:52 -07:00
k8s-merge-robot c1eb1a1b2f Merge pull request #13791 from fgrzadkowski/fix_secrets_in_docker
Auto commit by PR queue bot
2015-09-17 15:13:29 -07:00
k8s-merge-robot a5d3918082 Merge pull request #14110 from derekwaynecarr/event_name_against_api_conventions
Auto commit by PR queue bot
2015-09-17 14:40:31 -07:00
Kris c5f22a025a Regenerating everything 2015-09-17 14:09:53 -07:00
Kris f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
k8s-merge-robot 36eb7372c8 Merge pull request #13259 from soltysh/job_controller_logic
Auto commit by PR queue bot
2015-09-17 13:22:34 -07:00
k8s-merge-robot 055f5ff9b9 Merge pull request #13649 from markturansky/prov_deleter
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
k8s-merge-robot 7cee028497 Merge pull request #13778 from smarterclayton/unready_endpoints
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00
markturansky c2de9e9647 Added volume.Deleter interface and simple HostPath implementation 2015-09-17 12:08:58 -04:00
Filip Grzadkowski 7fe34f2050 Introduce nsenter writer for volume plugins 2015-09-17 16:40:29 +02:00
derekwaynecarr 1acc203b36 Node controller produces events with invalid names 2015-09-17 09:59:48 -04:00
k8s-merge-robot e8f77b3673 Merge pull request #14067 from deads2k/add-sa-token-resolver
Auto commit by PR queue bot
2015-09-17 06:51:00 -07:00
Clayton Coleman bf2decce81 Add NotReadyAddresses to Endpoints
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.

This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
Jerzy Szczepkowski 7fcf7f1177 Cleanups in HorizontalPodAutoscaler API.
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
deads2k 32a495acb6 add helper methods for SA token secret checks 2015-09-17 07:50:09 -04:00
Maciej Szulik 8cefa2ee55 Job controller logic 2015-09-17 10:05:33 +02:00
Jerzy Szczepkowski 722b0a6cf8 Unittests for horizontal pod autoscaler controller.
Unittests for horizontal pod autoscaler controller.
2015-09-17 09:32:05 +02:00
k8s-merge-robot f44432ae7b Merge pull request #13702 from ghodss/ghodss-yaml-upgrade
Auto commit by PR queue bot
2015-09-16 22:27:24 -07:00
k8s-merge-robot ac8e548f35 Merge pull request #13922 from jszczepkowski/events-cleaunp
Auto commit by PR queue bot
2015-09-16 18:44:06 -07:00
k8s-merge-robot 426d4a2477 Merge pull request #13945 from caesarxuchao/kube-api-prefix
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
k8s-merge-robot 75bce0ed8d Merge pull request #14000 from mikedanese/nc_spam
Auto commit by PR queue bot
2015-09-16 04:45:40 -07:00
Jerzy Szczepkowski 04919ebfa9 Fixed reasons of some events.
Fixed reasons of some events: made consistent with API conventions (CamelCase).
2015-09-16 08:46:31 +02:00
k8s-merge-robot 20d74e9fb0 Merge pull request #13983 from mikedanese/ds_cleanup
Auto commit by PR queue bot
2015-09-15 21:33:47 -07:00
Jeff Lowdermilk e0aeb1151b Merge pull request #9870 from markturansky/recyc_config
Allow Volume Plugins to be configurable
2015-09-15 17:53:49 -07:00
Mike Danese c24ef49c90 only log when we are actually cancelling an eviction in the node controller 2015-09-15 14:45:56 -07:00
k8s-merge-robot f03a267089 Merge pull request #13895 from jhadvig/typos_fix
Auto commit by PR queue bot
2015-09-15 14:29:06 -07:00
Mike Danese 4e9a6c4c4b rename method as part of renaming daemon to daemonset 2015-09-15 11:43:15 -07:00
Chao Xu 9bef5ff99d register experimental apis as apis/experimental/..
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
markturansky 7bc55b5aea configurable pv recyclers 2015-09-15 12:48:25 -04:00
k8s-merge-robot 1381d0cc36 Merge pull request #13887 from nikhiljindal/deploymentController
Auto commit by PR queue bot
2015-09-14 22:01:06 -07:00
nikhiljindal c97b9db700 Adding a deploymentController 2015-09-14 18:39:46 -07:00
k8s-merge-robot 653e5defa5 Merge pull request #13855 from jiangyaoguo/fix-reason-reporting-in-controller
Auto commit by PR queue bot
2015-09-14 12:32:03 -07:00
Jeff Lowdermilk e25ae7fdb2 Merge pull request #13833 from caesarxuchao/central-latest
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
Jerzy Szczepkowski e8ceee0d6f Events for HorizontalPodAutoscalers.
Implemented events for reconcilation of HorizontalPodAutoscalers.
2015-09-14 16:00:31 +02:00
jiangyaoguo 079f1e7015 Fix reason reporting in controller 2015-09-13 11:49:14 +08:00
jhadvig 7582e90d01 Minor typos fix 2015-09-12 21:16:22 +02:00
Chao Xu dd6c121d7f massive changes 2015-09-11 17:31:47 -07: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
Ananya Kumar c7628fae43 Add daemon manager 2015-09-11 16:56:08 -07:00
Daniel Smith ccd9e3e247 Run all automated tools 2015-09-11 16:11:08 -07:00
Daniel Smith 4c2adabf42 move; sed replace 2015-09-11 16:03:22 -07:00
k8s-merge-robot 52ef0599d8 Merge pull request #13796 from jszczepkowski/hpa-rename
Auto commit by PR queue bot
2015-09-11 00:33:22 -07:00
Abhishek Shah 44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
Daniel Smith b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith 15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Mike Danese b0457bee94 Merge pull request #13058 from mvdan/go1.5
Race condition and test fixes
2015-09-10 15:10:19 -07:00
Daniel Martí d15de72a92 Fix race condition in controller_test
Our WaitGroup.Add() call might happen after some WaitGroup.Done() calls done
by the controller, so make sure that doesn't happen by doing the Add() calls
before letting the controller run.

--- FAIL: TestUpdate (2.00s)
panic: sync: WaitGroup is reused before previous Wait has returned [recovered]
        panic: sync: WaitGroup is reused before previous Wait has returned
2015-09-10 14:33:23 -07:00
tummychow 78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
k8s-merge-robot 1313e3b14e Merge pull request #13700 from mikedanese/daemon_set
Auto commit by PR queue bot
2015-09-10 10:15:45 -07:00
Mike Danese bf881f187e rename expapi.Daemon to expapi.DaemonSet 2015-09-10 08:34:26 -07:00
Jerzy Szczepkowski 65d43a40e5 Changed nameing in controller for HorizontalPodAutosclaer.
Changed nameing in controller for HorizontalPodAutosclaer to make it consistent with coding conventions.
2015-09-10 15:10:07 +02:00
Chao Xu 002dcc6343 Merge pull request #13737 from wojtek-t/switch_to_node_in_registry
Rename "minion" to "node" in few places.
2015-09-09 17:49:22 -07:00
Wojciech Tyczynski cd1ac360de Rename "minion" to "node" in few places. 2015-09-09 16:18:23 +02: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
Sam Ghods f6fb0e9236 Fix yaml booleans and ints not always marshaling to strings 2015-09-08 20:20:05 -07:00
Jerzy Szczepkowski bd8227b92c Memory based horizontal pod autoscaling.
Implemented horizontal autoscaling of pods based on memory consumption.
2015-09-08 12:14:04 +02:00
k8s-merge-robot bb3e20e361 Merge pull request #13642 from gmarek/nodecontroller_race
Auto commit by PR queue bot
2015-09-07 13:01:59 -07:00
gmarek 98b954c74c Add a mutex to assure atomicity of reat_limited queue operations and remove 'leaky' version of it 2015-09-07 15:04:59 +02:00
Marcin Wielgus 02c30c5d61 Update for scaling rules in HorizontalPodAutoscaler 2015-09-07 12:30:22 +02:00
Chao Xu 9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Quinton Hoole fc946ce4a4 Merge pull request #12600 from derekwaynecarr/resource_quota_request
Update ResourceQuota for resource requirements requests
2015-09-04 12:39:46 -07:00
Quinton Hoole 7bbe516b95 Merge pull request #13303 from mwielgus/hpa_heapster_interface
MetricsClient for HorizontalPodAutoscaler
2015-09-04 09:09:54 -07:00
Quinton Hoole e5e2bc9580 Merge pull request #10833 from markturansky/loosen_binding
Allow PV/Claim matching on inexact access modes
2015-09-04 09:06:31 -07:00
k8s-merge-robot 5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
derekwaynecarr 2e76842eb7 Update resource quota for requests 2015-09-03 14:24:59 -04:00
markturansky 0e7f73ad67 expand volume.Spec to include full Volume and PV 2015-09-03 08:57:32 -04:00
k8s-merge-robot f5c2d90c3a Merge pull request #12293 from deads2k/testclient-specific-reaction
Auto commit by PR queue bot
2015-09-02 09:18:24 -07:00
Brendan Burns 43e7c9b211 Merge pull request #13367 from spothanis/cinder
Cinder Volume Plugin
2015-09-01 10:05:15 -07:00
deads2k 7e180c258d update testclient for delegating reaction chain 2015-09-01 12:58:35 -04:00
Marcin Wielgus 064b09ff0b MetricsClient for HorizontalPodAutoscaler 2015-09-01 17:24:11 +02:00
Daniel Schierbeck 08eec7c6b9 Fix a typo in the documentation 2015-08-31 10:42:34 +02:00
Wojciech Tyczynski e202f9c797 Add resource version to Store Replace params. 2015-08-31 09:49:12 +02:00
Sreekanth Pothanis f5da6b34ce Cinder Volume Plugin 2015-08-30 19:56:27 -07:00
Prashanth B 05b205bab6 Revert "Volume Plugin for Cinder; Openstack Block Storage" 2015-08-28 10:56:24 -07:00
Prashanth B 8d0d54ffed Merge pull request #6689 from spothanis/cinder-vol-plugin
Volume Plugin for Cinder; Openstack Block Storage
2015-08-28 10:47:31 -07:00
markturansky 0b6030f50c added better matching for PV access modes 2015-08-27 15:34:07 -04:00
Yu-Ju Hong 7b162c092f Merge pull request #12972 from mwielgus/kubectl_describe_hpa
Kubectl describe for experimental HorizontalPodAutoscaler
2015-08-26 09:55:30 -07:00
Jerzy Szczepkowski 08594dab8c Added ProxyGet method to services client.
Added ProxyGet method to services client.
2015-08-26 16:38:13 +02:00
Marcin Wielgus 55cd0d565e Kubectl describe for experimental HorizontalPodAutoscaler 2015-08-26 16:28:50 +02:00
Filip Grzadkowski 1a8b400c3e Merge pull request #13147 from mwielgus/hpa_impl
Implementation of HorizontalPodAutoscaler
2015-08-26 15:36:27 +02:00
Marcin Wielgus df0a0ed37e Implementation of HorizontalPodAutoscaler 2015-08-26 14:51:54 +02:00
Sreekanth Pothanis c841a20361 Cinder Volume Plugin 2015-08-25 15:13:56 -07:00