Commit Graph

5172 Commits

Author SHA1 Message Date
dependabot[bot] 36f09a83a4
Bump actions/setup-go from 3 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 06:14:16 +00:00
dependabot[bot] 99c2db449e
Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 06:14:10 +00:00
dependabot[bot] 6004c4d053
Bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 06:13:03 +00:00
karmada-bot feb2437e4d
Merge pull request #4762 from liangyuanpeng/fix_dependabot
ci:  fix dependabot can not access the secrets
2024-04-09 14:02:52 +08:00
Lan Liang b825b35479 chore: skip push event for branches of dependabot.
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
Co-authored-by: RainbowMango <qdurenhongcai@gmail.com>
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-09 04:44:05 +00:00
karmada-bot 7a65ee8e11
Merge pull request #4814 from whitewindmills/retry-on-conflict-for-apply-cluster-policy
Use RetryOnConflict for applying CRB
2024-04-09 12:14:52 +08:00
whitewindmills 506c24f759 Use RetryOnConflict for applying CRB
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-09 10:51:58 +08:00
karmada-bot eadf919b6f
Merge pull request #4740 from chaosi-zju/lazy-e2e
add e2e test for lazy propagation policy
2024-04-08 20:38:53 +08:00
chaosi-zju f99c0f6df0 add e2e test for lazy propagation policy
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-08 19:49:04 +08:00
karmada-bot f369c55cf7
Merge pull request #4807 from whitewindmills/rename-use-kubectl-karmada
rename the use of kubectl-karmada
2024-04-07 20:29:52 +08:00
whitewindmills e54f9463d0 rename the use of kubectl-karmada
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-07 18:13:49 +08:00
chaosi-zju e2babc3d24 fix: avoid delete the key with empty value in object (lua table)
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-07 09:44:08 +08:00
karmada-bot b0da31afc1
Merge pull request #4796 from chaunceyjiang/pods
karmada-metrics-adapter: reduce memory usage
2024-04-03 18:27:43 +08:00
karmada-bot 4f99ebd447
Merge pull request #4793 from whitewindmills/fix-work-permanentID
Use merge strategy to avoid work.karmada.io/permanent-id changes
2024-04-03 18:22:44 +08:00
karmada-bot 456d099404
Merge pull request #4795 from yanfeng1992/remove-requeue-error
when controller return error is non-nil not need to set Result.Requeue
2024-04-03 16:27:43 +08:00
chaunceyjiang 1186588d1d karmada-metrics-adapter: reduce memory usage
When there is a large amount of pod usage in the member cluster, metrics-adapter will consume a lot of memory. The reason is that it caches all the information of all pods in the cluster. However, we don't need all this information, so we trim some of the information to reduce memory usage.

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2024-04-03 16:06:45 +08:00
huangyanfeng 7c2b3e19ee if an error is non-nil not need to set Result.Requeue true
Signed-off-by: huangyanfeng <huangyanfeng1992@gmail.com>
2024-04-03 14:08:22 +08:00
whitewindmills 9c08138f5b Use merge strategy to avoid work.karmada.io/permanent-id changes.
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-03 10:46:05 +08:00
karmada-bot a0c0a980e6
Merge pull request #4780 from RainbowMango/pr_update_controllergen
Update controller-gen to v0.13.0
2024-04-02 14:29:00 +08:00
karmada-bot 84e543320f
Merge pull request #4108 from liangyuanpeng/karmada_apiserver_upgrade
Update apiserver&controller-manager to v1.27 by default
2024-04-02 12:15:42 +08:00
karmada-bot 74d587cd66
Merge pull request #4786 from chaosi-zju/pprof
add pprof option to metrics-adapter
2024-04-02 10:39:42 +08:00
Lan Liang 017f0fc212 Update karmada-apiserve and kube-controller-manager to v1.27.11 by default.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-04-01 13:51:00 +00:00
karmada-bot ac07d33bfe
Merge pull request #4784 from whitewindmills/fix-managed-labels
labels cannot be deleted via Karmada propagation
2024-04-01 19:58:00 +08:00
chaosi-zju 2bfaccf018 add pprof option to metrics-adapter
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-01 15:46:40 +08:00
karmada-bot c81649a423
Merge pull request #4782 from my-git9/k8s-compatibility5
docs: fix too many karmada relases in Kubernetes compatibility list
2024-04-01 11:20:59 +08:00
karmada-bot d9377e76c8
Merge pull request #4783 from Jay179-sudo/test-demo
Corrected poll timeout example
2024-04-01 10:29:41 +08:00
xin.li d8e67b7360 docs: fix too many karmada relases in Kubernetes compatibility list
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-04-01 09:57:24 +08:00
whitewindmills ce84edfe12 labels cannot be deleted via Karmada propagation
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-03-30 21:31:47 +08:00
Jay179-sudo deaf341f81 Corrected poll timeout example
Signed-off-by: Jay179-sudo <jayprasad2002@gmail.com>
2024-03-30 17:51:14 +05:30
RainbowMango f7324274ad Update controller-gen to v0.13.0 which is built with Kubernetes v1.28
v0.9.0 removed redundant .status of generated CRD
v0.12.0 removed redundant .metadata.creationTimestamp of generated CRD

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-30 15:26:10 +08:00
karmada-bot 6534ffbffe
Merge pull request #4778 from RainbowMango/pr_pin_crd_plural_name
Pin plural name for all APIs to avoid unexpected change
2024-03-30 15:06:39 +08:00
karmada-bot 09b69ddacb
Merge pull request #4777 from RainbowMango/pr_fix_operator_invalid_kubebuilder_marker
Fixe invalid kubebuilder marker, that makes pinned plural name does not work.
2024-03-30 14:33:39 +08:00
karmada-bot c8386129a8
Merge pull request #4776 from XiShanYongYe-Chang/rename-MergeLabel-func
remove old MergeAnnotation func and rename ReplaceAnnotation to MergeAnnotation
2024-03-30 11:54:40 +08:00
changzhen e511ad7bfc remove old MergeAnnotation func and rename ReplaceAnnotation func to MergeAnnotation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-30 09:43:12 +08:00
RainbowMango 32a40764ea pin CRD plural name to avoid default plural name changes due to dependencies changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-29 18:06:44 +08:00
RainbowMango 8b9d86d4b3 Fixe invalid kubebuilder marker, that makes the marker does not work.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-29 12:06:09 +08:00
karmada-bot 4e2548250b
Merge pull request #4774 from XiShanYongYe-Chang/fix-wrong-delete-eps
fix bug of wrong delete endpointslice collect from member cluster
2024-03-28 21:50:38 +08:00
changzhen 3121bd9b88 fix bug of wrong delete endpointslice collect from member cluster
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 20:36:20 +08:00
karmada-bot 57c1989667
Merge pull request #4764 from chaosi-zju/hpa-e2e
add e2e test for deployment replicas syncer
2024-03-28 14:25:57 +08:00
karmada-bot 0b19f4de42
Merge pull request #4760 from RainbowMango/pr_bump_action_setupkind
Replace engineerd/setup-kind with helm/kind-action
2024-03-28 14:24:40 +08:00
karmada-bot 7d4bd4be8a
Merge pull request #4765 from XiShanYongYe-Chang/remove-work-label-on-the-member-cluster-resource
Remove work label on the member cluster resource
2024-03-28 14:08:38 +08:00
changzhen 0e60af8ee2 remove work label on the member cluster resource
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-28 12:56:35 +08:00
chaosi-zju 8b9e1e22fb add e2e test for deployment replicas syncer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
(cherry picked from commit a21848da13)
2024-03-28 10:27:25 +08:00
RainbowMango 93d27ea8da Replace engineerd/setup-kind with helm/kind-action
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-03-27 18:50:35 +08:00
karmada-bot ff7322acf2
Merge pull request #4729 from chaosi-zju/hpav5
fix deployment replicas syncer in case that `status.replicas` haven't been collected from member cluster to template
2024-03-27 18:38:38 +08:00
chaosi-zju 31d6855e63 fix deployment replicas syncer in case that status.replicas haven't been collected
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-27 17:34:46 +08:00
karmada-bot db15f17b8e
Merge pull request #4737 from XiShanYongYe-Chang/fix-eps-remain-when-controller-restart
Fix eps remain when karmada-controller-manager restart
2024-03-27 16:00:55 +08:00
changzhen 6b8e73e37a add endpointslice-controller finalizer for Endpointslice Work object
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:44:49 +08:00
changzhen d7db9c5acc fix eps remain when karmada-controller-manager restart
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-03-27 14:30:45 +08:00
karmada-bot 13dafc62a2
Merge pull request #4714 from liangyuanpeng/add_config_dependabot
Add config for dependabot.
2024-03-27 09:34:37 +08:00