-
Notifications
You must be signed in to change notification settings - Fork 239
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
Upgrades: Implement preflight checks #206
Conversation
87c3ffe
to
f07c474
Compare
/assign @kron4eg |
|
e1bf279
to
aa92c99
Compare
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.
super awesome!
minor notices applied
fmt.Printf("Pod %s is running apiserver version %s\n", p.ObjectMeta.Name, ver.String()) | ||
} | ||
if apiserverVersion == nil { | ||
apiserverVersion = ver |
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.
I'm no sure about this logic, probably we need to find biggest version on apiserver in cluster.
It's needed because kubeone upgarde
can fail (temporary, for network reasons for example), and on the second run you could have different versions of apiserver on different nodes.
@xmudrii this PR needs a rebase |
aa92c99
to
c42a86a
Compare
@kron4eg done and also fixed comments regarding imports and spaces. I'm now fixing comments regarding version and prerequisites check |
73282b9
to
b4ca039
Compare
b4ca039
to
c66e1cb
Compare
/lgtm |
LGTM label has been added. Git tree hash: 9460a4fa8d00761d40c2c971499e9365c101aac7
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kron4eg 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 this PR does / why we need it:
This PR implements preflight checks for upgrades. Work in progress; do not merge.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #200
Special notes for your reviewer:
Documentation:
Release note: