close
The Wayback Machine - https://web.archive.org/web/20200916231005/https://github.com/chaosblade-io/chaosblade/issues/326
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

Does the software support random killing of k8s pods and other operations #326

Open
quanwenqi2 opened this issue Apr 13, 2020 · 1 comment
Open

Comments

@quanwenqi2
Copy link

@quanwenqi2 quanwenqi2 commented Apr 13, 2020

Issue Description

Type: feature request

Describe what happened (or what feature you want)

chaosblade是一款覆盖面很广的故障注入测试工具,因此我希望引入此软件对 K8s Paas平台进行测试,但是发现只能针对特定的pod进行故障注入(delete pod或者pod cpu负载等),没有其他针对Paas 的chaos工具(Powerfulseal、Chaos-mesh等)拥有在规定时间内随机等delete 规定分区下的pod,这样就软件就缺少了部分随机性。
如Chaos-mesh的每隔一分钟随机删除default分区下标签为chaos:test的pod

apiVersion: pingcap.com/v1alpha1
kind: PodChaos
metadata:
  name: pod-kill-example
  namespace: chaos-testing
spec:
  action: pod-kill
  mode: one
  selector:
    namespaces:
      - default
    labelSelectors:
      "chaos": "test"
  scheduler:
    cron: "@every 1m"

因此chaosblade是否有打算引入以上随机功能(规定时间范围内,随机的针对节点、服务进行故障注入)?

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

@xcaspar
Copy link
Member

@xcaspar xcaspar commented Apr 14, 2020

@quanwenqi2 This is a good feature and we need to discuss which execution strategies are supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.