Commit Graph

67 Commits

Author SHA1 Message Date
Garrybest 08fa785670 run async worker with no intervals
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-10-18 10:58:49 +08:00
dddddai 65071d1e64 fetch control plane workload from cache instead of api server
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-15 17:33:25 +08:00
dddddai ede9fad83c add finalizer in resource binding and cluster resource binding
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-09-29 11:21:51 +08:00
RainbowMango 56fbbe1054 adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
changzhen 8559d48298 remove logic of cleanup resource template status when binding object delete
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-28 11:12:25 +08:00
esto a6165e47f9 update import-aliases
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
changzhen aca03f146c fix bug: update binding object with replicas and replicaRequirements
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-09 17:01:27 +08:00
karmada-bot f380abf288
Merge pull request #657 from Garrybest/pr_estimator
add node claim into ReplicaRequirements
2021-09-07 09:13:03 +08:00
Garrybest 4f8215e071 add node claim into ReplicaRequirements
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-06 15:31:42 +08:00
lihanbo d572c5d80c fix bug of removing labels from resource bingding
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-08-31 19:31:08 +08:00
changzhen eacfb492b1 fix use controller-runtime client resulting cache delay
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-25 15:12:15 +08:00
karmada-bot 5081eedb0a
Merge pull request #601 from qianjun1993/delete-policy
keep ResourceBinding when removing PropagationPolicy
2021-08-25 09:16:41 +08:00
karmada-bot 06818af310
Merge pull request #637 from Garrybest/pr_estimator
move ReplicaResourceRequirements and Replicas into ResourceBindingSpec
2021-08-24 15:40:46 +08:00
junqian bf7f4bf097 stop remove ClusterResourceBindings labeled with policy
Signed-off-by: junqian <junqian@tencent.com>
2021-08-24 15:08:39 +08:00
Garrybest e3f0b9b611 clean up AddPodRequest
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-22 11:25:37 +08:00
Garrybest 5af53ce908 move ReplicaResourceRequirements and Replicas into ResourceBindingSpec
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-21 10:43:33 +08:00
lihanbo d5a595d766 reflect status of job/service/ingress to resource template
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-08-18 17:40:00 +08:00
Garrybest 1452fa57e3 modify usage of informer-manager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-08-16 17:16:42 +08:00
karmada-bot 90fdd649aa
Merge pull request #594 from XiShanYongYe-Chang/cluster-api-v4
Add cluster lifecycle management using the cluster-api
2021-08-11 16:47:33 +08:00
karmada-bot 4c2c18966d
Merge pull request #582 from weilaaa/feature/skip-disabled-gvr
skip disabled gvr when new informers
2021-08-11 09:29:14 +08:00
changzhen 60e53a1f02 add cluster lifecycle management using the cluster-api
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-10 17:55:07 +08:00
weilaaa 7a980fa842 skip disabled gvr when new informers
Signed-off-by: weilaaa <weilanidaye@gmail.com>
2021-08-06 10:26:19 +08:00
pigletfly 8edb376966 Move labels to apis
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-08-06 00:03:00 +08:00
RainbowMango 7607dce76e sync observed generation
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-28 20:39:03 +08:00
karmada-bot 942db31da4
Merge pull request #556 from garfcat/master
cleanup waitlist after resource template is removed
2021-07-26 12:10:51 +08:00
garfcat 524ce520e5 annotation format
Signed-off-by: garfcat <xiefei_mvp@163.com>
2021-07-24 21:38:47 +08:00
garfcat 1623181ab2 Once resource be deleted, the object in the waiting list should be remove.
Signed-off-by: garfcat <xiefei_mvp@163.com>
2021-07-23 20:01:23 +08:00
changzhen 478a8dfbf3 use resourceBinding lister generated from the SingleClusterInformerManager
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-23 14:20:12 +08:00
RainbowMango 54801cddca remove inline json tag from status field
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-23 09:52:09 +08:00
karmada-bot e7887f4fb8
Merge pull request #533 from pigletfly/watchedNamespace
controller-manager: introduce --skipped-propagating-namespaces flag
2021-07-22 19:06:46 +08:00
pigletfly 3a29c15a7e Add skipped-propagating-namespaces flag
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-07-22 17:41:50 +08:00
RainbowMango 16bb6a2543 stop list propagationpolicies and clusterpropagationpolicies from controller-runtime cache
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-20 16:26:55 +08:00
changzhen 5154ba4b37 resource's annotation have not been updated after the overridepolicy updated
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-16 18:04:40 +08:00
RainbowMango 6aaa003f38 Add more debug logs for failing case.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-15 16:00:46 +08:00
pigletfly d4bbde279f Add skippedPropagatingAPIs option
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-07-08 19:17:01 +08:00
junqian ab4fa71bf2 add object resource info to binding
Signed-off-by: junqian <junqian@tencent.com>
2021-07-06 11:28:11 +08:00
likakuli 29764f26b7 Fix misleading logs
Signed-off-by: likakuli <1154584512@qq.com>
2021-07-02 17:57:58 +08:00
RainbowMango 89f3569147 Making resource selector required
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-06-10 17:15:35 +08:00
huiwq1990 d96ac4e222 remove unused code
Signed-off-by: huiwq1990 <huiwq1990@163.com>
2021-06-07 21:47:14 +08:00
changzhen 5473488c04 fix golangci-lint: Implicit memory aliasing in for loop(G601)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-06-01 16:42:57 +08:00
Hongcai Ren 6fa33a1071
Cleanup resource bindings when cluster propagation policy has been removed (#380)
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-05-27 19:11:32 +08:00
changzhen fa9a2ea662 ImageOverrider Implementation
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-26 18:16:44 +08:00
gy95 92c5df6c35 add linter whitespace and fix linter errors
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-17 14:23:24 +08:00
gy95 6a2ade4512
use const string instead of string literal (#335)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-17 09:16:42 +08:00
Peng Li e0f725ca2d
generate resourcebinding from clusterpropagationpolicy based on the "namespace" exist of the comming object (#315)
Signed-off-by: pengli <justdoit.pli@gmail.com>
2021-05-13 10:20:14 +08:00
Zhen Chang 6a2588245d
match the first PropagationPolicy/ClusterPropagationPolicy in alphabetical order (#306)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-11 11:23:38 +08:00
RainbowMango 763c2a10e7 Adopt Reconcile() method signature change
Adopt MapOjbect removing change
Adopt event handling object changes
Adopt ToRequestsFunc to MapFunc change
Adopt EnqueueRequestsFromMapFunc change
Adopt runerable interface change
Adopt using admission review version v1

Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-05-08 19:12:35 +08:00
Hongcai Ren fd5aeb8cf5
Introduce federated object key for refactor status clollection (#266)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-04-12 15:12:16 +08:00
Hongcai Ren 062fd41cb0
Cleanup status from resource template after binding object removed. (#259)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-04-07 10:34:44 +08:00
yangcheng-icbc c4acba97aa
update workload's labels when it's policy has been deleted (#251)
Signed-off-by: icbc-yangcheng <shineus1996@gmail.com>
2021-04-06 10:50:37 +08:00