@@ -66,13 +66,52 @@ spec:
66
66
description: Endpoint indicates the endpoint of the aws server.
67
67
Just used it in test now.
68
68
type: string
69
+ filters:
70
+ description: 'Filters defines the filters to pass to the AWS api
71
+ to query the list of instances. Can be specified instead of
72
+ Ec2Instance, in order to specify instances by tag or other attributes
73
+ Any parameter supported by AWS DescribeInstances method can
74
+ be used. For details see: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html'
75
+ items:
76
+ properties:
77
+ name:
78
+ type: string
79
+ values:
80
+ items:
81
+ type: string
82
+ type: array
83
+ required:
84
+ - name
85
+ - values
86
+ type: object
87
+ type: array
88
+ mode:
89
+ description: 'Mode defines the mode to run chaos action. Used
90
+ only if Filters is specified. Supported mode: one / all / fixed
91
+ / fixed-percent / random-max-percent'
92
+ enum:
93
+ - one
94
+ - all
95
+ - fixed
96
+ - fixed-percent
97
+ - random-max-percent
98
+ type: string
69
99
remoteCluster:
70
100
description: RemoteCluster represents the remote cluster where
71
101
the chaos will be deployed
72
102
type: string
73
103
secretName:
74
104
description: SecretName defines the name of kubernetes secret.
75
105
type: string
106
+ value:
107
+ description: Value is required when the mode is set to `FixedMode`
108
+ / `FixedPercentMode` / `RandomMaxPercentMode`. If `FixedMode`,
109
+ provide an integer of pods to do chaos action. If `FixedPercentMode`,
110
+ provide a number from 0-100 to specify the percent of pods the
111
+ server can do chaos action. IF `RandomMaxPercentMode`, provide
112
+ a number from 0-100 to specify the max percent of pods to do
113
+ chaos action
114
+ type: string
76
115
volumeID:
77
116
description: EbsVolume indicates the ID of the EBS volume. Needed
78
117
in detach-volume.
81
120
- action
82
121
- awsRegion
83
122
- ec2Instance
123
+ - mode
84
124
type: object
85
125
awsazChaos:
86
126
description: AWSAzChaosSpec is the content of the specification for
@@ -3331,6 +3371,37 @@ spec:
3331
3371
description: Endpoint indicates the endpoint of the
3332
3372
aws server. Just used it in test now.
3333
3373
type: string
3374
+ filters:
3375
+ description: 'Filters defines the filters to pass to
3376
+ the AWS api to query the list of instances. Can be
3377
+ specified instead of Ec2Instance, in order to specify
3378
+ instances by tag or other attributes Any parameter
3379
+ supported by AWS DescribeInstances method can be used.
3380
+ For details see: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html'
3381
+ items:
3382
+ properties:
3383
+ name:
3384
+ type: string
3385
+ values:
3386
+ items:
3387
+ type: string
3388
+ type: array
3389
+ required:
3390
+ - name
3391
+ - values
3392
+ type: object
3393
+ type: array
3394
+ mode:
3395
+ description: 'Mode defines the mode to run chaos action.
3396
+ Used only if Filters is specified. Supported mode:
3397
+ one / all / fixed / fixed-percent / random-max-percent'
3398
+ enum:
3399
+ - one
3400
+ - all
3401
+ - fixed
3402
+ - fixed-percent
3403
+ - random-max-percent
3404
+ type: string
3334
3405
remoteCluster:
3335
3406
description: RemoteCluster represents the remote cluster
3336
3407
where the chaos will be deployed
@@ -3339,6 +3410,16 @@ spec:
3339
3410
description: SecretName defines the name of kubernetes
3340
3411
secret.
3341
3412
type: string
3413
+ value:
3414
+ description: Value is required when the mode is set
3415
+ to `FixedMode` / `FixedPercentMode` / `RandomMaxPercentMode`.
3416
+ If `FixedMode`, provide an integer of pods to do chaos
3417
+ action. If `FixedPercentMode`, provide a number from
3418
+ 0-100 to specify the percent of pods the server can
3419
+ do chaos action. IF `RandomMaxPercentMode`, provide
3420
+ a number from 0-100 to specify the max percent of
3421
+ pods to do chaos action
3422
+ type: string
3342
3423
volumeID:
3343
3424
description: EbsVolume indicates the ID of the EBS volume.
3344
3425
Needed in detach-volume.
@@ -3347,6 +3428,7 @@ spec:
3347
3428
- action
3348
3429
- awsRegion
3349
3430
- ec2Instance
3431
+ - mode
3350
3432
type: object
3351
3433
awsazChaos:
3352
3434
description: AWSAzChaosSpec is the content of the specification
@@ -6447,6 +6529,37 @@ spec:
6447
6529
description: Endpoint indicates the endpoint of
6448
6530
the aws server. Just used it in test now.
6449
6531
type: string
6532
+ filters:
6533
+ description: 'Filters defines the filters to pass
6534
+ to the AWS api to query the list of instances.
6535
+ Can be specified instead of Ec2Instance, in order
6536
+ to specify instances by tag or other attributes
6537
+ Any parameter supported by AWS DescribeInstances
6538
+ method can be used. For details see: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html'
6539
+ items:
6540
+ properties:
6541
+ name:
6542
+ type: string
6543
+ values:
6544
+ items:
6545
+ type: string
6546
+ type: array
6547
+ required:
6548
+ - name
6549
+ - values
6550
+ type: object
6551
+ type: array
6552
+ mode:
6553
+ description: 'Mode defines the mode to run chaos
6554
+ action. Used only if Filters is specified. Supported
6555
+ mode: one / all / fixed / fixed-percent / random-max-percent'
6556
+ enum:
6557
+ - one
6558
+ - all
6559
+ - fixed
6560
+ - fixed-percent
6561
+ - random-max-percent
6562
+ type: string
6450
6563
remoteCluster:
6451
6564
description: RemoteCluster represents the remote
6452
6565
cluster where the chaos will be deployed
@@ -6455,6 +6568,16 @@ spec:
6455
6568
description: SecretName defines the name of kubernetes
6456
6569
secret.
6457
6570
type: string
6571
+ value:
6572
+ description: Value is required when the mode is
6573
+ set to `FixedMode` / `FixedPercentMode` / `RandomMaxPercentMode`.
6574
+ If `FixedMode`, provide an integer of pods to
6575
+ do chaos action. If `FixedPercentMode`, provide
6576
+ a number from 0-100 to specify the percent of
6577
+ pods the server can do chaos action. IF `RandomMaxPercentMode`, provide
6578
+ a number from 0-100 to specify the max percent
6579
+ of pods to do chaos action
6580
+ type: string
6458
6581
volumeID:
6459
6582
description: EbsVolume indicates the ID of the EBS
6460
6583
volume. Needed in detach-volume.
@@ -6463,6 +6586,7 @@ spec:
6463
6586
- action
6464
6587
- awsRegion
6465
6588
- ec2Instance
6589
+ - mode
6466
6590
type: object
6467
6591
awsazChaos:
6468
6592
description: AWSAzChaosSpec is the content of the specification
0 commit comments