Skip to content

Commit

Permalink
Merge branch 'krkn-chaos:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tsebastiani authored Jan 6, 2025
2 parents fb0f85b + 9b931c8 commit 0106d6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zone-outages.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Parameter | Description
CLOUD_TYPE | Cloud platform on top of which cluster is running, [supported cloud platforms](https://github.com/krkn-chaos/krkn/blob/master/docs/node_scenarios.md) | aws |
DURATION | Duration in seconds after which the zone will be back online | 600 |
VPC_ID | cluster virtual private network to target ( REQUIRED ) | "" |
SUBNET_ID | subnet-id to deny both ingress and egress traffic ( REQUIRED ). Format: [subenet1, subnet2] | "" |

SUBNET_ID | subnet-id to deny both ingress and egress traffic ( REQUIRED ). Format: [subenet1, subnet2] | "" |
DEFAULT_ACL_ID | (Optional) ID of an existing network ACL to use instead of creating a new one. If provided, this ACL will not be deleted after the scenario | "" |

The following environment variables need to be set for the scenarios that requires intereacting with the cloud platform API to perform the actions:

Expand Down
1 change: 1 addition & 0 deletions zone-outages/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export CLOUD_TYPE=${CLOUD_TYPE:="aws"}
export DURATION=${DURATION:=600}
export VPC_ID=${VPC_ID:=""}
export SUBNET_ID=${SUBNET_ID:=""}
export DEFAULT_ACL_ID=${DEFAULT_ACL_ID:=""}
export SCENARIO_TYPE=${SCENARIO_TYPE:=zone_outages_scenarios}
export SCENARIO_FILE=${SCENARIO_FILE:=scenarios/zone_outage.yaml}
1 change: 1 addition & 0 deletions zone-outages/zone_outage_scenario.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ zone_outage: # Scenario to create an out
duration: $DURATION # duration in seconds after which the zone will be back online
vpc_id: $VPC_ID # cluster virtual private network to target
subnet_id: $SUBNET_ID # subnet-id to deny both ingress and egress traffic
default_acl_id: $DEFAULT_ACL_ID # (Optional) ID of an existing network ACL to use instead of creating a new one. If provided, this ACL will not be deleted after the scenario.

0 comments on commit 0106d6d

Please sign in to comment.