Skip to content

Commit

Permalink
Fix StressChaos CRD (chaos-mesh#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallardot authored May 25, 2020
1 parent dff6eb7 commit d373341
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
12 changes: 11 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions config/crd/bases/pingcap.com_stresschaos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ spec:
description: Load specifies P percent loading per CPU worker.
0 is effectively a sleep (no load) and 100 is full loading.
type: integer
options:
description: extend stress-ng options
items:
type: string
type: array
workers:
description: Workers specifies N workers to apply the stressor.
type: integer
Expand All @@ -143,6 +148,11 @@ spec:
memory:
description: MemoryStressor stresses virtual memory out
properties:
options:
description: extend stress-ng options
items:
type: string
type: array
size:
description: Size specifies N bytes consumed per vm worker,
default is the total available memory. One can specify the
Expand Down
10 changes: 10 additions & 0 deletions manifests/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,11 @@ spec:
description: Load specifies P percent loading per CPU worker.
0 is effectively a sleep (no load) and 100 is full loading.
type: integer
options:
description: extend stress-ng options
items:
type: string
type: array
workers:
description: Workers specifies N workers to apply the stressor.
type: integer
Expand All @@ -1329,6 +1334,11 @@ spec:
memory:
description: MemoryStressor stresses virtual memory out
properties:
options:
description: extend stress-ng options
items:
type: string
type: array
size:
description: Size specifies N bytes consumed per vm worker,
default is the total available memory. One can specify the
Expand Down

0 comments on commit d373341

Please sign in to comment.