diff --git a/saltstack/burn_cpu_saltstack_with_cred.json b/saltstack/burn_cpu_saltstack_with_cred.json new file mode 100644 index 0000000..35bb9fd --- /dev/null +++ b/saltstack/burn_cpu_saltstack_with_cred.json @@ -0,0 +1,30 @@ +{ + "title": "Sample Experiment Burn CPU", + "description": "This experiment runs CPU intensive processes, simulating a noisy neighbor or a faulty CPU. The instance will effectively have a much slower CPU.", + "configuration": { + "environment": "any" + }, + "method": [ + { + "type": "action", + "name": "burn_cpu", + "provider": { + "type": "python", + "module": "chaossaltstack.machine.actions", + "func": "burn_cpu", + "arguments": { + "execution_duration": "60", + "instance_ids": [ "scdcr100237" ] + }, + "secrets": ["saltstack"] + } + } + ], + "secrets": { + "saltstack": { + "SALTMASTER_HOST": "http://:", + "SALTMASTER_USER": "", + "SALTMASTER_PASSWORD": "" + } + } +} \ No newline at end of file diff --git a/saltstack/kill_process_saltstack_with_cred.json b/saltstack/kill_process_saltstack_with_cred.json new file mode 100644 index 0000000..56e823c --- /dev/null +++ b/saltstack/kill_process_saltstack_with_cred.json @@ -0,0 +1,32 @@ +{ + "title": "Sample Experiment kills proccess by process or PID", + "description": "This experiment kills processes by process or PID", + "configuration": { + "environment": "any" + }, + "method": [ + { + "type": "action", + "name": "kill_process", + "provider": { + "type": "python", + "module": "chaossaltstack.machine.actions", + "func": "kill_process", + "arguments": { + "execution_duration": "60", + "process": "1024", + "signal": "-9", + "instance_ids": [ "scdcr100237" ] + }, + "secrets": ["saltstack"] + } + } + ], + "secrets": { + "saltstack": { + "SALTMASTER_HOST": "http://:", + "SALTMASTER_USER": "", + "SALTMASTER_PASSWORD": "" + } + } +} \ No newline at end of file diff --git a/saltstack/killall_processes_saltstack_with_cred.json b/saltstack/killall_processes_saltstack_with_cred.json new file mode 100644 index 0000000..7e1fd6a --- /dev/null +++ b/saltstack/killall_processes_saltstack_with_cred.json @@ -0,0 +1,32 @@ +{ + "title": "Sample Experiment kills proccess by name", + "description": "This experiment kills processes by name", + "configuration": { + "environment": "any" + }, + "method": [ + { + "type": "action", + "name": "killall_processes", + "provider": { + "type": "python", + "module": "chaossaltstack.machine.actions", + "func": "killall_processes", + "arguments": { + "execution_duration": "60", + "process_name": "java", + "signal": "-9", + "instance_ids": [ "scdcr100237" ] + }, + "secrets": ["saltstack"] + } + } + ], + "secrets": { + "saltstack": { + "SALTMASTER_HOST": "http://:", + "SALTMASTER_USER": "", + "SALTMASTER_PASSWORD": "" + } + } +} \ No newline at end of file diff --git a/saltstack/network_corruption_saltstack.json b/saltstack/network_corruption_saltstack.json new file mode 100644 index 0000000..b62c189 --- /dev/null +++ b/saltstack/network_corruption_saltstack.json @@ -0,0 +1,24 @@ +{ + "title": "Sample Experiment network corruption", + "description": "This experiment makes your network package corruption", + "configuration": { + "environment": "any" + }, + "method": [ + { + "type": "action", + "name": "network_corruption", + "provider": { + "type": "python", + "module": "chaossaltstack.machine.actions", + "func": "network_corruption", + "arguments": { + "execution_duration": "60", + "corruption_ratio": "5%", + "device": "ens192", + "instance_ids": [ "scdcr100237" ] + } + } + } + ] +} \ No newline at end of file diff --git a/saltstack/network_latency_saltstack_with_cred.json b/saltstack/network_latency_saltstack_with_cred.json new file mode 100644 index 0000000..401f86a --- /dev/null +++ b/saltstack/network_latency_saltstack_with_cred.json @@ -0,0 +1,34 @@ +{ + "title": "Sample Experiment network latency", + "description": "This experiment add latency to your network", + "configuration": { + "environment": "any" + }, + "method": [ + { + "type": "action", + "name": "network_latency", + "provider": { + "type": "python", + "module": "chaossaltstack.machine.actions", + "func": "network_latency", + "arguments": { + "execution_duration": "60", + "delay": "500ms", + "variance": "50ms", + "ratio": "5%", + "device": "ens192", + "instance_ids": [ "scdcr100237","scdcr100238" ] + }, + "secrets": ["saltstack"] + } + } + ], + "secrets": { + "saltstack": { + "SALTMASTER_HOST": "http://:", + "SALTMASTER_USER": "", + "SALTMASTER_PASSWORD": "" + } + } +} \ No newline at end of file diff --git a/saltstack/network_loss_saltstack.json b/saltstack/network_loss_saltstack.json new file mode 100644 index 0000000..44d5157 --- /dev/null +++ b/saltstack/network_loss_saltstack.json @@ -0,0 +1,24 @@ +{ + "title": "Sample Experiment network loss", + "description": "This experiment makes your network loss", + "configuration": { + "environment": "any" + }, + "method": [ + { + "type": "action", + "name": "network_loss", + "provider": { + "type": "python", + "module": "chaossaltstack.machine.actions", + "func": "network_loss", + "arguments": { + "execution_duration": "60", + "loss_ratio": "5%", + "device": "ens192", + "instance_ids": [ "scdcr100237" ] + } + } + } + ] +} \ No newline at end of file