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

support docker's data-root config #1375

Merged
merged 1 commit into from
Jul 25, 2022
Merged

support docker's data-root config #1375

merged 1 commit into from
Jul 25, 2022

Conversation

wenwutang1
Copy link
Contributor

@wenwutang1 wenwutang1 commented Jul 13, 2022

What type of PR is this?

/kind feature

What this PR does / why we need it:

This pr is to provide data-root config when cni is docker and delete node add timeout for drain node

Which issue(s) this PR fixes:

feature#997

Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

@ks-ci-bot ks-ci-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 13, 2022
Prepare: new(common.OnlyFirstMaster),
Action: new(DrainNode),
Retry: 2,
IgnoreError: true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The functionality of this IgnoreError field is not yet implemented. So if there are some errors, the result will not be what you expected.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to ignore the error. Can we reserve it

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just do not return the error in the Action.
Example:

_, _ := runtime.GetRunner().SudoCmd("xxxx")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok,I deleted this field

@24sama
Copy link
Collaborator

24sama commented Jul 14, 2022

Hi, @wenwutang1 Thanks for your contribution!
And can you leave some description about this PR? In the future, if there is anybody finds this PR, they may be confused.

@ks-ci-bot ks-ci-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 20, 2022
2. add timeout and ignore error when drain node
Signed-off-by: wwt <wenwutang@yunify.com>
@wenwutang1 wenwutang1 requested a review from 24sama July 21, 2022 01:57
@24sama
Copy link
Collaborator

24sama commented Jul 25, 2022

/lgtm

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 25, 2022
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: 860ec9b80a6b33d53b6fee369aec9914c709d98d

@24sama
Copy link
Collaborator

24sama commented Jul 25, 2022

/approve

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 24sama, wenwutang1

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 25, 2022
@ks-ci-bot ks-ci-bot merged commit a46bed3 into kubesphere:master Jul 25, 2022
@pixiake
Copy link
Collaborator

pixiake commented Jul 26, 2022

@all-contributors please add @wenwutang1 for code

@allcontributors
Copy link
Contributor

@pixiake

I've put up a pull request to add @wenwutang1! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants