-
Notifications
You must be signed in to change notification settings - Fork 555
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
[feature] Support clean CRI #1435
Conversation
some files changed (especially comments) after gofmt executed automatically. |
/assign @24sama |
/LGTM |
@zaunist: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
cmd/ctl/delete/delete_cluster.go
Outdated
} | ||
return pipelines.DeleteCluster(arg) | ||
} | ||
|
||
func (o *DeleteClusterOptions) AddFlags(cmd *cobra.Command) { | ||
cmd.Flags().StringVarP(&o.ClusterCfgFile, "filename", "f", "", "Path to a configuration file") | ||
cmd.Flags().StringVarP(&o.Kubernetes, "with-kubernetes", "", "", "Specify a supported version of kubernetes") | ||
cmd.Flags().BoolVarP(&o.DeleteCRI, "all", "a", false, "Delete total cri conficutation and data directories") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer to use -A
@24sama Thanks for your code review. I have already optimized the parameter from -a to -A. |
Thanks again! /lgtm |
LGTM label has been added. Git tree hash: 8e00ca2ec5ac13af5e75d67e79012d9d4f899226
|
@24sama I have done the work as your suggestion! Please take your time to review the changes. BTW, Thanks for your good suggestion! |
/lgtm |
LGTM label has been added. Git tree hash: 1c7c79d32ce9ddd4d6d6d323bd312277e3e13844
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 24sama, life- 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Sometimes, I need to delete all cri(docker/containerd) related configuration and data direcoties when delete the total cluster.
Which issue(s) this PR fixes:
Fixes #1415
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: