Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support dry-run #279

Merged
merged 1 commit into from
Dec 1, 2023
Merged

feat: support dry-run #279

merged 1 commit into from
Dec 1, 2023

Conversation

Poor12
Copy link
Collaborator

@Poor12 Poor12 commented Nov 20, 2023

kubeadmiral.io/dry-run means resource will in the dry run process, will never sync to member clusters.
DryRun will only works when workloads have not been propagated to member clusters.
kubeadmiral.io/scheduling is an annotation which indicates the scheduling result.

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (6f6d586) 29.44% compared to head (a830ed6) 29.57%.

Files Patch % Lines
pkg/controllers/scheduler/schedulingannotation.go 58.82% 5 Missing and 2 partials ⚠️
pkg/controllers/sync/controller.go 0.00% 4 Missing ⚠️
pkg/controllers/scheduler/scheduler.go 57.14% 2 Missing and 1 partial ⚠️
pkg/controllers/statusaggregator/controller.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
+ Coverage   29.44%   29.57%   +0.12%     
==========================================
  Files         116      118       +2     
  Lines       13751    13782      +31     
==========================================
+ Hits         4049     4076      +27     
- Misses       9312     9313       +1     
- Partials      390      393       +3     
Flag Coverage Δ
unittests 29.57% <78.26%> (+0.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Poor12 Poor12 force-pushed the support-dry-run branch 3 times, most recently from 117f2d7 to d3b5175 Compare November 20, 2023 10:00
@Poor12 Poor12 force-pushed the support-dry-run branch 2 times, most recently from 54cadb9 to 71dd767 Compare November 20, 2023 12:36
@Poor12 Poor12 force-pushed the support-dry-run branch 3 times, most recently from de8a54b to ea9a7b8 Compare November 29, 2023 07:18
@Poor12 Poor12 force-pushed the support-dry-run branch 2 times, most recently from cc6f904 to f1b95b5 Compare November 30, 2023 09:24
@Poor12
Copy link
Collaborator Author

Poor12 commented Dec 1, 2023

/cc @gary-lgy

Signed-off-by: shentiecheng <[email protected]>
@mrlihanbo mrlihanbo merged commit 53658a1 into kubewharf:main Dec 1, 2023
7 checks passed
miraclejzd pushed a commit to miraclejzd/kubeadmiral that referenced this pull request Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants