-
Notifications
You must be signed in to change notification settings - Fork 16
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 Events for the Maintenance Process #113
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: razo7 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 |
5514278
to
673b6dc
Compare
673b6dc
to
add8cb5
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.
I left some minor comments.
Moreover, could you rephrase the commit message regarding the test refactoring? It is a huge change and the explaination is not clear enough IMHO
d826ba1
to
6ec0366
Compare
/test 4.15-openshift-e2e |
/hold
|
The events will help to identify the maintenance process by looking on nm CR and node events.
a9078ff
to
8f4f06a
Compare
After rebasing it is ready for review |
Check if nodeName represent an existing node in the cluster. If it doesn't fail the maintenance process and emit an event
8f4f06a
to
249a327
Compare
/test 4.15-openshift-e2e |
cc79551
to
813a86a
Compare
/test 4.15-openshift-e2e |
Why are we not using common api for events? |
Because it is kind of meant for remediation events (include |
I understand your point. The idea of the |
I agree. Something for a follow up :) |
I don't think so. The idea was to filter remediation events easily indeed, not medik8s |
Then I misunderstood |
/lgtm |
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.
One small nit
/test 4.15-openshift-e2e |
1547cad
to
ffdafa7
Compare
/test 4.15-openshift-e2e |
The error message is emitted from drainer.Client.CoreV1().Nodes().Get and fetchNode function, then it propagated to onReconcileError. Thus a better var name could be used
ffdafa7
to
4583f50
Compare
/test 4.15-openshift-e2e |
/lgtm |
/retest |
No pending reviews or new comments, so I am upholding |
ECOPROJECT-1745
ECOPROJECT-1898