-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
v1alpha4: write sentinel file as part of bootstrap #3716
Comments
Should this be clarified? e.g. only User-configurability isn't very important for my use case. That said, CAPBK already makes assumptions about writing to /tmp, right? It would be nice if the contract here didn't make any assumptions about filesystem existence other than what is already assumed. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
/assign |
background question: does this a problem falls into the node agent responsibility? cc @randomvariable |
It should probably be a contract respected in all bootstrap providers |
Yes, it's up to each bootstrap provider to determine what counts as "successful" bootstrapping. For example, for CABPK it would be if The presence of the file itself is what should be part of the contract. |
Ok thanks! |
I know we don't have a label for it, but just for tracking /area node-agent |
@randomvariable: The label(s) 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. |
original discussion: https://kubernetes.slack.com/archives/C8TSNPY4T/p1599744069010700
/cc @jdef
See also:
kubernetes-sigs/cluster-api-provider-azure#603
proposal: https://docs.google.com/document/d/1U0GxvO6ltgIINMjpQz96UD4bExlN2h21wyyn-3ENezc/edit
https://docs.google.com/document/d/1FVRxo9toKSUmvKIUFFzPFhnFrfdR9s7S6Bl4shovNlg/edit#heading=h.3mwmvwsf4jyi
Sept 16 2020 office hours
Proposal: change the bootstrap provider contract to include writing a sentinel file at a specific (or possibly user-configurable?) location. For example, for CABPK, this would look like adding a
touch $filepath
echo success > filepath
(to be compatible with Windows) after the kubeadm init or join command in the script that is written as Boostrap Data.This would not completely solve the problem of bootstrap failure detection but provides a clear signal to the infra provider that bootstrap is complete and the infrastructure provider can then take it from there and use infra specific mechanisms to read that signal.
/kind feature
/kind proposal
/milestone v0.4.0
The text was updated successfully, but these errors were encountered: