Jan Safranek
a195802d3e
Make standalone function to check for (pre-)bound volumes.
...
Note the semantic change, we now check for UID=""
2016-05-17 15:14:04 +02:00
Jan Safranek
20305f9235
Don't process events until fully initialized.
...
We do not want to process any volume / claim events until both PV and claim
caches are fully loaded.
2016-05-17 15:14:03 +02:00
Jan Safranek
71aa892a86
Implement volume controller skeleton.
...
This is a simple controller that watches changes of PersistentVolumes and
PersistentVolumeClaims.
2016-05-17 15:14:02 +02:00
Jan Safranek
b86e5923b2
Rename types.go to persistentvolume_index.go
...
With some changes:
- make some method private, nobody seems to use them.
- adapt to framework.NewIndexerInformer instead of using custom cache.
2016-05-17 15:14:01 +02:00
Jan Safranek
6fa527a460
Remove all three PersistentVolume controllers.
...
We will add new ones gradually in smaller chunks.
2016-05-10 17:57:54 +02:00
saadali
214b4c28bc
Skeleton of new attach detach controller
2016-05-09 11:34:11 -07:00
k8s-merge-robot
2f1a9dd65c
Merge pull request #24696 from saad-ali/attachControllerSkeleton
...
Automatic merge from submit-queue
Add data structure for storing attach detach controller state.
This PR introduces the data structure for maintaining the in-memory state for the new attach/detach controller (#20262 ).
2016-05-08 23:44:38 -07:00
k8s-merge-robot
5988080396
Merge pull request #23795 from mqliang/rc-ns-index
...
Automatic merge from submit-queue
add namespace index for cache
@wojtek-t
Implement in this approach make the change of lister.go small, but we should replace all `NewInformer()` to `NewIndexInformer()`, even when someone not want to filter by namespace(eg. gc_controller and scheduler). Any suggestion?
2016-05-08 12:09:01 -07:00
Robert Bailey
96aa3d7176
Merge pull request #24929 from mwielgus/heapster_godeps_bump
...
Update Heapster api types location in Godeps
2016-05-06 13:57:35 -07:00
mqliang
c10f43a2e5
implement AddIndexers for SharedIndexInformer
2016-05-06 21:23:18 +08:00
mqliang
9011207f18
add namespace index to rc and pod
2016-05-06 17:12:36 +08:00
k8s-merge-robot
f5e1e9a227
Merge pull request #24912 from bprashanth/petset_controller
...
Automatic merge from submit-queue
Petset controller
Took longer than I expected. Main parts of this pr are:
1. Identity generation based on petset spec (volumes are mapped per discussion in #18016 )
2. Ensure that we create/delete pets in sequence
3. Ensuring that we create, wait for healthy, create; or delete, wait for terminationGrace, delete
4. Controller that watches apiserver and drives actual -> desired
PVCs are not deleted, yet.
2016-05-05 08:58:23 -07:00
k8s-merge-robot
67b8a3dd16
Merge pull request #24776 from tnachen/autoscaler_docs
...
Automatic merge from submit-queue
Add docs for podautoscaler package
Add missing docs for podautoscaler package in controllers.
2016-05-04 21:26:31 -07:00
Prashanth Balasubramanian
6bc3052551
PetSet alpha controller
2016-05-04 18:39:17 -07:00
k8s-merge-robot
9d80a047d2
Merge pull request #25109 from lavalamp/fix-time-sleep
...
Automatic merge from submit-queue
remove inappropriate time.Sleep
Fixes #24815
@liggitt since you added this in #8494 :)
2016-05-04 18:13:42 -07:00
k8s-merge-robot
93e3df8e55
Merge pull request #24789 from wojtek-t/use_proper_codec_in_client
...
Automatic merge from submit-queue
Use proper codec in client
2016-05-04 11:00:04 -07:00
Marcin Wielgus
8e90cded97
Update Heapster api types location in Godeps
2016-05-04 16:27:12 +02:00
Wojciech Tyczynski
3aadafd411
Use NegotiatedSerializer in client
2016-05-04 10:57:36 +02:00
Daniel Smith
d1de30cd6c
remove inappropriate time.Sleep
2016-05-03 16:37:28 -07:00
saadali
71302d1163
Add data structure for storing attach detach controller state.
2016-05-03 14:11:10 -07:00
Kris
28132be07e
Redo Unstructured to have accessor methods
...
Add accessor methods that implement pkg/api/unversioned.ObjectKind,
pkg/api/meta.Object, pkg/api/meta.Type and pkg/api/meta.List.
Removed the convenience fields since writing to them was not reflected
in serialized JSON.
2016-05-03 14:07:28 -07:00
Timothy Chen
d218f55dd5
Add docs for podautoscaler package
2016-04-29 18:39:48 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
k8s-merge-robot
ad67363c12
Merge pull request #24362 from ArtfulCoder/hostname-field
...
Automatic merge from submit-queue
Promote Pod Hostname & Subdomain to fields (were annotations)
Deprecating the podHostName, subdomain and PodHostnames annotations and created corresponding new fields for them on PodSpec and Endpoints types.
Annotation doc: #22564
Annotation code: #20688
2016-04-29 01:06:45 -07:00
Abhishek Shah
8a3ed48808
Added Hostname and Subdomain field to Pod.Spec
2016-04-28 10:56:56 -07:00
k8s-merge-robot
d0b887e4e0
Merge pull request #24595 from zhouhaibing089/httpserverclose
...
Automatic merge from submit-queue
Uncomment the code that caused by #19254
Fix https://github.com/kubernetes/kubernetes/issues/24546 .
@lavalamp
2016-04-28 01:41:16 -07:00
k8s-merge-robot
4a0e0826e5
Merge pull request #24220 from gmarek/metrics
...
Automatic merge from submit-queue
Generated clients can return their RESTClients, RESTClient can return its RateLimiter
cc @lavalamp @krousey @wojtek-t @smarterclayton @timothysc
Ref. #22421
2016-04-27 19:25:38 -07:00
gmarek
3171aac57c
Generated clients can return their RESTClients, RESTClient can return its RateLimiter
2016-04-27 22:15:10 +02:00
Alex Robinson
ed15931935
Fix DeletingLoadBalancer event generation.
...
Also patch up a log statement to log the service's namespace and name
rather than potentially just logging `kind:"" apiVersion:""`.
2016-04-27 00:27:55 +00:00
k8s-merge-robot
f79c7d12c6
Merge pull request #24382 from smarterclayton/fix_rlqt
...
Automatic merge from submit-queue
RateLimitedQueue TestTryOrdering could fail under load
Remove the possibility of contention in the test by providing a
synthetic Now() function.
Fixes #24125
2016-04-26 08:40:58 -07:00
zhouhaibing089
bf1a3f99c0
Uncomment the code that cause by #19254
2016-04-25 23:21:31 +08:00
Maciej Szulik
a3b4447305
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
2016-04-25 11:03:54 +02:00
Clayton Coleman
08f136b8d9
RateLimitedQueue TestTryOrdering could fail under load
...
Remove the possibility of contention in the test by providing a
synthetic Now() function.
2016-04-24 20:03:04 -04:00
k8s-merge-robot
ea15d792a1
Merge pull request #24470 from deads2k/shared-cache-02
...
Automatic merge from submit-queue
update controllers watching all pods to share an informer
This plumbs the shared pod informer through the various controllers to avoid duplicated watches.
2016-04-23 17:18:47 -07:00
k8s-merge-robot
de9c1a2a51
Merge pull request #24247 from sdminonne/service_loadbalancer_quotas
...
Automatic merge from submit-queue
Adding loadBalancer services to quota system
@derekwaynecarr follow up to #22154 .
2016-04-23 10:22:45 -07:00
k8s-merge-robot
72e51dacfe
Merge pull request #24034 from AdoHe/log_spam
...
Automatic merge from submit-queue
remove log spam from nodecontroller
@thockin @quinton-hoole ptal.
2016-04-21 12:11:05 -07:00
deads2k
60fe17d338
update resource quota controller for shared informers
2016-04-21 08:20:39 -04:00
deads2k
8c4e3af1a3
switch job controller to shared informer
2016-04-21 08:20:39 -04:00
deads2k
8b707016f9
convert daemonset controller to SharedInformer
2016-04-21 08:20:39 -04:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
Marcin Wielgus
c5a64c1f44
Add locks in HPA test
2016-04-20 22:29:01 +02:00
k8s-merge-robot
db28f73c3b
Merge pull request #24282 from goltermann/spelling
...
Automatic merge from submit-queue
Fix misspellings in comments
2016-04-19 03:47:07 -07:00
deads2k
f0c33d65b6
start sharing the pod cache and list/watch
2016-04-18 08:51:55 -04:00
deads2k
96d1f48b0b
add SharedInformer
2016-04-18 08:51:55 -04:00
goltermann
c226c9435b
Fix misspellings in comments.
...
https://goreportcard.com/report/k8s.io/kubernetes#misspell
2016-04-14 13:57:45 -07:00
Salvatore Dario Minonne
f4ed4998ff
Adding loadbalancer services to quota
2016-04-14 14:06:42 +02:00
Chao Xu
31cd4c124d
handle empty perferredVersion
2016-04-13 13:18:31 -07:00
k8s-merge-robot
8eb19c7889
Merge pull request #22154 from sdminonne/service_nodeports_quotas
...
Automatic merge from submit-queue
Adding nodeports services to quota
To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
k8s-merge-robot
acf9492cb1
Merge pull request #23660 from goltermann/vetclean
...
Automatic merge from submit-queue
Additional go vet fixes
Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
Salvatore Dario Minonne
15b7577454
Adding nodeports services to quota
2016-04-12 11:09:16 +02:00