Commit Graph

119 Commits

Author SHA1 Message Date
karmada-bot 4552a19ee9
Merge pull request #3392 from yike21/add-unit-test
add unit test for pkg/resourceinterpreter/default/native/dependencies.go
2023-04-17 11:49:04 +08:00
karmada-bot ab9404a331
Merge pull request #3368 from yike21/bundle-kruise-resources-cronjob
add customizations for apps.krusie.io/v1alpha1/AdvancedCronJob
2023-04-14 16:49:02 +08:00
yike21 b22cb1ff00 add customizations for apps.krusie.io/v1alpha1/BroadcastJob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 15:39:15 +08:00
yike21 9628830a39 add customizations for apps.krusie.io/v1alpha1/AdvancedCronJob
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 15:33:34 +08:00
yike21 f051591a84 add customizations for apps.krusie.io/v1alpha1/DaemonSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 11:06:08 +08:00
karmada-bot c3d54ccccf
Merge pull request #3352 from yike21/bundle-kruise-resources-statefulset
add customizations for apps.krusie.io/v1beta1/StatefulSet
2023-04-14 11:03:01 +08:00
yike21 0fc88877f3 add customizations for apps.krusie.io/v1beta1/StatefulSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-14 00:08:41 +08:00
yike21 217657af36 Add customizations for apps.krusie.io/v1alpha1/CloneSet
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 20:42:25 +08:00
yike21 18ebee199f add unit test for pkg/resourceinterpreter/default/native/dependencies.go
Signed-off-by: yike21 <yike21@qq.com>
2023-04-13 17:56:55 +08:00
RainbowMango a381373967 Setup interpreter owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-04-13 11:30:39 +08:00
karmada-bot 4133d5936a
Merge pull request #2768 from chaunceyjiang/predefinedConfigurableInterpreter
feat: predefined configurableInterpreter
2023-04-11 10:50:58 +08:00
chaunceyjiang 538d8f10e0 Add a third-party configurable interpreter for some well-known third-party projects.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-04-10 15:21:51 +08:00
yike21 9acd98faec Add a function getPodDependencies for InterpretDependency operation
Signed-off-by: yike21 <yike21@qq.com>
2023-04-01 11:42:08 +08:00
chaunceyjiang 7e2097f1f3 Optimize code directory structure.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-30 11:49:16 +08:00
ericzhang 7dd581f016 add interpretPodHealth to DefaultHealthInterpreter
Signed-off-by: neteric <net.eric.zhang@gmail.com>
2023-03-21 14:39:48 +08:00
whitewindmills e9adba5275 remove redundant conversion functions
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-15 11:28:28 +08:00
whitewindmills f2d5b9343b add prune test
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-03-14 18:16:06 +08:00
chaunceyjiang c395519b14 feat: add string and math lib for lua
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-10 11:45:43 +08:00
hejunhua 37cb3dc788 add unit tests for dependency interpretation
Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>
2023-03-01 16:35:15 +08:00
chaunceyjiang bdf4a61ad1 feat: default interpreter supports cronJon aggregate status
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-02-09 11:03:24 +08:00
karmada-bot 5e81ea6240
Merge pull request #3127 from Poor12/fix-aggregate-pod
Fix aggregate pod status when aggregateStatusItems are empty
2023-02-08 10:32:50 +08:00
Poor12 f0958340ac fix aggregate pod status
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-07 20:27:01 +08:00
Ved Ratan 2a8c0ff267 replace hashsets with sets
Signed-off-by: Ved Ratan <vedratan8@gmail.com>

remove hashset pkg

Signed-off-by: Ved Ratan <vedratan8@gmail.com>
2023-02-07 14:49:33 +05:30
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
RainbowMango 95213cd6f5 Adopt IngressStatus type changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
Amir Alavi 05a98cc978
default interpreter aggregate status: set sub-test name and parallelize
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-01-08 21:05:45 -05:00
karmada-bot 9118be926f
Merge pull request #3009 from chaunceyjiang/statefulset
built-in interpreter support statefulset
2023-01-03 14:55:55 +08:00
chaunceyjiang 58408c717e built-in interpreter support statefulset
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-12-29 18:38:38 +08:00
karmada-bot 3d06bb84a3
Merge pull request #3000 from Fish-pro/fix/logupperstart
Uniform klog output starts with uppercase
2022-12-29 12:28:50 +08:00
chen zechun 83d43235e8 Uniform error log output starts with uppercase
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-28 19:12:36 +08:00
Amir Alavi 09ca7f506f
default interpreter sub-tests to run in parallel
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2022-12-27 22:52:19 -05:00
RainbowMango 14423bf5d8 Introduce generic hashset to simplify code
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-12-14 15:49:45 +08:00
changzhen 5ed2100ee1 support multiple dependencyInterpreter lua script for one gvk
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-12-13 10:30:33 +08:00
karmada-bot 37cca1cd8d
Merge pull request #2928 from Fish-pro/fix/healthy
Fix misjudgment of deployment and statefuleset health status
2022-12-12 14:51:21 +08:00
chen zechun ec8f4c2a54 Fix Deployment and Statefulset health judgments
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-12 13:53:54 +08:00
yingjinhui 0f5e377d9f add kube lib for lua
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-08 22:14:04 +08:00
yingjinhui 45d85bb46c add metrics for pool
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-05 20:34:23 +08:00
RainbowMango f6dc267e46 Remove redundant pointer use of atomic types
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-12-01 18:26:19 +08:00
karmada-bot 0035d7a23b
Merge pull request #2885 from chaunceyjiang/atomic
go1.19: change some atomic.Value to atomic.Bool
2022-12-01 18:14:12 +08:00
yingjinhui b1e5bf093b fix ut: HasSynced error
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-12-01 14:54:52 +08:00
RainbowMango 873cd9f3e6 Nominate resource interpreter owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-30 18:03:13 +08:00
chaunceyjiang 05a235caa2 go1.19: change some atomic.Value to atomic.Bool
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-11-30 10:53:48 +08:00
karmada-bot d7b3a1cad4
Merge pull request #2864 from ikaven1024/pr-luavm
improve lua vm executing with pool
2022-11-28 18:07:10 +08:00
yingjinhui 47e7e8da8d improve lua vm executing with pool
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-28 15:45:12 +08:00
karmada-bot eb3763c201
Merge pull request #2824 from ikaven1024/interpret-ctl-execute
add execute mod for interpret command
2022-11-28 15:21:10 +08:00
yingjinhui 4a37e9ce91 add execute mode for karmadactl interpret subcommand
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-28 14:26:36 +08:00
stingshen d1e3977994 do not propagate finalizers to member cluster
Signed-off-by: stingshen <stingshen@126.com>
2022-11-26 17:24:44 +08:00
changzhen b1977be9e5 support users can define multiple resourceinterpretercustomization
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-23 14:55:01 +08:00
karmada-bot 9605609168
Merge pull request #2750 from ikaven1024/inpreter-ctl
add interpret command
2022-11-22 09:54:05 +08:00
yingjinhui 81b2596ec1 add karmadactl interpret subcommand
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-11-21 20:18:35 +08:00