-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...iments/categories/pods/pod-network-corruption/blacklist-source-and-destination-ports.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# blacklist the source and destination ports | ||
apiVersion: litmuschaos.io/v1alpha1 | ||
kind: ChaosEngine | ||
metadata: | ||
name: engine-nginx | ||
spec: | ||
engineState: "active" | ||
annotationCheck: "false" | ||
appinfo: | ||
appns: "default" | ||
applabel: "app=nginx" | ||
appkind: "deployment" | ||
chaosServiceAccount: pod-network-corruption-sa | ||
experiments: | ||
- name: pod-network-corruption | ||
spec: | ||
components: | ||
env: | ||
# it will blacklist 80 and 8080 source ports | ||
- name: SOURCE_PORTS | ||
value: '!80,8080' | ||
# it will blacklist 8080 and 9000 destination ports | ||
- name: DESTINATION_PORTS | ||
value: '!8080,9000' | ||
- name: TOTAL_CHAOS_DURATION | ||
value: '60' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...ments/categories/pods/pod-network-duplication/blacklist-source-and-destination-ports.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# blacklist the source and destination ports | ||
apiVersion: litmuschaos.io/v1alpha1 | ||
kind: ChaosEngine | ||
metadata: | ||
name: engine-nginx | ||
spec: | ||
engineState: "active" | ||
annotationCheck: "false" | ||
appinfo: | ||
appns: "default" | ||
applabel: "app=nginx" | ||
appkind: "deployment" | ||
chaosServiceAccount: pod-network-duplication-sa | ||
experiments: | ||
- name: pod-network-duplication | ||
spec: | ||
components: | ||
env: | ||
# it will blacklist 80 and 8080 source ports | ||
- name: SOURCE_PORTS | ||
value: '!80,8080' | ||
# it will blacklist 8080 and 9000 destination ports | ||
- name: DESTINATION_PORTS | ||
value: '!8080,9000' | ||
- name: TOTAL_CHAOS_DURATION | ||
value: '60' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...periments/categories/pods/pod-network-latency/blacklist-source-and-destination-ports.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# blacklist the source and destination ports | ||
apiVersion: litmuschaos.io/v1alpha1 | ||
kind: ChaosEngine | ||
metadata: | ||
name: engine-nginx | ||
spec: | ||
engineState: "active" | ||
annotationCheck: "false" | ||
appinfo: | ||
appns: "default" | ||
applabel: "app=nginx" | ||
appkind: "deployment" | ||
chaosServiceAccount: pod-network-latency-sa | ||
experiments: | ||
- name: pod-network-latency | ||
spec: | ||
components: | ||
env: | ||
# it will blacklist 80 and 8080 source ports | ||
- name: SOURCE_PORTS | ||
value: '!80,8080' | ||
# it will blacklist 8080 and 9000 destination ports | ||
- name: DESTINATION_PORTS | ||
value: '!8080,9000' | ||
- name: TOTAL_CHAOS_DURATION | ||
value: '60' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.../experiments/categories/pods/pod-network-loss/blacklist-source-and-destination-ports.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# blacklist the source and destination ports | ||
apiVersion: litmuschaos.io/v1alpha1 | ||
kind: ChaosEngine | ||
metadata: | ||
name: engine-nginx | ||
spec: | ||
engineState: "active" | ||
annotationCheck: "false" | ||
appinfo: | ||
appns: "default" | ||
applabel: "app=nginx" | ||
appkind: "deployment" | ||
chaosServiceAccount: pod-network-loss-sa | ||
experiments: | ||
- name: pod-network-loss | ||
spec: | ||
components: | ||
env: | ||
# it will blacklist 80 and 8080 source ports | ||
- name: SOURCE_PORTS | ||
value: '!80,8080' | ||
# it will blacklist 8080 and 9000 destination ports | ||
- name: DESTINATION_PORTS | ||
value: '!8080,9000' | ||
- name: TOTAL_CHAOS_DURATION | ||
value: '60' |