Commit Graph

432 Commits

Author SHA1 Message Date
changzhen 2db3ca2629 add remedy api in the swagger.json
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-05 09:15:04 +08:00
karmada-bot 9df370f597
Merge pull request #4654 from ipsum-0320/master
feat: update hack/.import-alias
2024-02-28 11:34:31 +08:00
changzhen 70afc1ad6d add remedy group api and update cluster api
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-02-27 21:29:13 +08:00
ipsum-0320 2d6da23cd5 feat: update hack/.import-alias
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-02-27 21:12:26 +08:00
zhzhuang-zju c2483841dd Optimize the display of the hack/verify-import-aliases.sh
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-02-06 17:11:51 +08:00
RainbowMango 02cd5f58ae Remove deprecated build constraints
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-02-02 16:54:41 +08:00
RainbowMango 67fc70d5ac Nominate Yuan peng, Zhuang, and Yan feng as new reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-23 15:05:28 +08:00
karmada-bot 23c51ec08e
Merge pull request #4568 from RainbowMango/pr_bump_golangci
bump golangci-lint to v1.55.2
2024-01-23 10:03:43 +08:00
RainbowMango c47e12a442 bump golangci-lint to v1.55.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-01-21 12:34:24 +08:00
zhzhuang-zju 103d558948 add flag -f format to scan-image-vuln.sh
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-20 10:05:43 +08:00
Yao Weng c3458310d4
[MVP] add resourcequota plugin in scheduler-estimator: create framework for scheulder-estimator (#4534)
* [MVP] add resourcequota plugin in scheudler-estimator

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* framework only

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix lint error

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* address comments

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* add KubeClient in the Handle

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* - add snapshot as input argument of RunEstimateReplicasPlugins
- add Result to give clearer message

Signed-off-by: yweng14 <yweng14@bloomberg.net>

* fix unitest name due

Signed-off-by: yweng14 <yweng14@bloomberg.net>

---------

Signed-off-by: yweng14 <yweng14@bloomberg.net>
2024-01-19 22:14:41 +08:00
karmada-bot ea1b5cd81e
Merge pull request #4494 from zhzhuang-zju/verify-vuln
add scan-image-vuln.sh to do image-scanning with trivy
2024-01-16 18:31:38 +08:00
zhzhuang-zju 53dbd8d2d5 add scan-image-vuln.sh to do image-scanning with trivy
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-16 10:06:42 +08:00
karmada-bot 34c4d04528
Merge pull request #4462 from zhzhuang-zju/local
only delete necessary clusters when installed by local-up
2024-01-15 21:30:38 +08:00
zhzhuang-zju ea46fc0192 only delete necessary clusters when installed by local-up
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-15 20:33:13 +08:00
karmada-bot 1e70326841
Merge pull request #4520 from zll600/verify_docker_function
chore: verify whether docker is available by executing docker ps command
2024-01-12 17:40:34 +08:00
chaosi-zju 50e2199be6 fix the issue of invalid protobuf execution
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-01-11 20:46:59 +08:00
zll600 62f0561e11 chore: verify whether docker is available by executing docker ps command
Signed-off-by: zll600 <3400692417@qq.com>
2024-01-06 21:17:12 +08:00
chengleqi b268b49686
fix: add Embedded metadata field for workload CRD
Signed-off-by: chengleqi <chengleqi5g@hotmail.com>
2024-01-03 20:00:44 +08:00
RainbowMango abba80d6c9 Bump Kubernetes dependencies to v1.28.5
Adopts changes made by kubernetes#119207, implements RequestWatchProgress interface
Adopts changes made by kubernetes#116648, applyTo take in clients

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-25 10:40:18 +08:00
RainbowMango 9a776a7503 Remove golang mock as it has been replaced with uber mock
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-12-22 17:12:35 +08:00
Zhizhen He 25a62c6c57
fix typo
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +08:00
karmada-bot 5c1ba0f7ab
Merge pull request #4409 from jwcesign/fix-codegen
fix: generate the code in correct path
2023-12-14 17:02:12 +08:00
karmada-bot a777c3a450
Merge pull request #4315 from zhzhuang-zju/crdgen
generate Embedded ObjectMeta in the CRDs
2023-12-13 17:31:10 +08:00
zhzhuang-zju 798f9169fe generate Embedded ObjectMeta in the CRDs
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-12-13 11:46:11 +08:00
jwcesign 3bac319887 fix: generate the code in correct path
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-12-13 10:47:43 +08:00
chaosi-zju d967d593f5 make current image in CLI ci
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-12-08 17:03:14 +08:00
whitewindmills e6be7a28ed fix estimator license
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-12-05 19:02:26 +08:00
whitewindmills 2b05d1e94f add license for auto-generated files
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-12-05 14:20:26 +08:00
RainbowMango 39352d5740 Bump Kubernetes dependencies to v1.27.8
Adopt Kuberentes changes on #114998

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-11-28 10:23:43 +08:00
karmada-bot 05afc3f3c5
Merge pull request #4312 from chaunceyjiang/shell
Fix local-up-karmada.sh is not working.
2023-11-24 17:34:54 +08:00
chaosi-zju 29a4ace923 create cluster script support MacOS
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-24 15:00:30 +08:00
chaunceyjiang 28dcaf9ed7 Fix local-up-karmada.sh is not working.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-11-24 14:14:43 +08:00
chaunceyjiang c9a11f88c7 fix a typo
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-11-23 10:40:49 +08:00
karmada-bot 186e137eec
Merge pull request #4296 from jwcesign/sh-fix
sh: make cluster version configuration unified
2023-11-22 11:32:52 +08:00
karmada-bot 4fe9dff3a8
Merge pull request #4204 from zhy76/copyright
feat: add license and verify license for code file
2023-11-22 10:23:52 +08:00
jwcesign 8924632825 sh: make cluster version configuration unified
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-21 19:36:09 +08:00
RainbowMango 2f39163615 Nominate code owners
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-11-20 10:39:38 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
jwcesign 6e79a57255 sh: verify operator code generation
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-11-15 09:51:43 +08:00
chaosi-zju 619c65922a fix libprotoc version validation error
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-11-09 16:50:17 +08:00
Yan-Daojiang 07a609e55f Fix interactive checks in one-click installations
Signed-off-by: Yan-Daojiang <yan_daojiang@163.com>
2023-10-08 20:53:05 +08:00
chaosi-zju 7b13371360 update swagger json
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-27 17:43:38 +08:00
chaosi-zju 57726b3ec8 remove insecureSkipTLSVerify in local-up-karmada script.
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-09-05 22:14:00 +08:00
chaosi-zju 6246da1ac2 automatic modify image version in helm chart when releasing
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-08-15 22:21:36 +08:00
changzhen f807fc8885 grant clusterrole admin with karamda resource permission
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-08-09 17:14:09 +08:00
RainbowMango ecbd988678 Update kind to v0.20.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-08-08 16:04:04 +08:00
RainbowMango 4ee4b22f05 Adopt Kubernetes breaking changes: PR 113542 which require singular names for core types
Adopt breaking change of contriller-runtime PR 2122
Adopt breaking change of contriller-runtime PR 2296
Adopt breaking change of controller-runtime PR 2139
Adopt breaking change of controller-runtime PR 2135
Adopt breaking change of Kubernetes PR 116218
Adopt breaking change of controller-runtime PR 2149
Adopt breaking change of controller-runtime PR 2150
Adopt breaking change of controller-runtime PR 2134
Adopt breaking change of controller-runtime PR 2293
Adopt breaking change of controller-runtime PR 2144
Adopt k8s feature: watch list. PR 115402
Adopt breaking change of Kubernetes PR 117102
Adopt Kubernetes change: disable staticcheck
Fix unit tests that failure due to fake-client behavior changes.

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-07-29 16:47:38 +08:00
jwcesign 7ac69c1864 e2e: Add e2e for CronFederatedHPA
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-07-18 20:36:15 +08:00
changzhen 688809a329 add MultiClusterService API to api swagger doc
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-07-15 15:09:05 +08:00
jwcesign 81b0497ce4 cleaup: Make metrics-adapter deploying scripts more generic
Signed-off-by: jwcesign <jwcesign@gmail.com>
2023-07-07 11:32:59 +08:00
calvin 2c3bcb5f83 Add karmada operator chart to dockerhub
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-07-05 14:37:34 +08:00
changzhen fad05cea57 helm: spilt karmada-config ConfigMap
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-06-27 19:12:19 +08:00
karmada-bot 9bac51dbdf
Merge pull request #3682 from chaosi-zju/ci
fix: repair flaking test job of setup e2e test environment
2023-06-20 17:10:47 +08:00
karmada-bot b05784ecd2
Merge pull request #3650 from jwcesign/install-script
feat: Add script to deploy k8s metrics-server in member cluster
2023-06-20 14:09:47 +08:00
karmada-bot 61d7469c57
Merge pull request #3648 from sbdtu5498/karmada-metrics-adapter-deployment-script
Karmada metrics adapter deployment script
2023-06-20 09:38:47 +08:00
chaosi-zju c140480f15 fix: repair flaking test job of setup e2e test environment
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2023-06-20 09:32:43 +08:00
Sanskar Bhushan 6ca65fb36e
added scripts to deploy karmada-metrics-adapter
Signed-off-by: Sanskar Bhushan <sbdtu5498@gmail.com>
2023-06-20 04:11:25 +05:30
jwcesign 9bc67d3cc7 feat: Add script to deploy k8s metrics-server in member cluster
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-06-19 15:53:34 +08:00
Lan Liang 421d83cab0 Sign images by cosign.
Signed-off-by: Lan Liang <gcslyp@gmail.com>

u
2023-06-15 16:31:46 +08:00
Poor12 475c58df57 edit gen tools
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-12 16:48:37 +08:00
Poor12 18ad3ff275 fix verify
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-06-07 10:19:28 +08:00
Fish-pro a4b5f6ecb5 Add regex for the IP address
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io>
2023-05-31 14:01:25 +08:00
karmada-bot 66275b1c9e
Merge pull request #3595 from jwcesign/centralized-hpa-api
cleanup: genertate the necessary code for federatedhpa and fix typo
2023-05-29 15:55:16 +08:00
jwcesign d2c752f351 cleanup: fix typo and generate the necessary code for federatedhpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-29 14:24:22 +08:00
karmada-bot 42355694ae
Merge pull request #3578 from jwcesign/metrics-adapter-v4
feat: add metrics-adapter component to support centralized hpa
2023-05-28 23:21:15 +08:00
RainbowMango f0798a8579 Fix code generation
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-05-28 10:29:30 +08:00
jwcesign 184c161010 Add centralized HPA api
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-28 10:29:30 +08:00
jwcesign ae6c34578c feat: add metrics-adapter component to support centralized hpa
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-05-26 11:23:38 +08:00
karmada-bot 218a0b2400
Merge pull request #3563 from Vacant2333/fix_deploy_sh_base64_usage
fix_deploy_sh_base64_usage
2023-05-24 18:44:11 +08:00
karmada-bot 81d231a36d
Merge pull request #3524 from calvin0327/add-karmada-operator-chart
karmada operator: add karmada operator chart
2023-05-24 11:25:56 +08:00
calvin d8fc313471 add karmada operator chart
Signed-off-by: calvin <wen.chen@daocloud.io>
2023-05-22 16:52:39 +08:00
RainbowMango 11c1f17039 Update Golang version from v1.19.5 to v1.20.4
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-05-22 12:43:07 +08:00
RainbowMango 26ca04122c Update golangci-lint to v1.52.2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-05-22 11:22:13 +08:00
Vacant2333 00fad8cd9c fix_deploy_sh_base64_usage
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
2023-05-21 19:48:49 +08:00
karmada-bot e56bedad52
Merge pull request #3440 from lonelyCZ/pr-bootstrap-for-script-install
Support Karmada installed by script to use karmadactl register
2023-05-13 16:12:31 +08:00
jwcesign 3dfaa2bcff Fixing probability of failure in CLI workflow
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-04-26 10:21:24 +08:00
lonelyCZ 9a1b622652 Support Karmada installed by script to use karmadactl register
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-04-23 15:26:22 +08:00
lonelyCZ 0217434deb Cleanup the rbac that has been removed in hack/undeploy-karmada.sh
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2023-04-23 11:39:04 +08:00
Poor12 43270b8124 fix karmadactl init ci test error
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-11 20:13:33 +08:00
karmada-bot 4ca1097c3a
Merge pull request #3323 from jwcesign/fix-cli
Fix potential failure in CLI workflow.
2023-03-29 11:20:54 +08:00
jwcesign 3ac3b4e5d7 Fix cli failure
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-03-27 19:20:52 +08:00
yingjinhui e550999db5 correct context name.
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2023-03-23 06:09:57 +00:00
karmada-bot 06a6facb1b
Merge pull request #3168 from jwcesign/add-karmadactl-init-ci
Add e2e for karmadactl init
2023-03-19 14:51:23 +08:00
jwcesign de3476c320 Add e2e for karmadactl init
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-03-16 14:21:03 +08:00
karmada-bot 91646da681
Merge pull request #3273 from Poor12/push-charts-to-dockerhub
Push charts to dockerHub
2023-03-15 16:34:19 +08:00
RainbowMango 52a2727bef Install golangci-lint binary instead of from source
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-03-14 20:50:58 +08:00
Poor12 943d2201bb push charts to dockerHub
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-14 19:38:26 +08:00
karmada-bot a4d3eced85
Merge pull request #3250 from Poor12/add-pipeline
Upload helm charts in CI pipeline
2023-03-09 20:42:15 +08:00
Poor12 6fd13bdb5e upload helm charts in CI pipeline
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-09 19:31:23 +08:00
karmada-bot 8d3ab1c14b
Merge pull request #3136 from XiShanYongYe-Chang/create-cluster-shell
[bug-fix] update clueter-cluster shell
2023-02-13 09:40:55 +08:00
changzhen aee17da47d update clueter-cluster shell
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-09 17:48:28 +08:00
RainbowMango b2c819ddfe Update default kind version and testing against v1.26.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-02-09 16:15:47 +08:00
jwcesign ba1a046c9c Create /usr/local/bin if it doesn't exists when install cli
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2023-02-06 11:17:19 +08:00
yanggang ae97a088ff
update alpine version to /etc/apk/repositories
Signed-off-by: yanggang <gang.yang@daocloud.io>
2023-01-26 22:23:14 +08:00
calvin 7317af3880 build karmada operator image
Signed-off-by: calvin <wen.chen@daocloud.io>
2022-12-28 15:26:39 +08:00
karmada-bot c8954de2b0
Merge pull request #2956 from helen-frank/feature/joinUseCurrentContext
Karmadactl join: default use current context
2022-12-23 16:32:48 +08:00
karmada-bot 15287fec57
Merge pull request #2961 from Fish-pro/feature/localdown
Add a script to remove the karmada started by local-up-karmada.sh
2022-12-20 18:06:46 +08:00
chen zechun f3b6321444 Add a script to remove the karmada script started by local-up-karmada.sh
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-20 15:48:16 +08:00
wlp1153468871 84b313de1e update .import-aliases
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-12-19 18:29:54 +08:00