Commit Graph

997 Commits

Author SHA1 Message Date
Kante b5af525b19
introduce schedulerOptions to optimize scheduler instantiation (#1627)
* feat: introduce schedulerOptions to scheduler

Signed-off-by: kerthcet <kerthcet@gmail.com>

* add tests for NewScheduler

Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-26 09:26:13 +08:00
karmada-bot de7b7a15ce
Merge pull request #1638 from lonelyCZ/pr-get-watch
Add watch function for karmadactl get
2022-04-25 21:05:13 +08:00
karmada-bot f4ddd15b61
Merge pull request #1633 from XiShanYongYe-Chang/work-status-grab
Add ReflectStatus ResourceInterperter interface to grab workload status
2022-04-25 17:37:12 +08:00
lonelyCZ 4d0186b815 Add lifted information for logs.go
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-25 15:10:25 +08:00
karmada-bot ac0f8eec95
Merge pull request #1647 from RainbowMango/pr_comment_binding_controller
Add comments about why resource template not exist
2022-04-25 09:36:12 +08:00
karmada-bot c682dee9da
Merge pull request #1597 from lonelyCZ/pr-karmadactl-logs
Add logs function to karmadactl
2022-04-24 17:22:11 +08:00
changzhen 0454944b63 add default reflectstatus implemetation
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-24 16:32:03 +08:00
RainbowMango 362bef3065 Add comments about why resource template not exist
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-04-24 15:15:14 +08:00
changzhen 0b985f4463 add default reflectstatus implementation with deployment kind
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-24 11:19:42 +08:00
karmada-bot 8125a0132c
Merge pull request #1629 from RainbowMango/pr_add_binding_assigned_helper
Introduce AssignedReplicasForCluster for ResourceBinding
2022-04-24 09:26:11 +08:00
lonelyCZ f8f2c6b672 Add watch function for karmadactl get
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-23 21:21:09 +08:00
karmada-bot c36be6b6b2
Merge pull request #1636 from ctripcloud/update-fetch-workload
skip reconciling loop quickly after workload gone
2022-04-22 14:44:10 +08:00
lonelyCZ a52bfca0b8 Add logs function to karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-22 13:52:12 +08:00
RainbowMango 501d586462 Introduce AssignedReplicasForCluster for ResourceBinding
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-04-22 11:49:18 +08:00
karmada-bot a3c334c3b1
Merge pull request #1637 from AllenZMC/improve_test
add ut for rules
2022-04-22 11:41:07 +08:00
karmada-bot bb46766f63
Merge pull request #1639 from XiShanYongYe-Chang/update-lifted-doc
update lifted doc
2022-04-22 10:19:08 +08:00
changzhen ecc8ddbb02 add ReflectStatus ResourceInterperter interface to grab workload status
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 10:08:03 +08:00
changzhen c1c9ef8904 update lifted doc
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-22 09:43:59 +08:00
AllenZMC 48029b7fb7 add ut for rules
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-21 22:54:25 +08:00
ljx李静雪 4953fbcd9e if workload is not found, skip to ensure work
Signed-off-by: jingxueli <jingxueli@trip.com>
2022-04-21 20:06:29 +08:00
pangshaoqiang c8edab3fd5 Fix pod exec through cluster/proxy
Signed-off-by: pangshaoqiang <pangsq9413@gmail.com>
2022-04-21 16:29:09 +08:00
karmada-bot 28a6c2c767
Merge pull request #1620 from XiShanYongYe-Chang/fix-timeout-with-cluster-proxy
[AA] fix timeout when request of `-w` or `logs -f` flags with cluster/proxy
2022-04-21 12:45:06 +08:00
karmada-bot 53d24092b9
Merge pull request #1628 from AllenZMC/improve_test
add ut for filter
2022-04-21 10:04:07 +08:00
AllenZMC a9000a375c add ut for filter
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-21 00:19:39 +08:00
changzhen 1efbeb6d79 fix timeout when request of -w or logs -f with cluster/proxy
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-20 21:01:57 +08:00
karmada-bot 15e614ba56
Merge pull request #1563 from huone1/optimize/selectClusters
[optimize]Consider available resources when selecting clusters
2022-04-20 17:01:09 +08:00
huone1 960b2f924d [optimize]ensure that the selected clusters has sufficient available resources
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-04-20 15:16:57 +08:00
karmada-bot 4c386f265f
Merge pull request #1625 from AllenZMC/improve_test
add ut for revisereplica
2022-04-20 11:56:06 +08:00
karmada-bot 73e24c2ac5
Merge pull request #1622 from stingshen/stingshen/nil_cluster_secret
check if cluster secretRef is nil before using it
2022-04-20 09:11:07 +08:00
AllenZMC f67684acf7 add ut for revisereplica
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-19 22:20:09 +08:00
stingshen 3eada92e03 check if cluster secretRef is nil before using it
Signed-off-by: stingshen <stingshen@126.com>
2022-04-19 19:31:40 +08:00
karmada-bot 5b3ef7d93f
Merge pull request #1623 from AllenZMC/improve_test
improve test coverage for validation
2022-04-19 11:26:03 +08:00
AllenZMC 2d1bb23b9d improve test coverage for validation
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-19 10:44:30 +08:00
kerthcet 6d30ff9eb9 refactor: remove commented codes
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-15 16:58:40 +08:00
karmada-bot 9a99433b65
Merge pull request #1382 from kerthcet/feature/add-outoftree-plugins
feat: introduce registry to initialize framework
2022-04-15 15:53:57 +08:00
kerthcet 7f3b3dc072 feat: introduce registry to store plugins in framework initialization
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-15 15:09:40 +08:00
AllenZMC 81bb528494 add ut for condition
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-04-14 20:56:38 +08:00
karmada-bot 9083d06b7c
Merge pull request #1589 from Poor12/add-UT
add UT for aggregatestatus
2022-04-12 16:41:53 +08:00
Poor12 6c1b9f1765 add UT for aggregatestatus
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-12 14:26:01 +08:00
hanweisen 9c8824642f fix pull mode example error
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-04-12 11:46:15 +08:00
lonelyCZ 32db15983b Fix karmadactl get -o yaml|json reporting null error
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-11 00:14:53 +08:00
karmada-bot b4be8be08d
Merge pull request #1586 from Poor12/fix-1544
enable aggregateStatusInterpreter for daemonSet and statefulSet
2022-04-08 11:27:48 +08:00
Poor12 257e36f422 fix 1544-add aggregateStatusInterpreter for daemonSet and statefulSet
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-08 10:41:18 +08:00
Garrybest 5770247365 ignore to propagate service account token
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-04-07 19:44:33 +08:00
karmada-bot a649575920
Merge pull request #1570 from gf457832386/add_filterplugin_cluster_property
add filter plugin ClusterProperty to filter cluster
2022-04-07 14:18:46 +08:00
gf457832386 4e436af66e add filter plugin SpreadConstraint to filter cluster
Signed-off-by: gf457832386 <13278887558@163.com>
2022-04-07 12:04:35 +08:00
karmada-bot 756fd12dd3
Merge pull request #1584 from CharlesQQ/master
fix: bugfix response's patch and patchType is nil, controller panic
2022-04-07 10:07:47 +08:00
chang.qiangqiang af3ffd6179 fix: bugfix response's patch and patchType is nil, controller panic
Signed-off-by: charlesQQ <charles_ali@qq.com>

fix: bugfix response's patch and patchType is nil, controller panic

Signed-off-by: charlesQQ <charles_ali@qq.com>
2022-04-06 19:05:15 +08:00
karmada-bot 79442df784
Merge pull request #1575 from lonelyCZ/pr-get-pull
Implement `karmadactl get` to support pull mode cluster
2022-04-06 17:01:47 +08:00
Poor12 83be916fa5 fix 1589-disable hpa controller
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-04-06 10:39:32 +08:00