Commit Graph

5483 Commits

Author SHA1 Message Date
tiansuo114 07803e4817
docs: add proposal of karmadactl init support config file
Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

add

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

add file change

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix doc

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix comment

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>

fix

Signed-off-by: tiansuo114 <1729765480@qq.com>
2024-10-01 09:56:17 +08:00
karmada-bot b4b6d692ca
Merge pull request #5078 from Akash-Singh04/toplevelpermissionsforCI.yml
Define top level Permission for ci.yml workflow
2024-08-06 14:39:27 +08:00
karmada-bot 19f352938d
Merge pull request #5068 from aditya7302/ci-schedule-compatibility-token-permission
Define top level Permission for ci-schedule-compatibility workflow
2024-08-06 14:38:27 +08:00
karmada-bot c66b2b863f
Merge pull request #5298 from xovoxy/unified-ctx
optimize: used unified context in controller
2024-08-06 14:18:26 +08:00
karmada-bot 0badfc169f
Merge pull request #5079 from Akash-Singh04/toplevelpermissionsforcli.yml
Define top level Permission for cli.yml workflow
2024-08-06 12:47:27 +08:00
aditya7302 284b9def54 Define top level Permission for ci-schedule-compatibility workflow
Signed-off-by: aditya7302 <aditya7302@gmail.com>
2024-08-06 12:06:51 +08:00
Akash Singh c9131b0b28 Define top level Permission for cli.yml workflow
Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
2024-08-06 11:53:41 +08:00
xovoxy 38ee277de7 optimize: used unified context in controller
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +08:00
Akash Singh 165ebdf188 Define top level Permission for ci.yml workflow
Signed-off-by: Akash Singh <akashsingh2210670@gmail.com>
2024-08-06 11:41:35 +08:00
karmada-bot 789c29f2f7
Merge pull request #5304 from whitewindmills/failover-api-validation
add validation for failover api
2024-08-06 11:37:27 +08:00
whitewindmills 384f260953 add validation for failover api
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-06 10:41:36 +08:00
karmada-bot 4124ba8513
Merge pull request #5299 from whitewindmills/app-failover-logs
cleanup: Print seconds to avoid unreadable minutes
2024-08-06 10:27:26 +08:00
karmada-bot 920baceafd
Merge pull request #4838 from a7i/work-suspend
feat: cluster-level resource propagation pause and resume capabilities
2024-08-06 09:38:27 +08:00
whitewindmills 4af54fb68b Print seconds to avoid unreadable minutes
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-05 19:04:34 +08:00
karmada-bot 8b4e006f03
Merge pull request #5244 from mohamedawnallah/testKarmadactlTaintCommand
test/e2e/karmadactl_test.go: test taint command
2024-08-05 17:23:26 +08:00
Mohamed Awnallah 37af811de6 test/e2e/karmadactl_test.go: test taint command
In this commit, we add e2e tests for the `karmadactl taint`
command to ensure it handles various scenarios correctly.
The tests include:

- Applying taints with different effects (NoSchedule, NoExecute) to a cluster.
- Reapplying taints without the `--overwrite` flag to ensure an error is returned.
- Overwriting existing taints using the `--overwrite` flag.
- Removing taints from a cluster.
- Running the taint command in `--dry-run` mode to ensure no actual changes are made.
- Verifying that taints were not applied during `--dry-run` mode.
- Ensuring the command returns an error for an invalid flag.
- Ensuring the command returns an error when attempting to taint a non-existent cluster.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
2024-08-05 03:48:17 +00:00
karmada-bot 57b45b2f50
Merge pull request #5293 from zhzhuang-zju/cleanupe2e
cleanup: Remove redundant e2e testing steps
2024-08-03 14:23:24 +08:00
zhzhuang-zju 978ea81937 cleanup: Remove redundant e2e testing steps
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-03 11:17:11 +08:00
karmada-bot 6b87604fed
Merge pull request #5281 from grosser/grosser/role-labels
add karmada.io/system label to created clusterrole+bindings
2024-08-02 18:04:23 +08:00
karmada-bot 04a4d84093
Merge pull request #5287 from mohamedawnallah/addFederatedResourceQuotaValidationTests
pkg: test `federatedresourcequota` webhook
2024-08-02 10:38:23 +08:00
Mohamed Awnallah 7373ab303e pkg: test `federatedresourcequota` webhook
In this commit, we add unit tests for the `FederatedResourceQuota`
validation logic and its related components. The tests ensure that
the validation logic correctly handles various scenarios, including:

- Validating `FederatedResourceQuota` specifications with appropriate resource assignments.
- Detecting cases where overall resource limits are less than the assigned resources.
- Handling scenarios where resource names in assignments do not exist in the overall resources.
- Validating `FederatedResourceQuotaStatus` to ensure standard resource types and correct cluster names.
- Handling invalid resource lists in both `Overall` and `AggregatedStatus`.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-08-01 02:39:44 +00:00
Michael Grosser f4df03f6e0
add karmada.io/system label to created clusterrole+bindings
Signed-off-by: Michael Grosser <michael@grosser.it>
2024-07-31 18:46:21 -07:00
karmada-bot 1432ecaf78
Merge pull request #5283 from xovoxy/code-optimization
optimize: used a unified context in cluster_controller reconcile
2024-08-01 09:22:22 +08:00
xovoxy f30e450a36 optimize: used a unified context in cluster_controller reconcile
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-07-31 15:36:58 +08:00
karmada-bot 145a67e873
Merge pull request #5280 from XiShanYongYe-Chang/update-pluginToClusterScores-length
[Cleanup] update pluginToClusterScores length from filterPlugins length to scorePlugins length
2024-07-30 22:17:21 +08:00
changzhen 0735ec0202 update pluginToClusterScores length from filterPlugins length to scorePlugins length
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-07-30 20:51:25 +08:00
karmada-bot 1c8c35581a
Merge pull request #5279 from whitewindmills/fix-e2e
Fix incorrect error code judgment in e2e tests
2024-07-30 18:51:20 +08:00
karmada-bot 987206ed9c
Merge pull request #5234 from chaosi-zju/patch
only generate json patch for status filed when patchBindingStatus
2024-07-30 17:31:21 +08:00
whitewindmills 575931523c Fix incorrect error code judgment in e2e tests
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-07-30 17:05:10 +08:00
chaosi-zju fbb7a5e926 only generate json patch for status filed when patchBindingStatus
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-30 15:37:50 +08:00
Amir Alavi 58dbd6b56e
feat: cluster-level resource propagation pause and resume capabilities
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-29 19:03:52 -04:00
karmada-bot 3a4861f4b8
Merge pull request #5267 from karmada-io/dependabot/docker/cluster/images/alpine-3.20.2
Bump alpine from 3.20.1 to 3.20.2 in /cluster/images
2024-07-29 17:43:20 +08:00
karmada-bot 8a86cd02af
Merge pull request #5263 from chaosi-zju/e2e-2
print all binding and related objects to log file after each e2e failure case
2024-07-29 17:12:20 +08:00
chaosi-zju 081681b27d print all binding and related objects to log file after each failure e2e case
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-29 15:34:59 +08:00
dependabot[bot] de0a4fdd7f
Bump alpine from 3.20.1 to 3.20.2 in /cluster/images
Bumps alpine from 3.20.1 to 3.20.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 05:17:09 +00:00
karmada-bot ec81ac7c80
Merge pull request #5259 from zhzhuang-zju/cleanupmark
optimization: add retry when clean up mark from resourcetemplate failed
2024-07-29 12:08:19 +08:00
karmada-bot 21b330c23c
Merge pull request #5223 from whitewindmills/agent-options
Standardize the health probe arguments
2024-07-27 22:05:18 +08:00
karmada-bot de744b11f3
Merge pull request #5145 from jabellard/operator_crd_url
Proposal: Custom CRD Download Strategy Support for Karmada Operator
2024-07-27 20:48:18 +08:00
karmada-bot ca6f17fcff
Merge pull request #5264 from zhzhuang-zju/SerialDescribe
fix unexpected interference between different e2e use cases
2024-07-27 18:35:18 +08:00
karmada-bot ff0b84d588
Merge pull request #5155 from liangyuanpeng/cleanup_kustomize
cleanup: use patches instead to patchesStrategicMerge for kustomize.
2024-07-27 17:18:18 +08:00
zhzhuang-zju 903648a9de fix unexpected interference between different e2e use cases
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-07-27 17:08:11 +08:00
Lan Liang c080e71024 cleanup: use patches instead to patchesStrategicMerge for kustomize.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-07-27 07:59:25 +00:00
karmada-bot 195c371fea
Merge pull request #5261 from a7i/e2e-clusterresourcebinding-annotation
e2e: clusterresourcebinding permanent-id label
2024-07-27 15:43:18 +08:00
karmada-bot 835a446a74
Merge pull request #5255 from chaosi-zju/e2e
fix unexpected interference between different e2e use cases
2024-07-27 11:50:19 +08:00
zhzhuang-zju f24663b1e4 optimization: add retry when clean up mark from resourcetemplate failed
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-07-27 11:10:52 +08:00
chaosi-zju 459864d3b1 fix unexpected interference between different e2e use cases
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-07-27 09:30:47 +08:00
karmada-bot b5c4c8dc09
Merge pull request #5252 from a7i/amir/fix-crb-webhook-scope
fix: `ClusterResourceBinding` scope in `MutatingWebhookConfiguration`
2024-07-27 09:24:18 +08:00
Amir Alavi b1ce2f1cdc
e2e: clusterresourcebinding permanent-id label
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-26 19:05:32 -04:00
karmada-bot c38f169916
Merge pull request #5247 from chaosi-zju/metrics
add metrics for recreate/update resource event when sync work status
2024-07-26 15:49:19 +08:00
karmada-bot 1430ecbd2e
Merge pull request #5243 from grosser/grosser/exelabe
add karmada.io/system label to created execution namespaces
2024-07-26 12:03:17 +08:00