cmd/openshift-install/create: optionally preserve bootstrap resources#1692
cmd/openshift-install/create: optionally preserve bootstrap resources#1692jeckersb wants to merge 1 commit intoopenshift:masterfrom
Conversation
Setting the environment variable OPENSHIFT_INSTALL_KEEP_BOOTSTRAP_RESOURCES will prevent the installer from removing bootstrap resources after cluster bootstrap is complete. This is useful in development for inspection and debugging of the bootstrap node.
|
Hi @jeckersb. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jeckersb If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
installer leaves the bootstrap node around when bootstrapping fails so you should be able to debug your error then. leaving the bootstrap node around after successful bootstrap and moving on is not something the installer plans to support. the user is free to ctrl-C the installer after it has created the resources to stop installer from doing anything extra, but the installer cannot provide that option as part of API. /close |
|
@abhinavdahiya: Closed this PR. DetailsIn 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. |
|
@abhinavdahiya There are scenarios other than failures where such functionality is useful. In John's specific case, he is working on a new method for provisioning etcd and this PR will better allow him to make iterative progress towards that goal. Relying on ctrl-C is problematic in terms of repeatability. @crawford how do you feel about this one? |
Setting the environment variable
OPENSHIFT_INSTALL_KEEP_BOOTSTRAP_RESOURCES will prevent the installer
from removing bootstrap resources after cluster bootstrap is complete.
This is useful in development for inspection and debugging of the
bootstrap node.