Skip to content
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

Unified selector and new controller design #1578

Merged
merged 31 commits into from
Apr 14, 2021

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Mar 18, 2021

Please notice: this PR doesn't merge into master, but a nirvana branch to land the #1520 in 2.0 .

What problem does this PR solve?

This is the first step of #1520 . And the corresponding RFC is at chaos-mesh/rfcs#15

You can feel the fascination of current implementation in the implementation of podkill. It doesn't need to select and the logic is really simple now.

Review Guide

TODO

  • Fix dashboard event (as the StartTime and EndTime have been removed, the events in chaos-dashboard should be modified)
  • Migrate from containerName to containerNames, especially for chaos-dashboard
  • Send Kubernetes events to store the error message
  • Use uber-go/fx to do dependency injection
  • Add GCPChaos, HTTPChaos, KernelChaos, JVMChaos.
  • Condition based status display.

Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
This reverts commit c0ff1bf.

Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
@AsterNighT AsterNighT mentioned this pull request Mar 30, 2021
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
YangKeao and others added 3 commits April 6, 2021 15:21
* add e2e test for stress

Signed-off-by: Yang Keao <keao.yang@yahoo.com>

* change name to cpuTime

Signed-off-by: Yang Keao <keao.yang@yahoo.com>

* format codes

Signed-off-by: Yang Keao <keao.yang@yahoo.com>

* add comment and refine threshold choice

Signed-off-by: Yang Keao <keao.yang@yahoo.com>

* format codes

Signed-off-by: Yang Keao <keao.yang@yahoo.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
Signed-off-by: Yang Keao <keao.yang@yahoo.com>
@YangKeao YangKeao marked this pull request as ready for review April 14, 2021 05:30
@YangKeao
Copy link
Member Author

This PR would merge to nirvana branch first, so that other developers could develop new features on this patch.

@YangKeao YangKeao merged commit 9ac5fa8 into chaos-mesh:nirvana Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants