-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add a debug flag to retain the broken nodes for debugging. #74
Add a debug flag to retain the broken nodes for debugging. #74
Conversation
Hi @tao12345666333. Thanks for your PR. I'm waiting for a kubernetes-sigs or kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. 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. |
Thanks for the PR btw, I think this might need more discussion. |
28f8102
to
00c8131
Compare
@BenTheElder Addressed. Thanks. |
@@ -47,6 +48,7 @@ func NewCommand() *cobra.Command { | |||
cmd.Flags().StringVar(&flags.Name, "name", "1", "the cluster context name") | |||
cmd.Flags().StringVar(&flags.Config, "config", "", "path to a kind config file") | |||
cmd.Flags().StringVar(&flags.ImageName, "image", "", "node docker image to use for booting the cluster") | |||
cmd.Flags().BoolVar(&flags.Retain, "retain", false, "whether retain the broken nodes for debugging") |
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.
tiny nit, maybe description should be: "retain nodes for debugging when cluster creation fails"? even if a node is not broken, this flag will retain all of them in the near future.
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.
ok, I will update it.
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.
/lgtm
/hold
sorry for the delay, was out for the holiday, this needs rebasing again unfortunately!
/ok-to-test |
/retest |
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
8781c79
to
14bcb55
Compare
/retest |
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
/retest |
@BenTheElder PTAL, thanks. ❤️ |
will follow up with a refactor to NewContext, thanks again for the PR! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, tao12345666333 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 |
…write-a-service-proxy Add documentation of what the service proxy does
…hc_from_templates extracted machinehealthchecks from templates
xref: #23