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

improve burncpu in k8s-pod #509

Open
wayne-pq opened this issue Jun 10, 2021 · 0 comments
Open

improve burncpu in k8s-pod #509

wayne-pq opened this issue Jun 10, 2021 · 0 comments
Labels
type/bug Something isn't working

Comments

@wayne-pq
Copy link

wayne-pq commented Jun 10, 2021

when i use burncpu in k8s-pod, cpu-percent is useless, but chaosmess work well. please improve burncpu in k8s-pod

  • chaosmess specify 50% cpu-percent (limit 2c):
apiVersion: chaos-mesh.org/v1alpha1
kind: StressChaos
metadata:
  name: burn-cpu
  namespace: chaos-testing
spec:
  mode: one
  selector:
    labelSelectors:
       "app.kubernetes.io/instance": "10015-deployment-uat-10700"
    namespaces:
      - default
  stressors:
    cpu:
      workers: 2
      load: 50
  duration: "120s"
  scheduler:
    cron: "@every 5m"

image

@xcaspar xcaspar added the type/bug Something isn't working label Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants