-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
kubeadm: Only check for well-known files in preflight #57287
kubeadm: Only check for well-known files in preflight #57287
Conversation
/assign @luxas |
Testing: Before patch where
After patch and after already running
|
/ok-to-test |
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
Thank you for this contribution!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: luxas, mattkelly Associated issue: #595 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
These changes were made in kubernetes/kubernetes#57287
…287-upstream-release-1.9 Automatic merge from submit-queue. Automated cherry pick of #57287: kubeadm: Only check for well-known files in preflight Cherry pick of #57287 on release-1.9. #57287: kubeadm: Only check for well-known files in preflight **Release note**: ```release-note Check for known manifests during preflight instead of only checking for non-empty manifests directory. ```
Commit found in the "release-1.9" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
What this PR does / why we need it:
This makes the preflight checks less heavy-handed by specifically checking for well-known files (
kube-apiserver.yaml
,kube-controller-manager.yaml
,kube-scheduler.yaml
,etcd.yaml
) in/etc/kubernetes/manifests
instead of simply checking for a non-empty directory.Which issue(s) this PR fixes:
Fixes kubernetes/kubeadm#595
Special notes for your reviewer:
Release note: