- Notifications
You must be signed in to change notification settings - Fork 44
expand some operator function #179
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
Conversation
crInformer.addEventHandler(new ResourceEventHandler<T>() { | ||
@Override | ||
public void onAdd(T cr) { | ||
LOG.info("received a CR add request: {}", cr.getMetadata()); |
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.
ditto
} | ||
OperatorResult result; | ||
try { | ||
LOG.debug("start reconcile request: {}", request); |
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.
expect the first letter capitalized
| ||
@Override | ||
public void onUpdate(T oldCR, T cr) { | ||
LOG.info("received a CR update request: {}", cr.getMetadata()); |
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.
ditto
| ||
protected abstract OperatorResult reconcile(OperatorRequest request); | ||
| ||
protected abstract void handleFailOverLimit(OperatorRequest request, |
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.
"same operator" is typo?
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.
yes
Codecov Report
@@ Coverage Diff @@ ## master #179 +/- ## ============================================ + Coverage 87.27% 87.36% +0.08% - Complexity 3137 3152 +15 ============================================ Files 332 332 Lines 11741 11806 +65 Branches 1038 1053 +15 ============================================ + Hits 10247 10314 +67 + Misses 994 988 -6 - Partials 500 504 +4
Continue to review full report at Codecov.
|
6a8e4be
to 51c76da
Compare .getLog(true); | ||
} catch (KubernetesClientException e) { | ||
if (e.getCode() == HttpURLConnection.HTTP_NOT_FOUND) { | ||
// Fix the pod deleted when job failed |
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.
have fixed or to be fixed?
260f05f
to 2ff13d9
Compare * add fail over limit handler * pod topology spread constraints by node
3e0822d
to 46175c9
Compare 46175c9
to 16fc942
Compare
add some tests to cover more codes? |
c70fd67
to eca0796
Compare eca0796
to da87d55
Compare
Uh oh!
There was an error while loading. Please reload this page.