-
Notifications
You must be signed in to change notification settings - Fork 805
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 more status for record #3170
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## master #3170 +/- ##
==========================================
- Coverage 41.04% 40.98% -0.06%
==========================================
Files 161 164 +3
Lines 13640 13794 +154
==========================================
+ Hits 5598 5653 +55
- Misses 7629 7715 +86
- Partials 413 426 +13
Continue to review full report at Codecov.
|
be46497
to
28e9c92
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.
rest LGTM!
after discussing with @xlgao-zju, the capacity of There are two reasons that would make `events increase fast:
Maybe we need an aggregation or rotate policy in the future. I still stay positive about the effect of this problem, I think we do not need to consider it in this PR. How do you think about it? @YangKeao @Hexilee @xlgao-zju |
212bdd5
to
5315634
Compare
at the beginning, I append the events, when we apply failed. and then I get too many error messages. and the reason is: apply failed -> update the status -> the update will let the object be reconciled -> apply failed since this is circle, so we will get so so many record.events 😂 in order to avoid thi bug, I did those:
|
PTAL @YangKeao , this PR introduces Status Subresources for all the chaos CRD. But I forgot why do we NOT use status subresources before. Maybe after navirna we could use subresrouce without any blocking?🤔 |
it seems this issue is NOT resolved properly, I could still reproduce it with these manifests: ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- image: nginx:latest
imagePullPolicy: Always
name: nginx
resources: {}
---
apiVersion: chaos-mesh.org/v1alpha1
kind: IOChaos
metadata:
name: io-delay-example
spec:
action: latency
mode: all
selector:
labelSelectors:
app: nginx
volumePath: /not-existed
path: /not-existed/**/*
delay: "10ms"
percent: 10 |
It seems the predicates DO work. But the soo many events appended and resoruceVersion increased near to thousands. I am still trying to figure it out with logs. 🤔 |
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.
rest LGTM!
PTAL @xlgao-zju
@STRRL updated |
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.
Rest LGTM
Signed-off-by: xianglingao <xianglingao@tencent.com>
@YangKeao Updated |
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
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!
/merge |
This pull request has been accepted and is ready to merge. Commit hash: a8721fb
|
What problem does this PR solve?
Close #3127
What's changed and how it works?
Related changes
chaos-mesh/website
Dashboard UI
Checklist
CHANGELOG
CHANGELOG.md
Tests
create experiment, pause and resume it
Side effects
Release note
DCO
If you find the DCO check fails, please run commands like below (Depends on the actual situations. For example, if the failed commit isn't the most recent) to fix it: