Commit Graph

71 Commits (8a8177f99e953fe842613b39029a15aa6491814a)

Author SHA1 Message Date
Mike Danese 14284291da only include running and pending pods in daemonset should place calculation 2016-04-06 12:30:50 -07:00
k8s-merge-robot 9ad3b9d669 Merge pull request #23463 from mikedanese/ds-event
Automatic merge from submit-queue

add an event for when a daemonset can't place a pod due to insufficen…

…t resource or port conflict

https://github.com/kubernetes/kubernetes/issues/23013#issuecomment-201076147
2016-04-03 05:16:31 -07:00
Chao Xu 49559a3332 Generate the typed clients under the clientset folder 2016-03-31 15:28:45 -07:00
k8s-merge-robot e35efb5765 Merge pull request #23467 from mikedanese/dont-sync-deployment
Auto commit by PR queue bot
2016-03-29 06:42:20 -07:00
Mike Danese fb4a5c6c42 add an event for when a daemonset can't place a pod due to insufficent resource or port conflict 2016-03-28 13:58:51 -07:00
Mike Danese c4305762b2 don't sync deployment when pod selector is empty 2016-03-28 10:12:41 -07:00
goltermann 32d569d6c7 Fixing all the "composite literal uses unkeyed fields" Vet errors. 2016-03-25 15:25:09 -07:00
Mike Danese 625ce91d54 don't sync daemonsets or controllers with selectors that match all pods 2016-03-24 14:46:49 -07: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
Mike Danese cd6c288d45 Fix daemonset flapping when using a host port 2016-03-02 22:22:14 -08:00
mqliang 7e1ab26c06 add lookup cache for daemonset 2016-03-01 22:04:56 +08:00
Mike Danese d7a7f87eee fix nil pointer in dameonset controller 2016-02-25 16:17:33 -08:00
mqliang ced5eb7a71 return early if has not synced 2016-02-18 11:56:52 +08:00
Chao Xu 97aecd002a remove underscore in imported pkg names 2016-02-16 10:54:51 -08:00
k8s-merge-robot 81c8494307 Merge pull request #21010 from mikedanese/ds-revert
Auto commit by PR queue bot
2016-02-14 07:43:18 -08:00
Mike Danese 23ad84b0c7 place damonset pods on not ready nodes 2016-02-11 13:11:05 -08:00
mqliang 91124afdd7 Revert "Sync pods for daemon sets."
This reverts commit ffd34311c6.
2016-02-11 11:46:16 +08:00
Jan Chaloupka 4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
Chao Xu 184440f8ef rename release_1_2 to internalclientset 2016-02-05 14:02:28 -08:00
Daniel Smith d84ac764a9 Merge pull request #20492 from erictune/labselunver
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08:00
Chao Xu 1b047f8e67 rename legacy to core 2016-02-04 14:26:56 -08:00
Eric Tune 6133cb1f21 Move extensions.LabelSelector to unversioned.
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.

Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned

The related type in pkg/apis/extensions/v1beta1/ is staying there.  I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
Chao Xu f9f5736b01 grep sed 2016-02-03 13:06:07 -08:00
harry 1032067ff9 Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
Chao Xu c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
k8s-merge-robot ce9f93df2e Merge pull request #20061 from mikedanese/copypaste
Auto commit by PR queue bot
2016-01-30 05:52:26 -08:00
Madhusudan.C.S 73fb6dca62 DaemonSetSpec.Template should not be a pointer.
Pod template for DaemonSets isn't optional, like Deployments and Jobs,
so the DaemonSetSpec.Template field should not be a pointer.
2016-01-28 22:51:58 -08:00
Mike Danese e2fecf36b9 daemonset: apply predicated when placing daemon pods 2016-01-28 13:26:16 -08:00
Prashanth Balasubramanian ffd34311c6 Sync pods for daemon sets. 2016-01-22 16:42:07 -08:00
mqliang 7d87a1de99 create and delete concurrently 2015-12-26 21:30:31 +08:00
jiangyaoguo 91e0bbebfb emit event when controller delete pod 2015-12-21 02:11:55 +08:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Wojciech Tyczynski b0fcb5adef Pass ListOptions to List in ListWatch. 2015-12-07 11:53:53 +01:00
Salvatore Dario Minonne 80575c3093 renaming PodSelector to LabelSelector 2015-12-04 09:49:08 +01:00
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
k8s-merge-robot 8a8639d7af Merge pull request #17863 from wojtek-t/only_list_options_in_watch
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
Wojciech Tyczynski d2dfc912e6 Simplify Watch() signature in clients. 2015-12-01 14:19:26 +01:00
Weixu Zhuang c7756ce8d5 Enqueue DaemonSet only it has new or updated nodes in it.
When add node or update node func is called, all DaemonSets are enqueued to workqueue
of DaemonSet Controller. The consumer of the workqueue does an iteration of node.List
for every DaemonSet in the workqueue.

This change examinate the daemonSet before we enqueue it into DaemonSetController's work queue.
It will enqueue the DaemonSet only when it is related to the changed node.
2015-11-30 11:51:43 -08:00
Wojciech Tyczynski b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
Mike Danese a6fb172818 extract shouldRun predicate to a function in daemonset controller 2015-11-18 16:44:41 -08:00
Mike Danese f674109502 daemonset shouldn't place onto unschedulable nodes 2015-11-16 10:17:40 -08:00
Mike Danese 7a7f31ead1 move daemonset to generalized label selector 2015-11-13 10:31:50 -08:00
mqliang f26d437903 move assignment in loop 2015-11-04 15:42:25 +08:00
David Oppenheimer 899ddc66eb Merge pull request #16478 from mikedanese/ds-nodeready
daemonset don't place pods on notready nodes
2015-10-30 01:07:28 -07:00
k8s-merge-robot 1ecda94f0a Merge pull request #15305 from mqliang/deamonSetList
Auto commit by PR queue bot
2015-10-29 11:25:52 -07:00
Mike Danese f237db81f0 daemonset don't place pods on notready nodes 2015-10-29 11:11:20 -07:00
Wojciech Tyczynski d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
Wojciech Tyczynski f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
mqliang 163860797d move assignment statement out of loop 2015-10-20 20:02:45 +08:00