Compare commits

...

435 Commits

Author SHA1 Message Date
litmusbot f4dfe58d78 16935505557: version upgraded for chaos-charts 2025-08-13 11:12:10 +00:00
Neelanjan Manna 92e2120b9a
Merge pull request #651 from litmuschaos/CHAOS-9406
feat: adds pod-network-rate-limit fault chart
2025-08-13 16:41:45 +05:30
neelanjan00 caeb1a389d
feat: adds pod-network-rate-limit fault
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2025-07-28 16:16:21 +05:30
litmusbot 55299cbc7a 14635851373: version upgraded for chaos-charts 2025-04-24 07:25:06 +00:00
Jongwoo Han 44ddb75e96
feat: Add a rds-instance-stop chaos fault (#635)
* feat: Add a rds-instance-stop chaos fault

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>

---------

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
2025-04-24 12:54:44 +05:30
litmusbot 160f11c322 10297656644: version upgraded for chaos-charts 2024-08-08 07:16:01 +00:00
Namkyu Park 682949e5c2
fix: update k6 engine (#633)
Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>
2024-08-08 12:45:34 +05:30
litmusbot b93ed83cf0 8873345791: version upgraded for chaos-charts 2024-04-29 04:32:33 +00:00
Namkyu Park 13119089c7
feat: Add a k6-loadgen chaos fault (#622)
* feat: add load dir

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: chore

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* feat: add secret

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: hostpath to secret

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: fixed scope

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: implement feedbacks

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* fix: chore

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* Update faults/load/k6-loadgen/engine.yaml

Co-authored-by: Neelanjan Manna <neelanjanmanna@gmail.com>
Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* Update faults/load/k6-loadgen/fault.yaml

Co-authored-by: Neelanjan Manna <neelanjanmanna@gmail.com>
Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

* Update faults/load/k6-loadgen/engine.yaml

Co-authored-by: Neelanjan Manna <neelanjanmanna@gmail.com>
Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>

---------

Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>
Co-authored-by: Neelanjan Manna <neelanjanmanna@gmail.com>
2024-04-29 10:02:08 +05:30
litmusbot a26b30e112 8685238135: version upgraded for chaos-charts 2024-04-15 07:37:48 +00:00
Shubham Chaudhary fe30b73860
fix(disk-fill): Add the container runtime and socketPath env (#628)
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
2024-04-15 13:07:27 +05:30
litmusbot 08d2a6e574 7529396473: version upgraded for chaos-charts 2024-01-15 13:15:35 +00:00
Shubham Chaudhary 625df46807
Integrate the litmus images with scarf gateway (#620)
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
2024-01-15 18:45:11 +05:30
litmusbot 6d0fb711a2 6403752352: version upgraded for chaos-charts 2023-10-04 08:54:25 +00:00
Neelanjan Manna 19a05d9515
fix: Updates AWS CSVs (#614)
* updates aws csvs

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>

* updates experiment labels and chaosengine appns

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>

* updates chaosengine namespaces

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>

---------

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-10-04 14:23:55 +05:30
Neelanjan Manna d482aa76af
chore: Fix experiments charts for 3.0.0 (#613)
* adds metadata.annotation in chaosengine and replaces install-chaos-faults step to use artifacts.data.raw manifests

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>

* fixes annotation -> annotations

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>

* updates labels

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>

---------

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-10-04 10:37:55 +05:30
Neelanjan Manna c7f3d2683c
chore: Fix ChaosHub for Litmus 3.0 (#612)
* fixes broken links, adds missing icons and updates readme

Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-10-03 13:45:04 +05:30
litmusbot e846d97ea3 6354102712: version upgraded for chaos-charts 2023-09-29 16:06:05 +00:00
Neelanjan Manna aca9eadce0
replaces go-runner tags to litmuschaos/go-runner:latest (#611)
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-09-29 21:35:31 +05:30
Vedant Shrotria f993e37cdc
Merge pull request #609 from neelanjan00/add-maintainers-in-csv
chore: Adds maintainers in fault csv
2023-09-28 11:08:09 +05:30
neelanjan00 468dd4c429
adds maintainers in fault csv
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-09-27 20:20:27 +05:30
litmusbot 40891c5517 6273914149: version upgraded for chaos-charts 2023-09-22 11:56:11 +00:00
Saranya Jena 840fa6861b
Merge pull request #608 from litmuschaos/refactor-hub-3.0.0
Merge refactor hub 3.0.0 to master
2023-09-22 17:25:43 +05:30
Saranya-jena 71bc8e9848
updated github actions
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
2023-09-22 16:38:23 +05:30
Saranya-jena 26c87550d7
updated the tags to latest
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
2023-09-22 13:58:05 +05:30
Amit Kumar Das 123e7450ef
Add files via upload 2023-09-21 16:22:21 +08:00
Amit Kumar Das 3f2c0b0aeb
Add files via upload 2023-09-21 16:21:05 +08:00
Amit Kumar Das fb5c66d451
Add files via upload 2023-09-21 16:20:25 +08:00
Amit Kumar Das 5dc83f77fb
Add files via upload 2023-09-21 16:20:00 +08:00
Amit Kumar Das 3a56d69410
Add files via upload 2023-09-21 16:18:30 +08:00
Amit Kumar Das 0488947ce6
Add files via upload 2023-09-21 16:17:04 +08:00
Vedant Shrotria bd3e240e30
Merge pull request #606 from neelanjan00/upgrade-go-runner-tag
chore: Upgrade go-runner image tag to 3.0.0-beta10
2023-09-01 10:28:29 +05:30
neelanjan00 ff78e5b029
updates go-runner image tags to 3.0.0-beta10
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-08-31 14:35:52 +05:30
Vedant Shrotria baa27bbad2
Merge pull request #603 from neelanjan00/update-image-tags
chore: Update go-runner image tags to 3.0.0-beta3
2023-07-25 16:39:24 +05:30
neelanjan00 2cb4a10e69
updates go-runner image tags to 3.0.0-beta3
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-07-20 12:25:20 +05:30
neelanjan00 ec90d6e953
updates generateName to name in metadata
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-07-07 17:09:20 +05:30
neelanjan00 c01dfc2748
updates cleanup-chaos step name
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-07-07 17:03:40 +05:30
neelanjan00 294375af2b
updates experiment step name
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-07-07 17:00:41 +05:30
Vedant Shrotria 48a0779d8a
Merge pull request #601 from neelanjan00/refactor-hub
chore: Refactor hub for 3.0.0
2023-06-22 12:43:35 +05:30
neelanjan00 3e1cdecab0
resolves PR comments
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-06-22 12:32:25 +05:30
neelanjan00 a7f7d0fa19
removes charts and workflows dir
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-06-21 18:11:23 +05:30
neelanjan00 dff7caa36a
merges master
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-06-20 12:31:59 +05:30
neelanjan00 ae8467237a
refactors directory and file structure
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-06-05 13:15:56 +05:30
litmusbot e4f5d12eb0 4729797147: version upgraded for chaos-charts 2023-04-18 07:34:08 +00:00
Neelanjan Manna ca86988004
adds probe units to probe run properties (#595)
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-04-18 13:03:41 +05:30
litmusbot 9bf371a651 4445606061: version upgraded for chaos-charts 2023-03-17 08:28:07 +00:00
Shubham Chaudhary 2336656ac6
chore(probe): updating probe retry and timeout (#592)
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
2023-03-17 13:57:35 +05:30
litmusbot f4b6ab6316 4305237064: version upgraded for chaos-charts 2023-03-01 15:37:58 +00:00
Akash Shrivastava df22a472d6
Changed container path to socket path and runtime (#591)
Signed-off-by: avaakash <as86414@gmail.com>
2023-03-01 21:07:24 +05:30
litmusbot a6d3bc647b 4239645106: version upgraded for chaos-charts 2023-02-22 05:14:46 +00:00
Neelanjan Manna cf3add3950
replaces default container runtime to containerd (#587)
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-02-22 10:44:12 +05:30
litmusbot 5c54b62c43 4235612553: version upgraded for chaos-charts 2023-02-21 18:12:24 +00:00
Neelanjan Manna fa7dc162a7
removes kafka and cassandra experiment charts (#588)
Signed-off-by: neelanjan00 <neelanjan.manna@harness.io>
2023-02-21 23:41:17 +05:30
litmusbot 796ebce0ca 4183571215: version upgraded for chaos-charts 2023-02-15 11:53:20 +00:00
Karthik Satchitanand 89f495c5ba
push (chore)cleanup stale chaos experiments from chaoshub (#585)
Signed-off-by: ksatchit <karthik.s@harness.io>
2023-02-15 17:22:53 +05:30
Shubham Chaudhary 6ae06914d9
chore(spring-boot): fix spirng boot charts (#579)
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
2022-12-15 21:36:07 +05:30
litmusbot 9577fa100b 3704268152: version upgraded for chaos-charts 2022-12-15 12:54:06 +00:00
Shubham Chaudhary 7e8949cd46
chore(lib): removing LIB env from all charts (#577)
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
2022-12-15 18:23:37 +05:30
litmusbot 06d58309df 3516979303: version upgraded for chaos-charts 2022-11-21 18:10:54 +00:00
Shubham Chaudhary f41ae89302
chore(spring-boot): adding spring boot charts (#575)
* chore(spring-boot): adding spring boot charts

Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
2022-11-21 23:40:21 +05:30
Neelanjan Manna 6596977c5d
updated azure AZURE_INSTANCE_NAMES and gcp ZONES envs (#571)
Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>
2022-10-16 12:55:36 +05:30
litmusbot 7c18aeaa13 3151228002: version upgraded for chaos-charts 2022-09-29 12:18:35 +00:00
Shubham Chaudhary f027f86980
feat(ports): Adding source and destination ports support in network experiments (#570)
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
2022-09-29 17:47:59 +05:30
litmusbot 42839580a8 3060651983: version upgraded for chaos-charts 2022-09-15 13:01:15 +00:00
Akash Shrivastava 16ceadeea4
Added reponse body, content type and encoding fields; Removed trailing whitespaces for some files (#567)
Signed-off-by: avaakash <as86414@gmail.com>

Signed-off-by: avaakash <as86414@gmail.com>
2022-09-15 18:30:47 +05:30
litmusbot 86e3e1b239 2866908575: version upgraded for chaos-charts 2022-08-16 09:41:59 +00:00
Akash Shrivastava b12cd5037d
Added HTTP Chaos Toxicity (#563)
* improved description of http experiments

Signed-off-by: avaakash <as86414@gmail.com>

* Added toxicity env in http chaos

Signed-off-by: avaakash <as86414@gmail.com>

Signed-off-by: avaakash <as86414@gmail.com>
2022-08-16 15:11:24 +05:30
Akash Shrivastava 6f3cec8567
improved description of http experiments (#561)
Signed-off-by: avaakash <as86414@gmail.com>
2022-07-16 09:05:16 +05:30
litmusbot 8b9d124ffe 2677325212: version upgraded for chaos-charts 2022-07-15 14:07:36 +00:00
Akash Shrivastava 91bf895316
Chore[New Exp]: Charts for HTTP Chaos Status Code (#556)
* Added http status code chaos experiment charts

Signed-off-by: avaakash <as86414@gmail.com>
2022-07-15 19:36:59 +05:30
litmusbot dfe3053b8b 2677226773: version upgraded for chaos-charts 2022-07-15 13:49:08 +00:00
Akash Shrivastava 01ea15b324
Chore[New Exp]: Charts for HTTP Modify Header (#558)
* Added http modify header charts

Signed-off-by: avaakash <as86414@gmail.com>
2022-07-15 19:18:34 +05:30
litmusbot 25b7168d66 2677124292: version upgraded for chaos-charts 2022-07-15 13:29:18 +00:00
Akash Shrivastava c70e2508c6
Chore[New Exp]: Charts for HTTP Modify Body (#557)
* Added http modify body experiment charts
2022-07-15 18:58:46 +05:30
litmusbot 020be97af6 2677001849: version upgraded for chaos-charts 2022-07-15 13:03:32 +00:00
Akash Shrivastava 5cdee8979e
Chore[New Exp]: Charts for HTTP Chaos Reset Peer (#555)
* Added charts for http reset peer; Added comments in http-chaos-latency

Signed-off-by: avaakash <as86414@gmail.com>
2022-07-15 18:33:01 +05:30
litmusbot 201336c71e 2676700072: version upgraded for chaos-charts 2022-07-15 12:01:23 +00:00
Amit Kumar Das 7adf5d35a1
Directory restructure to add scenarios and experiments (#559)
* Updated dir struture with scenarios and experiments dir

Signed-off-by: Amit Kumar Das <amit.das@harness.io>

* Added icons

Signed-off-by: Amit Kumar Das <amit.das@harness.io>
2022-07-15 17:30:39 +05:30
Akash Shrivastava 15a0ec5d48
Chore[Fix]: Http chaos latency not coming in chaos hub (#553)
* Renamed to pod-http-latency.chartserviceversion from pod-network-latency.chartserviceversion

Signed-off-by: avaakash <as86414@gmail.com>

* Fixed time; Removed byoc from package

Signed-off-by: avaakash <as86414@gmail.com>
2022-06-15 13:49:04 +05:30
litmusbot 1b5e4de2a1 2494963330: version upgraded for chaos-charts 2022-06-14 11:47:58 +00:00
Akash Shrivastava 71fa950c74
Chore[New Exp]: Charts for HTTP Chaos Latency (#549)
* Added charts for http chaos latency

Signed-off-by: avaakash <as86414@gmail.com>

* Removed target_host env

Signed-off-by: avaakash <as86414@gmail.com>

* Removed listen_port from engine.yaml

Signed-off-by: avaakash <as86414@gmail.com>

* Added network_interface

Signed-off-by: avaakash <as86414@gmail.com>

* Added icon; Changed version to 0.1.0

Signed-off-by: avaakash <as86414@gmail.com>

* Changed TARGET_PORT->TARGET_SERVICE_PORT, LISTEN_PORT->PROXY_PORT

Signed-off-by: avaakash <as86414@gmail.com>

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
2022-06-14 17:17:20 +05:30
litmusbot d360040213 2494398624: version upgraded for chaos-charts 2022-06-14 10:02:49 +00:00
OUM NIVRATHI KALE fc95d63abb
AWS-AZ - Adding experiment charts for aws az (#542)
Signed-off-by: oumkale <oumk@jfrog.com>
2022-06-14 15:32:16 +05:30
litmusbot e52323b659 2427413202: version upgraded for chaos-charts 2022-06-02 09:47:04 +00:00
Neelanjan Manna de27fd9170
Updates GCP experiment charts (#548)
* removed .DS_Store

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* corrected gcp-vm-instance-stop-by-label charts

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated experiment charts

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated experiment descriptions

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated instance-stop-by-label charts for INSTANCE_AFFECTED_PERC env

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>
2022-06-02 15:16:32 +05:30
Neelanjan Manna 81d5c4017e
Updated GCP VM Instance Stop By Label Charts (#546)
* added gcp-vm-instance-stop-by-label charts

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated experiment charts

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* added gcp-vm-disk-loss-by-label-charts; updated gcp-vm-disk-loss and gcp-vm-instance-stop charts to add sequence to engine manifest and removed device name from gcp-vm-disk-loss manifests

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* finalised charts

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated chart comments

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated AUTO_SCALING_GROUP env to MANAGED_INSTANCE_GROUP env

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* finalised charts for all GCP experiments

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated provider and author details in gcp-vm-instance-stop-by-label experiment

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated docs links

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* removed pods/exec rbac, updated keywords

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated chartserviceversion, package

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated gcp-vm-instance-stop-by-label-chartserviceversion.yaml

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* removed incorrect chartserviceversion yaml

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* removed .DS_Store

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
2022-05-13 17:42:20 +05:30
litmusbot f7dd546a07 2318568994: version upgraded for chaos-charts 2022-05-13 09:16:28 +00:00
Neelanjan Manna eb645f48d5
GCP Label Selector Experiment Charts and GCP Experiments Refactor (#532)
* added gcp-vm-instance-stop-by-label charts

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated experiment charts

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* added gcp-vm-disk-loss-by-label-charts; updated gcp-vm-disk-loss and gcp-vm-instance-stop charts to add sequence to engine manifest and removed device name from gcp-vm-disk-loss manifests

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* finalised charts

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated chart comments

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated AUTO_SCALING_GROUP env to MANAGED_INSTANCE_GROUP env

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* finalised charts for all GCP experiments

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated provider and author details in gcp-vm-instance-stop-by-label experiment

Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>

* updated docs links

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* removed pods/exec rbac, updated keywords

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

* updated chartserviceversion, package

Signed-off-by: Neelanjan Manna <neelanjan.manna@harness.io>

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
2022-05-13 14:45:53 +05:30
litmusbot 26239d8895 2317559564: version upgraded for chaos-charts 2022-05-13 05:15:22 +00:00
Akash Shrivastava d5208bb787
Added cpu load to node-cpu hog; Added memory bytes and percentage to node-memory-hog (#544)
Signed-off-by: Akash Shrivastava <as86414@gmail.com>
2022-05-13 10:44:42 +05:30
litmusbot abff585e59 2239253696: version upgraded for chaos-charts 2022-04-28 12:24:23 +00:00
Amit Kumar Das 1f873641ef
Removed unused workflows (#536)
* Removed unused workflows

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Moved byoc-pod-delete to byoc directory and updated generic CSV

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
2022-04-28 17:53:50 +05:30
litmusbot 238784bb69 2165995170: version upgraded for chaos-charts 2022-04-14 08:10:28 +00:00
Udit Gaurav 7b07fa66dc
update(imageTag): Update the image tag to latest for experiment image (#537)
Signed-off-by: uditgaurav <udit@chaosnative.com>
2022-04-14 13:39:50 +05:30
Amit Kumar Das c815fdfaf2
Removed csv of sock-shop and bank-of-anthos (#534)
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2022-04-04 13:14:17 +05:30
litmusbot ac8c26ce4b 1992433040: version upgraded for chaos-charts 2022-03-16 11:28:10 +00:00
Vedant Shrotria 8d2c4b31e1
Merge pull request #530 from uditgaurav/add_node_label
Chore(node_label): Add node level env in pod level experiments
2022-03-16 16:57:38 +05:30
uditgaurav 3f7a059e16 Chore(node_label): Add node level env in pod level experiments
Signed-off-by: uditgaurav <udit@chaosnative.com>
2022-03-16 16:37:57 +05:30
litmusbot ef3b241a78 1852788612: version upgraded for chaos-charts 2022-02-16 12:34:05 +00:00
Vedant Shrotria 4f5aa335c1
Merge pull request #528 from uditgaurav/add_cpu_load_tunable
Chore(cpu): Add tunable for running cpu stress in percentage
2022-02-16 18:03:31 +05:30
uditgaurav fb47a2a2a0 Chore(cpu): Add tunable for running cpu stress in percentage
Signed-off-by: uditgaurav <udit@chaosnative.com>
2022-02-16 17:36:25 +05:30
litmusbot 22a459827e 1779028212: version upgraded for chaos-charts 2022-02-01 15:10:04 +00:00
Guillaume Dupin abdb28ccf6
Fix description for AWS EC2 terminate experiments (#525)
Signed-off-by: yogeek <gdupin@gmail.com>
2022-02-01 20:39:30 +05:30
litmusbot e2f369b4ed 1701414183: version upgraded for chaos-charts 2022-01-15 11:06:12 +00:00
Udit Gaurav f57218f942
Add jitter to pod network latency experiment (#522)
Signed-off-by: uditgaurav <udit@chaosnative.com>
2022-01-15 16:35:39 +05:30
litmusbot abf8d43906 1582738268: version upgraded for chaos-charts 2021-12-15 12:40:32 +00:00
Shubham Chaudhary d62f2f45e5
update(readme): adding charts details inside readme (#519)
* update(readme): adding charts details inside readme

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>

* Apply suggestions from code review

Co-authored-by: shubham chaudhary <shubham@chaosnative.com>
2021-12-15 18:09:58 +05:30
litmusbot df552789bd 1465613655: version upgraded for chaos-charts 2021-11-16 06:30:31 +00:00
Shubham Chaudhary 127acee8e1
chore(disk-loss): Removing disk-loss references from the hub (#517)
Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-11-16 11:59:58 +05:30
litmusbot b97da2ac4e 1385287487: version upgraded for chaos-charts 2021-10-26 10:56:28 +00:00
Shubham Chaudhary f174f7ab65
chore(rbac): Adding minimal rbac permissions with comments description (#513)
* chore(rbac): Adding minimal rbac permissions with comments description

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>

* chore(chart): Adding minimal rbac permissions in charts

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-10-26 16:25:53 +05:30
Shubham Chaudhary 14c472265f
chore(kyverno): Adding kyverno pod security policies for litmus pods (#504)
* chore(kyverno): Adding security policies

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>

* chore(kyverno): updating policies

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>

* chore(kyverno): updating policies

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>

* chore(kyverno): changed the file names

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-10-13 16:00:11 +05:30
litmusbot aff27bc0ee 1333448157: version upgraded for chaos-charts 2021-10-12 14:06:49 +00:00
OUM NIVRATHI KALE 35ba5909eb
updating probe schema for workflows (#510)
Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-10-12 19:36:18 +05:30
litmusbot 89d99df5e4 1294674975: version upgraded for chaos-charts 2021-10-01 10:26:49 +00:00
Shubham Chaudhary a1b589657f
chore(labels): Adding labels inside the experiments (#506)
Signed-off-by: shubham chaudhary <shubham@chaosnative.com>

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
2021-10-01 15:56:23 +05:30
Neelanjan Manna 76b7c8b002
updated vm-poweroff experiment docs; updated mainter description of gcp chaos docs (#505)
Signed-off-by: neelanjan00 <neelanjan@chaosnative.com>
2021-10-01 15:56:00 +05:30
litmusbot 788acc4acb 1194860606: version upgraded for chaos-charts 2021-09-02 15:52:04 +00:00
Shubham Chaudhary 2a60b8c537
chart(pod-network-partition): Adding chart of the pod-network-partition experiment (#501)
Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-09-02 21:21:30 +05:30
Shubham Chaudhary fa29cf9905
adding minimal keywords for searching in chaoshub (#502)
* adding minimal keywords for searching on chaoshub

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>

* adding k8s keywords

Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-09-01 15:26:28 +05:30
litmusbot ef7595e3b3 1161743776: version upgraded for chaos-charts 2021-08-24 08:03:58 +00:00
Akash Shrivastava 2ce7eb12b4
Chore(Azure): azure-disk-loss experiment charts (#482)
* Added charts for azure disk loss experiment

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>
2021-08-24 13:33:30 +05:30
Ishan Gupta d41eecd02f
updated default chaos event and verdict queries (#493)
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-08-18 12:50:37 +05:30
litmusbot 8e8c3665ab 1134436180: version upgraded for chaos-charts 2021-08-16 06:11:11 +00:00
Shubham Chaudhary 1d4cb6c28a
(docs): removing disk-loss chart (#500)
Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-08-16 11:40:43 +05:30
Shubham Chaudhary 5494e89a0a
(docs): updating docs link in charts (#498)
Signed-off-by: shubham chaudhary <shubham@chaosnative.com>
2021-08-16 11:21:01 +05:30
litmusbot 5ccea872ce 1131206373: version upgraded for chaos-charts 2021-08-14 20:08:25 +00:00
Akash Shrivastava 14f7d7e20f
Added SCALE_SET to azure instance stop experiment (#496)
Signed-off-by: Akash Shrivastava <akash@chaosnative.com>
2021-08-15 01:37:57 +05:30
litmusbot 11681f7b15 1123427882: version upgraded for chaos-charts 2021-08-12 09:53:50 +00:00
OUM NIVRATHI KALE 2260c8309b
Updating environment and kafka image tag (#494)
* updating env

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-08-12 15:23:23 +05:30
litmusbot 07253c6d84 1123421505: version upgraded for chaos-charts 2021-08-12 09:51:21 +00:00
Akash Shrivastava be89e34763
Added default kill command in experiment.yaml (#495)
* Added default kill command in experiment.yaml

Signed-off-by: Akash Shrivastava <akash@chaosnative.com>
2021-08-12 15:20:56 +05:30
OUM NIVRATHI KALE 065e962561
update entrypoint for py-runner (#490)
Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-07-22 11:00:23 +05:30
litmusbot caa258cfe2 1034958613: version upgraded for chaos-charts 2021-07-15 18:24:13 +00:00
OUM NIVRATHI KALE e808bfcbc0
Refactoring of charts for byoc (#488)
* refactoring charts for byoc

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-07-15 23:53:39 +05:30
OUM NIVRATHI KALE a2faee68a1
Merge pull request #487 from oumkale/workflow
Updating icon for bank-of-anthos workflow
2021-07-15 20:18:17 +05:30
Oum Kale caa71e7a56 updating icon for workflow
Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-07-15 19:00:13 +05:30
litmusbot b27f3eadd8 1033064743: version upgraded for chaos-charts 2021-07-15 07:32:18 +00:00
Neelanjan Manna 8d3c5eb57e
GCP VM Disk Loss Charts (#483)
* Added charts for GCP vm-disk-loss experiments

Signed-off-by: neelanjan00 <neelanjanmanna@gmail.com>
2021-07-15 13:01:47 +05:30
litmusbot 15a1c4355f 1032991916: version upgraded for chaos-charts 2021-07-15 07:05:35 +00:00
Neelanjan Manna 755110178f
GCP VM Instance Stop charts (#480)
* Added charts for GCP vm-instance-stop and vm-disk-loss experiments

* Removed temp file

* GCP charts updated for gcp-vm-instance-stop; removed vm-disk-loss experiment

* Added experiment image name

* Removed exec keyword, updated chaos interval

* Updated gcp charts messages

* Updated image tag to ci

* Updated experiment name in csv, removed exec

* Added charts for gcp-vm-disk-loss experiment

* Removed gcp-vm-disk-loss charts

* Removed experiment inputs and tagged the experiment image to ci

* Removed jobCleanupPolicy

* updated experiment description

* updated chartserviceversion description

* removed patch verb

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
Co-authored-by: Shubham Chaudhary <shubham@chaosnative.com>
2021-07-15 12:35:07 +05:30
Udit Gaurav 4b97e39544
Chore(Infra-Exp): Rename azure-instance-terminate to stop and remove env from vmware engine (#471)
Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: Shubham Chaudhary <shubham@chaosnative.com>
2021-07-15 12:34:53 +05:30
Ishan Gupta 5b9c5a4681
Merge pull request #486 from amityt/aws-ssm-name-fix
Updated AWS SSM name in CSV
2021-07-15 10:01:24 +05:30
Amit Kumar Das 83f182ef40 Updated AWS SSM name
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-07-15 09:54:36 +05:30
Adarshkumar14 7a65033b80
removed some charts of ansible experiments that are currently not in litmus-ansible. (#484)
* removed some charts of ansible experiments that are currently not in litmus-ansible

Signed-off-by: Adarshkumar14 <1829034@kiit.ac.in>
2021-07-15 09:26:14 +05:30
OUM NIVRATHI KALE c808dfc90b
adding bank-of-anthos predefined workflow (#481)
Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-07-15 09:24:32 +05:30
Ishan Gupta 844a1453ee
updates for portal dashboards (#485)
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-07-14 20:14:15 +05:30
litmusbot b3e542499f 1026176368: version upgraded for chaos-charts 2021-07-13 10:26:40 +00:00
Shubham Chaudhary a5af71f24a
chore(env): Adding required env inside chaosengine (#479)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-07-13 15:56:12 +05:30
litmusbot b170f84c4d 999886566: version upgraded for chaos-charts 2021-07-05 04:23:07 +00:00
Amit Kumar Das 6c9b0b889f
Add litmus-portal dashboards in monitoring directory (#478)
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-07-05 09:52:39 +05:30
litmusbot be80d8025a 940863422: version upgraded for chaos-charts 2021-06-15 22:02:50 +00:00
Udit Gaurav 00570a79dc
Chore(stress-chaos): Add stress chaos charts (#475)
Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
2021-06-16 03:32:25 +05:30
litmusbot 2c87b79afb 940850521: version upgraded for chaos-charts 2021-06-15 21:57:31 +00:00
Udit Gaurav bd278ef948
Chore(aws-ssm): Add AWS SSM chaos experiment charts (#469)
Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
2021-06-16 03:27:06 +05:30
litmusbot 4b8e224c04 938655805: version upgraded for chaos-charts 2021-06-15 08:47:59 +00:00
Udit Gaurav edec972e3e
Chore(charts): Update docker service kill charts (#473)
Signed-off-by: udit <udit@chaosnative.com>
2021-06-15 14:17:31 +05:30
Udit Gaurav 78ebbcc774
Chore(vmware): Remove some ENVs from vmware chaosengine (#472)
Signed-off-by: udit <udit@chaosnative.com>
2021-06-12 19:54:00 +05:30
Amit Kumar Das f9bed80c79
Removed CSV for sock-shop-promProbe workflow (#470)
* Removed CSV for sock-shop-PromProbe

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Renamed sock-shop-cmdProbe to sock-shop

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-12 17:03:25 +05:30
OUM NIVRATHI KALE 32f2d43146
Merge pull request #468 from amityt/sock-shop-directory
Added separate directory for sock-shop application
2021-06-07 10:02:29 +05:30
Amit Kumar Das 40f6b75965 Updated icons url and csv filename
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-03 11:44:12 +05:30
Amit Kumar Das 82dbc6f955 Minor change in CSV
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-03 10:58:26 +05:30
Amit Kumar Das ae5e6e34a1 Added separate directory for sock-shop application
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-03 10:51:10 +05:30
Shubham Chaudhary 7524892603
chore(jobCleanUpPolicy): added retain as default jobCleanUpPolicy (#463)
* chore(jobCleanUpPolicy): added retain as default jobCleanUpPolicy

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>

* chore(annotationCheck): Removed annotationCheck field

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-06-01 15:33:48 +05:30
OUM NIVRATHI KALE 324f7734b1
Updating podtato-head predefined workflow (#458)
* updating workflow

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updating workflow

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-06-01 10:32:24 +05:30
Shubham Chaudhary 9612693c55
chore(wf): adding platforms in wf csv (#465)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-05-27 18:13:34 +05:30
litmusbot 94061395c8 874433430: version upgraded for chaos-charts 2021-05-25 09:52:40 +00:00
Shubham Chaudhary eadc6aa135
chore(wf): Adding csv & icons for workflows (#464)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-05-25 15:22:06 +05:30
litmusbot a3b9118972 845067512: version upgraded for chaos-charts 2021-05-15 14:27:24 +00:00
Udit Gaurav a9c07c7fd6
Chore(ebs-loss): Add EBS Loss By Tag Experiment (#459)
* Chore(ebs-loss): Add EBS Loss By Tag Experiment

Signed-off-by: uditgaurav <udit@chaosnative.com>
2021-05-15 19:57:05 +05:30
litmusbot f024ca968a 841378809: version upgraded for chaos-charts 2021-05-14 07:06:09 +00:00
Soumya Ghosh Dastidar 84edb9666c
fixed typo (#457)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-05-14 12:35:42 +05:30
litmusbot 29476c9d36 841354523: version upgraded for chaos-charts 2021-05-14 06:56:03 +00:00
Soumya Ghosh Dastidar cb425d8522
Added DNS Spoof chaos (#455)
* added dns-spoof chaos chart

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-05-14 12:25:32 +05:30
OUM NIVRATHI KALE de46820cdb
updating to litmuschaos/k8s:latest (#456)
Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-05-14 12:17:59 +05:30
OUM NIVRATHI KALE aef7d97c23
chore(charts):Added Labels for Workflow and Engine (#437)
* Adding subject and label

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updating context for infra level

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updating chaosengine name

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updating image to litmuschaos/k8s:latest

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-05-13 20:27:00 +05:30
litmusbot 1ba09eb4b7 820134881: version upgraded for chaos-charts 2021-05-07 11:44:36 +00:00
Shubham Chaudhary cf3296e110
chore(annotation): removed annotationCheck chaosengine of infra experiments (#453)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-05-07 17:14:14 +05:30
Udit Gaurav 4b6892b628
Chore(vmware): Update VMware CSV file (#451)
Signed-off-by: uditgaurav <udit@chaosnative.com>
2021-05-01 00:01:23 +05:30
Udit Gaurav d28af2de09
Chore(cleanup): Remove go binary and vendor file from chaos charts (#449)
Signed-off-by: uditgaurav <udit@chaosnative.com>

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
2021-04-30 23:52:57 +05:30
litmusbot d7ffc9b445 800053730: version upgraded for chaos-charts 2021-04-30 16:29:52 +00:00
Shubham Chaudhary 9f98d25199
chore(env): adding node-label in node experiments and block-size in disk-fill (#450)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>

Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
2021-04-30 21:59:36 +05:30
OUM NIVRATHI KALE d02ba61ba9
Namespace scope flag added and flow update for workflows (#448)
* namespace scope flag added for workflows

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* Priority flow for workflow changed

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updated scope

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updated scope

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-04-30 20:53:45 +05:30
litmusbot 2648198ed9 799504888: version upgraded for chaos-charts 2021-04-30 13:06:15 +00:00
iassurewipro 42285cbfc2
Chore(New Charts): Add charts for vm-poweroff experiment (#433)
* Chore(New Charts): Adding Charts for vm-delete experiment

Signed-off-by: Ubuntu <ubuntu@ip-172-31-31-101.ap-south-1.compute.internal>
2021-04-30 18:35:35 +05:30
Shubham Chaudhary 204814e945
chore(psp): removed runAsUser from psp and update the go-runner image in workflows (#446)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-20 21:35:05 +05:30
litmusbot 27e362482c 753053221: version upgraded for chaos-charts 2021-04-15 18:31:18 +00:00
Udit Gaurav 19db35022b
Chore(new_chart): Add Chaos Charts for Azure instance terminate experiment (#442)
* Chore(new_chart): Add Chaos Charts for Azure instance terminate experiment

Signed-off-by: uditgaurav <udit@chaosnative.com>

* Update azure.chartserviceversion.yaml

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
2021-04-16 00:01:02 +05:30
Shubham Chaudhary c9a37f4a3d
chore(combine-cr): creating the experiments.yaml file for new category automatically (#443)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-15 23:53:55 +05:30
litmusbot c6dafaa31a 752930419: version upgraded for chaos-charts 2021-04-15 17:44:57 +00:00
Udit Gaurav dd872759aa
Chore(ec2): Add charts for ec2 terminate experiment-by-id and ec2-terminate-by-tag (#440)
* Chore(ec2): Add charts for ec2 terminate experiment-by-id and ec2-terminate-by-tag

Signed-off-by: uditgaurav <udit@chaosnative.com>

* add ec2 terminates by id and tag in pkg and csv

Signed-off-by: uditgaurav <udit@chaosnative.com>
2021-04-15 23:14:39 +05:30
litmusbot 579aeb0356 752614379: version upgraded for chaos-charts 2021-04-15 15:48:06 +00:00
Shubham Chaudhary f2f6564f61
chore(disk-fill): converting disk-fill RBAC to Role from ClusterRole (#441)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-15 21:17:49 +05:30
litmusbot da9e3c7c2f 752598342: version upgraded for chaos-charts 2021-04-15 15:42:41 +00:00
Soumya Ghosh Dastidar 04d0e98358
Added charts for Pod DNS Chaos (#436)
* Added charts for pod dns

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-04-15 21:12:26 +05:30
litmusbot 5559e467f5 752567790: version upgraded for chaos-charts 2021-04-15 15:32:33 +00:00
Karthik Satchitanand cf76d04a57
(chore)env: add stress image env to pod resource exp (#439)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2021-04-15 21:02:15 +05:30
OUM NIVRATHI KALE 02431f01b5
Merge pull request #438 from oumkale/appinfo
Appinfo removed from engines for infra level experiments
2021-04-15 20:26:05 +05:30
Oum Kale eb35a20834 appinfo removed from engines, infra level experiments
Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-04-15 12:50:31 +05:30
OUM NIVRATHI KALE 8a90c74b44
updating sock-shop workflow app-deployer schema (#435)
Signed-off-by: Oum Kale <oumkale@chaosnative.com>

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
2021-04-12 12:05:51 +05:30
OUM NIVRATHI KALE 75b0e5e8ef
chore(pre-define workflow): Added podtato-head workflow (#434)
* podtato-head workflow added

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* podtato-head predefined workflow

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

Co-authored-by: Shubham Chaudhary <shubham.chaudhary@mayadata.io>
2021-04-12 12:05:08 +05:30
Shubham Chaudhary 3575803f51
chore(chaosengine): Removed monitoring from all experiments & appinfo from infra experiments (#431)
* update(workflows): Updating k8Probe schema inside workflows

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>

* chore(chaosengine): Removed monitoring from all experiments & appinfo from infra experiments

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-10 13:36:46 +05:30
litmusbot 8378a1b843 721754561: version upgraded for chaos-charts 2021-04-06 07:49:46 +00:00
Shubham Chaudhary a6c77ce30b
chore(nodeselectors): comment out the nodeselectors from the chaosengine (#432)
* update(workflows): Updating k8Probe schema inside workflows

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>

* chore(nodeselectors): comment out the nodeselectors from the chaosengine

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-04-06 13:19:27 +05:30
litmusbot 6fd03fdc44 683690340: version upgraded for chaos-charts 2021-03-24 16:17:57 +00:00
Amit Kumar Das b59914768f
Updated image with litmuschaos/k8s:latest required for predefined workflows (#430)
Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2021-03-24 21:47:39 +05:30
OUM NIVRATHI KALE bf44a78565
chore(workflow): Updating the http schema and few minor fixes (#429)
* updating the probe schema

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
2021-03-23 16:10:56 +05:30
Shubham Chaudhary ea6e7b427e
update(workflows): Updating k8Probe schema inside workflows (#428)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-03-15 23:59:35 +05:30
Udit Gaurav 402748a241
Chore(cleanup): Remove unwanted files (#426)
Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: udit <udit@chaosnative.com>
2021-03-15 23:43:39 +05:30
litmusbot 8ec5ea3605 654458374: version upgraded for chaos-charts 2021-03-15 14:21:43 +00:00
Udit Gaurav 6641a0897d
Chore(ec2): Update rbac permission and add managed nodegroup (#425)
Signed-off-by: udit <udit@chaosnative.com>

Co-authored-by: udit <udit@chaosnative.com>
2021-03-15 19:51:21 +05:30
litmusbot eedfedcd94 653890595: version upgraded for chaos-charts 2021-03-15 10:54:55 +00:00
Shubham Chaudhary 5698eda18d
chore(env): adding EPHEMERAL_STORAGE_MEBIBYTES env in disk-fill (#424)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-03-15 16:24:40 +05:30
OUM NIVRATHI KALE 443e010fd2
disk-fill experiment has beem added for sock-shp workflow (#420)
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-03-11 13:01:13 +05:30
litmusbot cae35a7d1e 641999470: version upgraded for chaos-charts 2021-03-11 07:30:16 +00:00
Shubham Chaudhary 7b7cba0f70
chore(permissions): Adding minimal permissions in all experiments (#423)
* chore(permissions): Adding minimal permissions in all experimenys

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>

* fix(script): convert combine experiments code to binary

Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-03-11 12:59:52 +05:30
OUM NIVRATHI KALE df11ea13fe
update installation of experiment (#419)
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-03-05 20:36:09 +05:30
OUM NIVRATHI KALE 7d4f722e19
fix root issue (#422)
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-03-05 08:35:05 +05:30
litmusbot d1cd94da87 580221620: version upgraded for chaos-charts 2021-02-19 03:23:40 +00:00
OUM NIVRATHI KALE 14c0c95ee9
Merge pull request #416 from oumkale/charts
Pre-Defined Workflow Sock-Shop | Added revert app-deployer
2021-02-19 08:52:43 +05:30
oumkale edcfa96b79 predefined workflow
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-02-18 15:40:33 +05:30
oumkale 7a641456d7 predefined workflow
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-02-18 14:56:23 +05:30
oumkale 122d106026 workflow
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-02-17 18:02:11 +05:30
oumkale dfb9587f8e sock-shop workflow
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-02-17 01:04:46 +05:30
oumkale 5ad91f42cd sock-shop workflow
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-02-17 01:00:52 +05:30
oumkale b4ac287994 sock-shop workflow
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-02-16 23:52:58 +05:30
oumkale 16dc9ea6d5 charts
Signed-off-by: oumkale <oum.kale@mayadata.io>
2021-02-16 11:33:22 +05:30
litmusbot a5be9fb27c 568882262: version upgraded for chaos-charts 2021-02-15 14:58:26 +00:00
Shubham Chaudhary ee60d03cfd
chore(signal): Adding signal in container-kill (#414)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2021-02-15 20:27:59 +05:30
litmusbot 7a9c0c5bf0 568656720: version upgraded for chaos-charts 2021-02-15 13:26:07 +00:00
Udit Gaurav 7f2f57cb33
Chore(add): Add imagePullPolicy at missing places in experiments CR (#413)
Signed-off-by: udit <udit.gaurav@mayadata.io>
2021-02-15 18:55:28 +05:30
litmusbot 64dce8553f 519760018: version upgraded for chaos-charts 2021-01-29 02:32:21 +00:00
Udit Gaurav cbf68efe9a
Chore(cleanup): Remove CSV version from experiment.yaml file (#412)
Signed-off-by: udit <udit.gaurav@mayadata.io>
2021-01-29 08:01:47 +05:30
litmusbot 656872e964 509913897: version upgraded for chaos-charts 2021-01-25 17:07:24 +00:00
Udit Gaurav 05635f2ff8
Chore(node_mem_hog): Add different unit support (#411)
* Chore(node_mem_hog): Add different unit support

Signed-off-by: udit <udit.gaurav@mayadata.io>

* update envs

Signed-off-by: udit <udit.gaurav@mayadata.io>
2021-01-25 22:36:40 +05:30
litmusbot 8e035f0c23 500424810: version upgraded for chaos-charts 2021-01-21 06:25:34 +00:00
Ishan Gupta 60dd681c31
Merge pull request #410 from amityt/version-fix
Version update for kube-proxy-all experiment
2021-01-21 11:55:07 +05:30
Amit Kumar Das 85b8995345 Version update for kube-proxy-all experiment
Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2021-01-20 20:38:06 +05:30
litmusbot 38fad9e732 488933912: version upgraded for chaos-charts 2021-01-15 21:31:33 +00:00
Udit Gaurav 16307c6b18
Chore(add_env): Add path for aws credentials (#408)
Signed-off-by: udit <udit.gaurav@mayadata.io>
2021-01-16 03:00:24 +05:30
litmusbot 29f0d18632 487322303: version upgraded for chaos-charts 2021-01-15 07:11:22 +00:00
Udit Gaurav ca568bf209
Chore(lib_image): Use litmus lib image for pumba stress experiments (#407)
Signed-off-by: udit <udit.gaurav@mayadata.io>
2021-01-15 12:39:23 +05:30
litmusbot 1104250e43 460648125: version upgraded for chaos-charts 2021-01-04 08:57:12 +00:00
Shubham Chaudhary 6ced128ee5
chore(permissions): sync the experiment and rbac permissions (#406)
* chore(permissions): sync the experiment and rbac permissions

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>

* Add "statefulsets" in pod autoscaler permissions

Signed-off-by: udit <udit.gaurav@mayadata.io>

Co-authored-by: udit <udit.gaurav@mayadata.io>
2021-01-04 14:26:45 +05:30
Udit Gaurav 8e69a7e196
chore(permission): Fix rbac permission for kafka pod delete experiment (#405)
* chore(permission): Fix rbac permission for kafka pod delete experiment

Signed-off-by: udit <udit.gaurav@mayadata.io>

* update permission for cassandra experiment

Signed-off-by: udit <udit.gaurav@mayadata.io>

* add default annotation check to false

Signed-off-by: udit <udit.gaurav@mayadata.io>
2020-12-24 21:33:08 +05:30
litmusbot 558f02a3c8 441870559: version upgraded for chaos-charts 2020-12-24 07:16:33 +00:00
Udit Gaurav 39d3319894
chore(actions): Add a different user for github actions (#404)
Signed-off-by: udit <udit.gaurav@mayadata.io>
2020-12-24 12:41:51 +05:30
Udit Gaurav 467dbc8e42
chore(github_actions): Migrate travis to github actions for chaos-charts (#403)
chore(github_actions): Migrate travis to github actions for chaos-charts

Signed-off-by: udit <udit.gaurav@mayadata.io>
2020-12-23 18:22:04 +05:30
Shubham Chaudhary 5a5e386de0
chore(rbac): updating the rabc permissions for generic experiments (#399)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-17 23:55:36 +05:30
Travis CI 8eec20a1a6 1635: version upgraded for chaos-charts 2020-12-17 12:14:57 +00:00
Shubham Chaudhary beda9b8dcd
chore(engine): removed the target-container from engine (#397)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-17 17:22:36 +05:30
Travis CI 4801dd124a 1630: version upgraded for chaos-charts 2020-12-17 11:50:39 +00:00
Udit Gaurav 2e5eddc68f
chore(socket_path): Add socket path ENV for some experiment (#395)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-12-17 17:02:12 +05:30
Karthik Satchitanand 6d478514a5
(chore)engine: simple example chaosengines by removing ref to lib image and auxiliary apps (#392)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-12-15 17:24:21 +05:30
Travis CI b746c78640 1612: version upgraded for chaos-charts 2020-12-15 09:04:08 +00:00
Shubham Chaudhary c6173f3b6b
chore(latency): changing latency default value (#391)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-15 14:16:38 +05:30
Travis CI c73bd79bc0 1609: version upgraded for chaos-charts 2020-12-15 08:21:49 +00:00
Shubham Chaudhary 66a4f0391c
chore(psp): Adding allowHostPath in psp (#390)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-15 13:36:19 +05:30
Travis CI 7ff25a13bf 1601: version upgraded for chaos-charts 2020-12-14 12:06:16 +00:00
Shubham Chaudhary 546a47758a
chore(experiment): updating the lib and socketPath (#389)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-14 17:11:51 +05:30
Shubham Chaudhary 0b316a90c0
update(permissions): updating permissions for probes (#388)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-11 18:00:17 +05:30
Shubham Chaudhary 44752414ea
chore(psp): Adding podSecurityPolicies in RBAC (#387)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-07 22:50:31 +05:30
Travis CI f8961a5a75 1592: version upgraded for chaos-charts 2020-12-04 08:10:04 +00:00
Shubham Chaudhary cf773ce392
chore(n/w-chaos): Convert TARGET_IPS/HOSTS TO DESTINATION_IPS/HOSTS (#386)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-12-04 12:56:38 +05:30
Travis CI e0578bd580 1584: version upgraded for chaos-charts 2020-11-30 03:54:07 +00:00
Jordi Gil 7b02259913
add(node-poweroff): Added node-poweroff experiment (based on node-restart) (#384)
* add(node-poweroff): Added node-poweroff experiment (based on node-restart)

Signed-off-by: Jordi Gil <jgil@redhat.com>

* Update node-poweroff.chartserviceversion.yaml

Co-authored-by: Karthik Satchitanand <karthik.s@mayadata.io>
2020-11-30 09:22:17 +05:30
Ari 12ac9fb80b
added tested platforms (#385)
Signed-off-by: Ari <arihacks53@gmail.com>
2020-11-20 01:00:46 +05:30
Shubham Chaudhary 42cb2fa965
chore(icons): adding kube-components category icon (#381)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-15 16:36:53 +05:30
Travis CI e8a570ab25 1556: version upgraded for chaos-charts 2020-11-14 12:15:34 +00:00
Shubham Chaudhary 7fc3b067c5
chore(combine-crs): skip redundant experiment CR (#380)
* chore(combine-crs): skip redundant experiment CR

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>

* chore(combine-crs): updating category charts

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-14 17:43:34 +05:30
Travis CI 8b2615897c 1552: version upgraded for chaos-charts 2020-11-13 18:29:52 +00:00
Shubham Chaudhary 29e6aae411
chore(target-nodes): Adding target-nodes env (#379)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-13 23:07:03 +05:30
Udit Gaurav 6b2b7038e5
chore(add_env): Add chaos kill command env in the engine (#378)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-11-10 20:48:29 +05:30
Travis CI 01d74f6753 1538: version upgraded for chaos-charts 2020-11-10 08:45:21 +00:00
Shubham Chaudhary cb880805e0
chore(TARGET_PODS): Adding an ability to provide multiple target pods (#370)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-10 13:54:23 +05:30
Travis CI f755288330 1534: version upgraded for chaos-charts 2020-11-09 12:52:55 +00:00
Shubham Chaudhary 356f704b51
chore(node-restart): Adding image for node-restart (#376)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-09 18:04:11 +05:30
Ondra Machacek 784c3c954d
Add node restart chart (#371)
Signed-off-by: Ondra Machacek <omachace@redhat.com>
2020-11-09 18:02:07 +05:30
Shubham Chaudhary fd2b90b3ab
chore(contribute-guide): updated the contribute guidelines (#375)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-09 16:42:46 +05:30
Shubham Chaudhary c8bc22d68e
chore(kube-components): Adding RBAC for charts (#374)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-09 14:19:08 +05:30
Travis CI 81bf04fe16 1517: version upgraded for chaos-charts 2020-11-09 08:28:02 +00:00
Shubham Chaudhary 12918f7a82
chore(kube-components): Adding new experiment category (#373)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-09 13:53:14 +05:30
Travis CI 880304856d 1508: version upgraded for chaos-charts 2020-11-04 06:11:12 +00:00
Shubham Chaudhary f44ec4ce69
chore(TARGET_IPS): modified the TARGET_IPs env (#369)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-11-04 11:30:35 +05:30
Travis CI 3e77c63312 1505: version upgraded for chaos-charts 2020-11-04 04:37:55 +00:00
dharmaanu 031a41d9bf
Create 3 new experiments for kubernetes (#367)
* Adding 3 experiments for kubernetes

Signed-off-by: Anushya Dharmarajan <anushya_dharmarajan@intuit.com>

* Correcting kiam label

Signed-off-by: Anushya Dharmarajan <anushya_dharmarajan@intuit.com>

* Fixing path in Readme

Signed-off-by: Anushya Dharmarajan <anushya_dharmarajan@intuit.com>

* removed custom-spiserver

Signed-off-by: Anushya Dharmarajan <anushya_dharmarajan@intuit.com>

Co-authored-by: Anushya Dharmarajan <anushya_dharmarajan@intuit.com>
2020-11-04 09:46:16 +05:30
Ajesh Baby beb4b00aa5
cleanup cron-workflows (#368)
Signed-off-by: ajeshbaby <ajesh.baby@mayadata.io>
2020-11-03 10:37:13 +05:30
Travis CI 5e1ab3310d 1497: version upgraded for chaos-charts 2020-10-29 04:30:41 +00:00
Shubham Chaudhary 1d07710a94
Add volume-mount-path in pod-io-stress (#365)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-29 09:25:12 +05:30
Travis CI 4ba276cfbf 1487: version upgraded for chaos-charts 2020-10-28 21:10:38 +00:00
Udit Gaurav 3f2fcd6197
fix(permission): Add the missing permission for some experiment (#363)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-10-29 00:32:22 +05:30
Udit Gaurav 2f4e7e3b88
chore(new_chart): Add EC2 terminate experiment charts (#362)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-10-28 23:50:01 +05:30
Udit Gaurav 0d91debef4
chore(Exp): Add AWS EC2 terminate Charts (#360)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-10-28 23:42:37 +05:30
Travis CI e37962fd84 1474: version upgraded for chaos-charts 2020-10-28 18:12:06 +00:00
navinjoy c7e7a411c2
added 3 new experiments for kubernetes (#356)
* added 3 new experiments for kubernetes

Signed-off-by: Navin Jammula <navin_kumarj@intuit.com>
2020-10-28 22:19:41 +05:30
Travis CI e5c16d5aaa 1470: version upgraded for chaos-charts 2020-10-27 06:46:00 +00:00
Shubham Chaudhary 4bc9fc3435
chore(infra-chaos): Adding node-aff-perc & sequence in node-level chaos (#359)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-27 11:44:27 +05:30
Travis CI cc72cae1b9 1467: version upgraded for chaos-charts 2020-10-26 17:17:50 +00:00
sumit Nagal 2df1f674a3
K8 usecases (#355)
* Changes for chaostoolkit
2020-10-26 21:40:19 +05:30
Travis CI aaddf565be 1457: version upgraded for chaos-charts 2020-10-21 14:48:53 +00:00
Shubham Chaudhary 823dbdce26
chore(pod-io-stress): Adding target-pod env inside chart (#358)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-21 19:41:54 +05:30
Travis CI f1373a3232 1454: version upgraded for chaos-charts 2020-10-20 07:48:08 +00:00
Shubham Chaudhary 38a571521e
chore(recommended-labels): Adding recommended labels in experiment and csv (#357)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-20 13:17:06 +05:30
Shubham Chaudhary a28501ead5
update(kubeproxy): Adding kill/inject command env for resource chaos (#354)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-16 21:05:39 +05:30
Toru Makabe 3985859250
add AKS as a tested platform (#353)
Signed-off-by: ToruMakabe <tomakabe@microsoft.com>
2020-10-16 10:52:28 +05:30
VEDANT SHROTRIA dc1d0812ba
Edited the kube-proxy-all workflow. (#352)
Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-10-16 00:04:18 +05:30
Travis CI 6a70da5f89 1422: version upgraded for chaos-charts 2020-10-15 07:01:38 +00:00
UDIT GAURAV a0f19878a3
chore(check): Add option for custom kill command in CPU and Memory hog (#348)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-10-15 12:30:37 +05:30
VEDANT SHROTRIA 0a552fca6c
Edited the args in workflow.yml (#349)
Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-10-15 12:24:28 +05:30
Travis CI fad6474808 1417: version upgraded for chaos-charts 2020-10-14 13:40:21 +00:00
UDIT GAURAV a7c4e90d33
chore(kafka_chart): Add Kafka Go charts (#347)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-10-14 19:07:58 +05:30
Travis CI 3082b09589 1411: version upgraded for chaos-charts 2020-10-09 08:35:35 +00:00
Karthik Satchitanand f765b7438c
(enhancement)charts: add standard kubernetes labels to experiments (#346)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-10-09 14:04:38 +05:30
Travis CI 59a9726e7f 1405: version upgraded for chaos-charts 2020-10-07 15:13:52 +00:00
Shubham Chaudhary 56f95eeb42
chore(sequence): Adding sequence field in all pod-level chaos (#345)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-07 20:37:21 +05:30
Shubham Chaudhary bdb626f617
chore(securityContext): Adding securityContext in workflows (#344)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-07 13:42:52 +05:30
Ishan Gupta b98c25a150
Fixed workflow for namespaced scope installation of litmus-portal and added cron equivalent. (#343)
* fixed normal workflow and added cron equivalent

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* removed .DS_STORE

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-10-07 09:06:27 +05:30
Ishan Gupta 7069de857f
Added namespace mode chaos workflow for Hello World application to be triggered from litmus portal. (#341)
* added namespace mode chaos workflow sample for hello world app for portal

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Added config map reference link.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-10-06 19:31:34 +05:30
VEDANT SHROTRIA b7179d2d22
Added Workflows with Cron-Syntax for using in Litmus-portal. (#339)
* Added workflows with cron syntax
Co-authored-by: Amit Kumar Das <amitkumar.das@mayadata.io>
Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-10-06 13:38:08 +05:30
UDIT GAURAV 544e800d53
chore(auto_release): Add auto release in chaos-charts (#338)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-10-05 15:11:04 +05:30
William Zhang 4d55bf1fa7
fix: update CRs (#340)
Signed-off-by: William Zhang <WilliamHYZhang@gmail.com>
2020-10-05 13:55:41 +05:30
Travis CI 9f4da08b86 1385: version upgraded for chaos-charts 2020-10-05 08:24:49 +00:00
Shubham Chaudhary b5f3527ff4
update(chart): updating args for go-runner image (#335)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-10-05 13:53:43 +05:30
Travis CI d045169ac8 1380: version upgraded for chaos-charts 2020-09-30 04:54:02 +00:00
Shubham Chaudhary 4063c7cf63
chore(builder): Adding target ips & hosts for network chaos (#337)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-30 10:23:09 +05:30
Soumya Ghosh Dastidar 39e7cbd19f
Added Litmus-Checker to workflows (#334)
Signed-off-by: Soumya Ghosh Dastidar <44349253+gdsoumya@users.noreply.github.com>
2020-09-24 10:38:50 +05:30
Travis CI 12e3f2fabf 1364: version upgraded for chaos-charts 2020-09-18 04:11:41 +00:00
Shubham Chaudhary aa5e3d9c32
chore(socketPath): correcting socketPath env name (#331)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-18 09:40:41 +05:30
Travis CI 71b718cd2a 1361: version upgraded for chaos-charts 2020-09-16 13:40:21 +00:00
Shubham Chaudhary 4a9f816799
sync(charts): sync the chart.definition.permissions with rbac permissions (#330)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-16 19:09:22 +05:30
Ishan Gupta 7a15f91aa8
Kube proxy all minor bug fix. (#329)
* minor fix to fix typo in revert chaos step

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-16 19:07:36 +05:30
Ishan Gupta 6c3f62f7c8
Adding kube-proxy-all chaos workflow (#328)
Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-16 16:53:54 +05:30
Travis CI 2ffcb7ef04 1347: version upgraded for chaos-charts 2020-09-15 11:55:54 +00:00
UDIT GAURAV 3e61bfbefe
chore(libImage): Change libImage of kubelet kill to ubuntu:16.04 (#326)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-09-15 17:24:56 +05:30
Shubham Chaudhary 199056cbad
fix(node-io-stress): fix node-io-stress charthub display issue (#325)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-15 08:42:58 +05:30
Travis CI 81cf280169 1342: version upgraded for chaos-charts 2020-09-14 14:46:04 +00:00
Shubham Chaudhary 983ae3e35e
chore(docs): refactor the charts, rbac & engine manifests (#324)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-14 20:15:04 +05:30
Ishan Gupta 1e86227a6f
Changed memory chaos percentage for litmus-portal (#323)
* memory percentage change for portal.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-14 10:41:50 +05:30
UDIT GAURAV 2090ccfdff
fix(rbacPermission): Add deletecollection permission for pod level experiments (#322)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-09-14 08:28:27 +05:30
Travis CI 8fa510c93c 1334: version upgraded for chaos-charts 2020-09-13 17:02:48 +00:00
Shubham Chaudhary 218ed3a658
feat(network-chaos): Adding support for containerd/crio in network-chaos (#321)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-13 22:31:52 +05:30
Travis CI 5705ef61d6 1331: version upgraded for chaos-charts 2020-09-13 16:09:24 +00:00
UDIT GAURAV dfdf15090f
chore(lib): Add pumba lib image for pod-cpu-hog (#314)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-09-13 21:38:25 +05:30
Travis CI 3ddb4b173a 1328: version upgraded for chaos-charts 2020-09-13 16:04:42 +00:00
UDIT GAURAV 615f58dfe9
chore(new_chart): Add chart for pod IO stress charts (#320)
* chore(new_chart): Add chart for pod io stress charts

Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-09-13 21:33:43 +05:30
Travis CI ab7e638a68 1317: version upgraded for chaos-charts 2020-09-13 12:11:25 +00:00
UDIT GAURAV 24558b0493
chore(new_experiment): Add charts for disk io stress experiment (#318)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-09-13 17:40:30 +05:30
Ishan Gupta 210930c11b
Changed chaos duration of chaos workflows for litmus-portal. (#319)
* Altered chaos duration for litmus portal.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-13 16:56:22 +05:30
Travis CI e5066f98a0 1305: version upgraded for chaos-charts 2020-09-12 06:45:49 +00:00
Shubham Chaudhary 31f23fbe54
chore(node-name): Adding app-node in node cpu/memory hog chart (#317)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-12 12:14:51 +05:30
Travis CI b376c225fe 1302: version upgraded for chaos-charts 2020-09-11 09:27:35 +00:00
UDIT GAURAV 090daaf9b8
update(charts): Removing metadata.Version from the experiment charts (#316)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-09-11 14:56:38 +05:30
Shubham Chaudhary 3dfbecaed7
chore(pod-delete): Adding engine & rbac for getstarted guide (#315)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-11 10:24:16 +05:30
Travis CI cbfb84fb04 1297: version upgraded for chaos-charts 2020-09-09 11:41:33 +00:00
Shubham Chaudhary 97802976d8
chore(pod_aff_perc): Adding the pod_aff_per/blast-radius for pod-level chaoas (#311)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-09-09 17:10:33 +05:30
Ishan Gupta f7e7662633
Bug fix for pod memory hog workflow. (#313)
* Added sample workflows for litmus-portal.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-08 16:41:55 +05:30
Ishan Gupta 82c8194444
Added sample workflows for litmus-portal. (#308)
* Added sample workflows for litmus-portal.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-08 10:59:01 +05:30
OUM NIVRATHI KALE a4685af005
Workflow Yaml fixes (#307)
* Updated logo with kubernetes logo

Signed-off-by: Oum kale <oum.kale@mayadata.io>

* workflow modification

Signed-off-by: Oum Nivrathi kale <oum.kale@mayadata.io>
2020-09-06 21:09:27 +05:30
Travis CI e17f0b9dd3 1280: version upgraded for chaos-charts 2020-09-01 16:44:28 +00:00
UDIT GAURAV 2026552598
update(charts): Update cassandra-pod-delete experiment charts in go (#306)
Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-09-01 22:13:29 +05:30
Travis CI 5160bfc61e 1277: version upgraded for chaos-charts 2020-08-27 17:59:28 +00:00
Shubham Chaudhary 6cd57dc2a3
chore(container-kill): Adding all the CRI in litmus lib (#305)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-27 23:28:16 +05:30
Shubham Chaudhary 8d3350f86c
chore(charts): updating the all experiments link in kube-aws chart (#304)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-23 00:42:50 +05:30
Shubham Chaudhary 2ffc396faf
chore(charts): fix yaml linting and add k8-service-kill to generic package (#303)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-23 00:15:48 +05:30
Shubham Chaudhary 9c28b971e5
fix(charts): fixing the broken link (#302)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-22 20:15:22 +05:30
Travis CI b2a82c18ba 1268: version upgraded for chaos-charts 2020-08-22 12:24:02 +00:00
Shubham Chaudhary 16e912c054
fix(charts): fixing the name of kube-aws charts (#301)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-22 17:53:02 +05:30
UDIT GAURAV bd6c48dfdd
fix(charts): Fix in kube aws charts (#300)
* fix(charts): Fix in kube aws charts

Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-08-21 13:51:58 +05:30
Travis CI b90561aab4 1252: version upgraded for chaos-charts 2020-08-20 15:08:08 +00:00
UDIT GAURAV d349658564
chore(charts): Restructuring and some minor fixes (#298)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-08-20 20:36:21 +05:30
Travis CI bcaafdb134 1240: version upgraded for chaos-charts 2020-08-20 14:00:58 +00:00
Shubham Chaudhary d7485ded6c
chore(pod-delete): Adding ability to delete the pod using target_pod env (#299)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-20 19:29:58 +05:30
Travis CI 33680ce868 1232: version upgraded for chaos-charts 2020-08-19 06:30:34 +00:00
sumit Nagal 3e50e15497
New AWS experiment and updated K8 experiment (#297)
* New experiment for AWS and update on K8

Signed-off-by: Sumit Nagal <sumit_nagal@intuit.com>
2020-08-19 11:59:39 +05:30
Karthik Satchitanand 7526cdb529
(chore)icons: update more icons on generic,cassandra,openebs charts (#296)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-08-16 18:57:09 +05:30
Karthik Satchitanand 573284b31d
(chore)icons: update icons for generic chaos experiments (#295)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-08-16 17:40:44 +05:30
Shubham Chaudhary ff39fbff89
move(k8s-pod-delete): moving k8s-pod-delete to generic category (#293)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-16 01:49:10 +05:30
Travis CI 5950a2d11e 1211: version upgraded for chaos-charts 2020-08-15 18:20:14 +00:00
Shubham Chaudhary 9847a5d13d
move(k8s-pod-delete): moving k8s-pod-delete to generic category (#291)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-08-15 23:49:16 +05:30
Travis CI 0ebcb6ad81 1196: version upgraded for chaos-charts 2020-08-15 13:30:20 +00:00
UDIT GAURAV 7e62c050e8
chore(new_chart): Add Chaos Charts for pod autoscaler experiment (#286)
* Add pod autoscaler charts

Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
2020-08-15 18:59:22 +05:30
Karthik Satchitanand fbbc16c2a3
(chore)ci: stop chart version increment (#288)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-08-15 14:23:33 +05:30
Karthik Satchitanand e4068f6fc0
(chore) add workflows to chaos-charts repo (#281)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-08-05 04:35:34 +05:30
UDIT GAURAV 2fb1c27c89
chore(infra): Add nodeSelector and App Node field in engine (#282)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-08-04 10:51:43 +05:30
Travis CI c61a89a4a8 1176: version upgraded for chaos-charts 2020-08-02 04:27:44 +00:00
sumit Nagal cc6fc618b2
Make the name change for chaostool name change (#283)
* Changes for chaostoolkit

* (refactor): update chaos experiment and sample engine CRs
2020-08-02 09:56:49 +05:30
Shubham Chaudhary da55c113d6
feat(probe): updating the lib_image inside engine of network chaos (#280)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-29 22:33:50 +05:30
Travis CI dbae2325f4 1168: version upgraded for chaos-charts 2020-07-29 16:50:40 +00:00
Shubham Chaudhary e3d5228bef
feat(helper-images): Merging helper pod and litmus-go images (#279)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-29 22:19:46 +05:30
Travis CI c675f576ac 1166: version upgraded for chaos-charts 2020-07-29 15:34:58 +00:00
sumit Nagal 2575334f96
Organised the use cases in better way (#278)
* Changes for chaostoolkit

* (refactor): update chaos experiment and sample engine CRs

Signed-off-by: ksatchit <karthik.s@mayadata.io>

* Added support for Reporting

* Added support for Reporting

* organised the cluster and service level chaos

Signed-off-by: Sumit Nagal <sumit_nagal@intuit.com>

Co-authored-by: ksatchit <karthik.s@mayadata.io>
2020-07-29 21:03:49 +05:30
Travis CI 4bfa98b2da 1159: version upgraded for chaos-charts 2020-07-28 13:16:51 +00:00
UDIT GAURAV 5f03ce9828
fix(ansible): fix ansible charts (#277)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-28 18:45:52 +05:30
Travis CI 174bd30c68 1150: version upgraded for chaos-charts 2020-07-22 15:59:02 +00:00
UDIT GAURAV c78e6668bc
Add tc image env in experiments of netwrok chaos (#275)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-22 21:28:03 +05:30
Travis CI baaddada84 1143: version upgraded for chaos-charts 2020-07-21 07:47:20 +00:00
UDIT GAURAV 6ebfd3057e
charts(ansible): Add ansible chaos charts for running ansible experiments (#272)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>

Co-authored-by: Karthik Satchitanand <karthik.s@mayadata.io>
2020-07-21 13:16:28 +05:30
Travis CI eb5a49065a 1138: version upgraded for chaos-charts 2020-07-20 15:03:43 +00:00
Shubham Chaudhary b5dbc57d02
feat(network-chaos): Adding the tc-image as env in network experiments (#273)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-20 20:32:30 +05:30
Travis CI d4839b2379 1133: version upgraded for chaos-charts 2020-07-18 09:25:58 +00:00
Karthik Satchitanand 7e853569ff
(fix)chart: temporary workaround to fix invalid values on CR (#271)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-07-18 14:55:03 +05:30
Travis CI be4058198a 1130: version upgraded for chaos-charts 2020-07-18 08:10:31 +00:00
Toru Makabe 0681926210
test AKS (#269)
Signed-off-by: ToruMakabe <tomakabe@microsoft.com>
2020-07-18 13:39:37 +05:30
Travis CI 72d78f2d3d 1127: version upgraded for chaos-charts 2020-07-17 11:24:18 +00:00
UDIT GAURAV 9a353c39a4
update(csv): Update chartServiceVersion for docker kill experiment (#268)
* update(csv): Update cvs for docker kill experiment

Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-17 16:53:19 +05:30
UDIT GAURAV c0bfcb2e9b
chore(exp): Add icon for docker service kill and an entry in package.yaml (#267)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-15 21:22:15 +05:30
Travis CI f0d6cab67e 1115: version upgraded for chaos-charts 2020-07-15 05:29:37 +00:00
Shubham Chaudhary 1b60cdfa8e
feat(kubelet-service-kill): Adding ability to pass nodeName explictly in kubelet-service-kill (#264)
* feat(kubelet-service-kill): Adding ability to pass nodeName explictly in kubelet-service-kill

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>

* Update engine.yaml

Co-authored-by: Karthik Satchitanand <karthik.s@mayadata.io>
2020-07-15 10:58:43 +05:30
Shubham Chaudhary 2db5ea3a88
feat(node-taint): updating rbac permission for node-taint experiment (#263)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-15 08:52:45 +05:30
UDIT GAURAV 903e5accb9
fix(rbac): Modify rbac of node drain for running in go (#262)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-14 18:15:57 +05:30
Travis CI e17ee97788 1106: version upgraded for chaos-charts 2020-07-14 11:08:00 +00:00
ghoshankur1983 14581f5fdb
Feature(Chart): Chaos charts for Docker Service Kill experiment (#261)
* Chaos charts for Docker Service Kill experiment
2020-07-14 16:37:07 +05:30
Travis CI 133281e288 1102: version upgraded for chaos-charts 2020-07-13 17:03:00 +00:00
Shubham Chaudhary 9c7b9f653b
feat(go-charts): Adding go experiment in charthub (#260)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-13 22:32:03 +05:30
Travis CI 30e757e9bb 1098: version upgraded for chaos-charts 2020-07-10 22:53:53 +00:00
SHREYANGI SAXENA 90518ed0de
chore(docs): Add demo videos in generic chaos experiments (#257)
chore(docs): Add demo videos in generic chaos experiments

Signed-off-by: Shreyangi <shreyangi.saxena@mayadata.io>
2020-07-11 04:22:56 +05:30
Travis CI 645013310f 1095: version upgraded for chaos-charts 2020-07-09 08:52:47 +00:00
Shubham Chaudhary b24c6d7631
feat(node-taint): Adding the node taint experiment (#258)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-09 14:21:51 +05:30
Travis CI 52615cb691 1090: version upgraded for chaos-charts 2020-07-08 00:02:09 +00:00
UDIT GAURAV 2af0f7c458
fix(bug): Add Lib image in core dns pod delete experiment (#259)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-08 05:31:06 +05:30
Travis CI d73a4190f8 1082: version upgraded for chaos-charts 2020-07-06 13:50:25 +00:00
Karthik Satchitanand 45c7e8db80
(fix)kafka: add pod-delete helper image (#256)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2020-07-06 19:19:32 +05:30
UDIT GAURAV f3bc378a45
update(rbac): Add more permission to run go-based experiments (#255)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-06 12:51:44 +05:30
Travis CI e6ac88bdab 1077: version upgraded for chaos-charts 2020-07-03 15:12:59 +00:00
Shubham Chaudhary 9f50ce42dc
feat(security-context): adding the security context in experiment CR (#251)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-03 20:42:06 +05:30
Travis CI 869e0d90bb 1075: version upgraded for chaos-charts 2020-07-03 15:11:46 +00:00
UDIT GAURAV 1b7ca2ea2f
chore(new-chart): Add chaos chart for pod network duplication (#253)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-03 20:40:45 +05:30
Travis CI 1965bf5e41 1071: version upgraded for chaos-charts 2020-07-03 15:02:31 +00:00
UDIT GAURAV f41e0d5ff2
feat(chart): Change experiment chart to use go runner (#254)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-07-03 20:31:36 +05:30
Travis CI b45c197ab5 1060: version upgraded for chaos-charts 2020-07-01 23:35:26 +00:00
Shubham Chaudhary d99013da7d
update(charts): updating the source code url in csv (#252)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-07-02 05:04:26 +05:30
Travis CI d783efb1dc 1055: version upgraded for chaos-charts 2020-06-23 12:09:10 +00:00
Shubham Chaudhary bd844dd901
update(image): Updating the litmus-go image (#250)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
2020-06-23 17:38:12 +05:30
UDIT GAURAV 831bf8dba8
fix(rbac): Fixing experiment sa name from rbac file for kubelet kill (#249)
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
2020-06-19 15:48:49 +05:30
Aniket Rathi a4ab5551c4
Updated Icons (#246)
Update icons
2020-06-17 18:14:36 +05:30
490 changed files with 26978 additions and 8987 deletions

37
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,37 @@
---
# This workflow will combine the experiment CRs for different
# Categories of experiments into the experiment.yaml in respective
# Chart directory. It will only build and not push the changes.
name: ChaosCharts
on:
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Install golang
- uses: actions/setup-go@v2
with:
go-version: '1.14'
# Setup gopath
- name: Setting up GOPATH
run: |
echo "GOPATH=${GITHUB_WORKSPACE}/go" >> $GITHUB_ENV
# Checkout to the latest commit
# On specific directory/path
- uses: actions/checkout@v2
with:
path: go/src/github.com/${{github.repository}}
# Combine the experiment CRs
- name: Combine experiment CR
run: |
export PATH=$PATH:$(go env GOPATH)/bin
cd ${GOPATH}/src/github.com/${{github.repository}}
make combineExpCR

43
.github/workflows/push.yml vendored Normal file
View File

@ -0,0 +1,43 @@
---
# This workflow will combine the experiment CRs for different
# Categories of experiments into the experiment.yaml in respective
# Chart directory and push the changes.
name: ChaosCharts
on: [ push ]
jobs:
push:
runs-on: ubuntu-latest
if: github.repository == 'litmuschaos/chaos-charts'
steps:
# Install golang
- uses: actions/setup-go@v2
with:
go-version: '1.14'
# Setup gopath
- name: Setting up GOPATH
run: |
echo "GOPATH=${GITHUB_WORKSPACE}/go" >> $GITHUB_ENV
# Checkout to the latest commit
# On specific directory/path
- uses: actions/checkout@v2
with:
path: go/src/github.com/${{github.repository}}
token: ${{ secrets.ADMIN_TOKEN }}
# Combine the experiment CRs
- name: Combine experiment CR
run: |
export PATH=$PATH:$(go env GOPATH)/bin
cd ${GOPATH}/src/github.com/${{github.repository}}
make combineExpCR
# Commit and push the changes from the chart directory
- name: Commit and Push the changes
run: |
cd ${GOPATH}/src/github.com/${{github.repository}}
make push

45
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,45 @@
# The CI will create a release branch
# with CR updated with release tag
# The workflow will trigger when a release tag is created
name: ChaosCharts-Release
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# It will checkout to the relase branch provided in the secret
- name: Checkout to release branch
run: |
git config --local user.email "litmuschaos@gmail.com"
git config --local user.name "LitmusChaos"
git checkout -b ${{ secrets.RELEASE_BRANCH }}
# It will update the image tag as provided in the secret
- name: Update the chaos-charts version
run: |
find charts -type f -exec sed -i 's/\:latest/\:${{ secrets.RELEASE_VERSION }}/g' {} \;
- name: Commit files
run: |
git add .
git commit -s -m "New Release ${{ secrets.RELEASE_VERSION }}"
# It will push the changes in realse branch
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ secrets.RELEASE_BRANCH }}

215
.gitignore vendored Normal file
View File

@ -0,0 +1,215 @@
# Created by https://www.toptal.com/developers/gitignore/api/git,visualstudiocode,goland+all,jetbrains+all,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=git,visualstudiocode,goland+all,jetbrains+all,macos
### Git ###
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
*.orig
# Created by git when using merge tools for conflicts
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*
*_BACKUP_*.txt
*_BASE_*.txt
*_LOCAL_*.txt
*_REMOTE_*.txt
### GoLand+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
# AWS User-specific
.idea/**/aws.xml
# Generated files
.idea/**/contentModel.xml
# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml
# Gradle
.idea/**/gradle.xml
.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
cmake-build-*/
# Mongo Explorer plugin
.idea/**/mongoSettings.xml
# File-based project format
*.iws
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# SonarLint plugin
.idea/sonarlint/
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Editor-based Rest Client
.idea/httpRequests
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
### GoLand+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.
.idea/*
!.idea/codeStyles
!.idea/runConfigurations
### JetBrains+all ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
# AWS User-specific
# Generated files
# Sensitive or high-churn files
# Gradle
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
# Mongo Explorer plugin
# File-based project format
# IntelliJ
# mpeltonen/sbt-idea plugin
# JIRA plugin
# Cursive Clojure plugin
# SonarLint plugin
# Crashlytics plugin (for Android Studio and IntelliJ)
# Editor-based Rest Client
# Android studio 3.1+ serialized cache file
### JetBrains+all Patch ###
# Ignore everything but code style settings and run configurations
# that are supposed to be shared within teams.
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
### VisualStudioCode ###
.vscode/
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
# End of https://www.toptal.com/developers/gitignore/api/git,visualstudiocode,goland+all,jetbrains+all,macos

View File

@ -1,10 +0,0 @@
dist: xenial # ubuntu 16.04 distro
script:
# Install dependencies
- make deps
# It will ignore if travis ci committed, else works as it is.
- author=`git log -1 --pretty=format:'%an'` && if [[ "$author" != "Travis CI" ]]; then make versionmaker; fi
- make combineExpCR
after_success:
# runs only when PR is merged and push the version file to master version
- if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then make push; fi

View File

@ -6,5 +6,37 @@ contributions. This repository is the canonical source for the chaos charts that
Chaos Charts are a groups of categorized chaos experiments, represented as custom resource definitions that can be executed by the
[Litmus Chaos Operator](https://github.com/litmuschaos/chaos-operator). We would love to see your charts added to the list of community-charts.
To get started, refer the [developer guide](https://github.com/litmuschaos/litmus/tree/master/contribute/developer_guide)
## Categories In Charts
- <b>Generic</b>: It contains chaos to disrupt state of kubernetes resources. i.e, pod-delete
- <b>OpenEBS</b>: It contains chaos to disrupt state of OpenEBS control/date plane components. i.e, openebs-target-failure
- <b>Coredns</b>: It contains chaos to disrupt state of Coredns pod. i.e, coredns-pod-delete
- <b>Kube-AWS</b>: It contains chaos to disrupt state of AWS resources running part of the kubernetes cluster. i.e, ebs-loss
- <b>Kube-Components</b>: It contains chaos to disrupt the state of kubernetes components. i.e, k8-kube-proxy.
## Components/Files Of A Category
- <b>experiments.yaml</b>: It contains combined/concatenated experiments CRs present inside that category.
- <b><</b><b>category</b><b>>-chartserviceversion.yaml</b>: It contains all the metadata of the category, which is rendered in ChaosHub.
- <b><</b><b>category</b><b>>.package.yaml</b>: It contains list of all experiments present in that category.
- <b>icons</b>: `icons` directory contains category icon and icons of all experiments present inside that category. The name of the icon file should follow this `<exp-name>.png` convention.
## Components/Files Of A Experiment
- <b>engine.yaml</b>: It contains ChaosEngine CR manifest of the experiment.
- <b>experiment.yaml</b>: It contains ChaosExperiment CR manifest of the experiment.
- <b>rbac.yaml</b>: It contains RBAC(serviceAccount, Role/ClusterRole, RoleBinding/ClusterRoleBinding) manifest of the experiment.
- <b><</b><b>exp-name</b><b>>-chartserviceversion.yaml</b>: It contains all the metadata of the experiment, which is rendered in ChaosHub.
## Raising PR For New Experiment
- It should contains all the required file for experiment(engine.yaml, experiment.yaml, rbac.yaml, <exp-name>-chartserviceversion.yaml). For more details [refer](https://github.com/litmuschaos/chaos-charts/blob/master/CONTRIBUTING.md#componentsfiles-of-a-experiment).
- If the experiment belongs to an existing category then add an entry for the experiment in `<category.package.yaml>` and `<category.chartserviceversion.yaml>`. Add the icon for the experiment in `<category/icons>` directory. The name of the icon should be `<exp-name.png>`.
- If the experiment belongs to a new category then Create all the required files for the category and add the entries. For more details [refer](https://github.com/litmuschaos/chaos-charts/blob/master/CONTRIBUTING.md#componentsfiles-of-a-category)
<strong>Notes:</strong> The name of directories/files should follow the same naming convention prescribed above for [experiment](https://github.com/litmuschaos/chaos-charts/blob/master/CONTRIBUTING.md#componentsfiles-of-a-experiment) and [category](https://github.com/litmuschaos/chaos-charts/blob/master/CONTRIBUTING.md#componentsfiles-of-a-category).
To get started, refer to the [developer guide](https://github.com/litmuschaos/litmus-go/tree/master/contribute/developer-guide)

View File

@ -17,12 +17,7 @@ versionmaker:
.PHONY: combineExpCR
combineExpCR:
@echo "--------Combining Experiments CR-------"
bash ./scripts/combine_all_cr.sh
.PHONY: combineExpCR
combineExpCR:
@echo "--------Combining Experiments CR-------"
bash ./scripts/combine_all_cr.sh
@cd scripts && go run ./combine-all-crs.go
.PHONY: push
push:

210
README.md
View File

@ -1,34 +1,218 @@
# Chaos-Charts
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Flitmuschaos%2Fchaos-charts.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Flitmuschaos%2Fchaos-charts?ref=badge_shield)
[![Slack Channel](https://img.shields.io/badge/Slack-Join-purple)](https://slack.litmuschaos.io)
![GitHub Workflow](https://github.com/litmuschaos/chaos-charts/actions/workflows/push.yml/badge.svg?branch=master)
[![Docker Pulls](https://img.shields.io/docker/pulls/litmuschaos/go-runner.svg)](https://hub.docker.com/r/litmuschaos/go-runner)
[![GitHub issues](https://img.shields.io/github/issues/litmuschaos/chaos-charts)](https://github.com/litmuschaos/chaos-charts/issues)
[![Twitter Follow](https://img.shields.io/twitter/follow/litmuschaos?style=social)](https://twitter.com/LitmusChaos)
[![YouTube Channel](https://img.shields.io/badge/YouTube-Subscribe-red)](https://www.youtube.com/channel/UCa57PMqmz_j0wnteRa9nCaw)
<br><br>
This repository hosts the Litmus Chaos Charts.
This repository hosts the Litmus Chaos Charts. A set of related chaos faults are bundled into a Chaos Chart. Chaos Charts are classified into the following categories.
## Installation Steps for Chart Releases
- [Kubernetes Chaos](#kubernetes-chaos)
- [Application Chaos](#application-chaos)
- [Platform Chaos](#platform-chaos)
*Note: Supported from release 1.1.0*
### Kubernetes Chaos
- To install the chaos experiments from a specific chart for a given release, execute the following commands
Chaos faults that apply to Kubernetes resources are classified in this category. Following chaos faults are supported for Kubernetes:
<table>
<tr>
<th> Fault Name </th>
<th> Description </th>
<th> Link </th>
</tr>
<tr>
<td> Container Kill </td>
<td> Kill one container in the application pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/container-kill"> container-kill </a></td>
<tr>
<tr>
<td> Disk Fill </td>
<td> Fill the Ephemeral Storage of the Pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/disk-fill"> disk-fill </a></td>
<tr>
<tr>
<td> Docker Service Kill </td>
<td> Kill docker service of the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/docker-service-kill"> docker-service-kill </a></td>
<tr>
<tr>
<td> Kubelet Service Kill </td>
<td> Kill kubelet service of the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/kubelet-service-kill"> kubelet-service-kill </a></td>
<tr>
<tr>
<td> Node CPU Hog </td>
<td> Stress the cpu of the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/node-cpu-hog"> node-cpu-hog </a></td>
<tr>
<tr>
<td> Node Drain </td>
<td> Drain the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/node-drain"> node-drain </a></td>
<tr>
<tr>
<td> Node IO Stress </td>
<td> Stress the IO of the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/node-io-stress"> node-io-stress </a></td>
<tr>
<tr>
<td> Node Memory Hog </td>
<td> Stress the memory of the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/node-memory-hog"> node-memory-hog </a></td>
<tr>
<tr>
<td> Node Restart </td>
<td> Restart the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/node-restart"> node-restart </a></td>
<tr>
<tr>
<td> Node Taint </td>
<td> Taint the target node </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/node-taint"> node-taint </a></td>
<tr>
<tr>
<td> Pod Autoscaler </td>
<td> Scale the replicas of the target application </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-autoscaler"> pod-autoscaler </a></td>
<tr>
<tr>
<td> Pod CPU Hog </td>
<td> Stress the CPU of the target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-cpu-hog"> pod-cpu-hog </a></td>
<tr>
<tr>
<td> Pod Delete </td>
<td> Delete the target pods </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-delete"> pod-delete </a></td>
<tr>
<tr>
<td> Pod DNS Spoof </td>
<td> Spoof dns requests to desired target hostnames </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-dns-spoof"> pod-dns-spoof </a></td>
<tr>
<tr>
<td> Pod DNS Error </td>
<td> Error the dns requests of the target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-dns-error"> pod-dns-error </a></td>
<tr>
<tr>
<td> Pod IO Stress </td>
<td> Stress the IO of the target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-io-stress"> pod-io-stress </a></td>
<tr>
<tr>
<td> Pod Memory Hog </td>
<td> Stress the memory of the target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-memory-hog"> pod-memory-hog </a></td>
<tr>
<tr>
<td> Pod Network Latency </td>
<td> Induce the network latency in target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-network-latency"> pod-network-latency </a></td>
<tr>
<tr>
<td> Pod Network Corruption </td>
<td> Induce the network packet corruption in target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-network-corruption"> pod-network-corruption </a></td>
<tr>
<tr>
<td> Pod Network Duplication </td>
<td> Induce the network packet duplication in target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-network-duplication"> pod-network-duplication </a></td>
<tr>
<tr>
<td> Pod Network Loss </td>
<td> Induce the network loss in target pod </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-network-loss"> pod-network-loss </a></td>
<tr>
<tr>
<td> Pod Network Partition </td>
<td> Disrupt network connectivity to kubernetes pods </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/kubernetes/pod-network-partition"> pod-network-partition </a></td>
<tr>
</table>
### Application Chaos
While chaos faults under the Kubernetes category offer the ability to induce chaos into Kubernetes resources, it is difficult to analyze and conclude if the induced chaos found a weakness in a given application. The application specific chaos faults are built with some checks on *pre-conditions* and some expected outcomes after the chaos injection. The result of the chaos faults is determined by matching the outcome with the expected outcome.
<table>
<tr>
<th> Fault Category </th>
<th> Description </th>
<th> Link </th>
</tr>
<tr>
<td> Spring Boot Faults </td>
<td> Injects faults in Spring Boot applications </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/spring-boot"> Spring Boot Faults</a></td>
<tr>
</table>
### Platform Chaos
Chaos faults that inject chaos into the platform and infrastructure resources are classified into this category. Management of platform resources vary significantly from each other, Chaos Charts may be maintained separately for each platform (For example: AWS, GCP, Azure, VMWare etc.)
Following chaos faults are classified in this category:
<table>
<tr>
<th> Fault Category </th>
<th> Description </th>
<th> Link </th>
</tr>
<tr>
<td> AWS Faults </td>
<td> AWS Platform specific chaos </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/aws"> AWS Faults </a></td>
<tr>
<tr>
<td> Azure Faults </td>
<td> Azure Platform specific chaos </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/azure"> Azure Faults </a></td>
<tr>
<tr>
<td> GCP Faults </td>
<td> GCP Platform specific chaos </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/gcp"> GCP Faults </a></td>
<tr>
<tr>
<td> VMWare Faults </td>
<td> VMWare Platform specific chaos </td>
<td> <a href="https://github.com/litmuschaos/chaos-charts/tree/master/faults/vmware"> VMWare Faults </a></td>
<tr>
</table>
## Installation Steps for Chart Releases
*Note: Supported from release 3.0.0*
- To install the chaos faults from a specific chart for a given release, execute the following commands
with the desired `<release_version>`, `<chart_name>` & `<namespace>`
```bash
## downloads and unzips the released source
tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/<release_version>.tar.gz)
## installs the chaosexperiment resources
## installs the chaosexperiment resources
find chaos-charts-<release_version> -name experiments.yaml | grep <chart-name> | xargs kubectl apply -n <namespace> -f
```
- For example, to install the *generic* experiment chart bundle for release *1.1.0*, in the *sock-shop* namespace, run:
```
- For example, to install the *Kubernetes* fault chart bundle for release *3.0.0*, in the *sock-shop* namespace, run:
```bash
tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/1.1.0.tar.gz)
find chaos-charts-1.1.0 -name experiments.yaml | grep generic | xargs kubectl apply -n sock-shop -f
tar -zxvf <(curl -sL https://github.com/litmuschaos/chaos-charts/archive/3.0.0.tar.gz)
find chaos-charts-3.0.0 -name experiments.yaml | grep kubernetes | xargs kubectl apply -n sock-shop -f
```
- If you would like to install a specific experiment, replace the `experiments.yaml` in the above command with the relative
path of the experiment manifest within the parent chart. For example, to install only the *pod-delete* experiment, run:
- If you would like to install a specific fault, replace the `experiments.yaml` in the above command with the relative path of the fault manifest within the parent chart. For example, to install only the *pod-delete* fault, run:
```bash
find chaos-charts-1.1.0 -name experiment.yaml | grep 'generic/pod-delete' | xargs kubectl apply -n sock-shop -f
find chaos-charts-3.0.0 -name fault.yaml | grep 'kubernetes/pod-delete' | xargs kubectl apply -n sock-shop -f
```

View File

@ -1,43 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-04-14T10:28:08Z
name: cassandra-pod-delete
version: 0.1.2
annotations:
categories: Cassandra
vendor: CNCF
support: https://cassandra-slack.herokuapp.com
spec:
displayName: cassandra-pod-delete
categoryDescription: |
This experiment causes (forced/graceful) pod failure of random replicas of an cassandra statefulset.
It tests statefulset sanity (replica availability & uninterrupted service) and recovery workflows of the cassandra pod
keywords:
- Kubernetes
- Cassandra
- Pod
platforms:
- GKE
- Konvoy
- Packet(Kubeadm)
- Minikube
- EKS
maturity: alpha
maintainers:
- name: Shubham Chaudhary
email: shubham.chaudhary@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/cassandra/pod_delete
- name: Documentation
url: https://docs.litmuschaos.io/docs/cassandra-pod-delete/
- name: Video
url:
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/cassandra/cassandra-pod-delete/experiment.yaml

View File

@ -1,57 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: cassandra-chaos
namespace: default
spec:
appinfo:
appns: 'default'
applabel: 'app=cassandra'
appkind: 'statefulset'
# It can be true/false
annotationCheck: 'true'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
chaosServiceAccount: cassandra-pod-delete-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: cassandra-pod-delete
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '15'
# set chaos interval (in sec) as desired
- name: CHAOS_INTERVAL
value: '15'
# pod failures without '--force' & default terminationGracePeriodSeconds
- name: FORCE
value: 'false'
# provide cassandra service name
# default service: cassandra
- name: CASSANDRA_SVC_NAME
value: 'cassandra'
# provide the keyspace replication factor
- name: KEYSPACE_REPLICATION_FACTOR
value: '3'
# provide cassandra port
# default port: 9042
- name: CASSANDRA_PORT
value: '9042'
# SET THE CASSANDRA_LIVENESS_CHECK
# IT CAN BE `enabled` OR `disabled`
- name: CASSANDRA_LIVENESS_CHECK
value: ''

View File

@ -1,108 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes a pod belonging to a casandra statefulset
kind: ChaosExperiment
metadata:
name: cassandra-pod-delete
version: 0.1.3
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "deployments"
- "statefulsets"
- "jobs"
- "pods"
- "pods/log"
- "pods/exec"
- "services"
- "events"
- "configmaps"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/cassandra/pod-delete/pod_delete_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
# provide cassandra service name
# default service: cassandra
- name: CASSANDRA_SVC_NAME
value: ''
# provide the keyspace replication factor
- name: KEYSPACE_REPLICATION_FACTOR
value: ''
# provide cassandra port
# default port: 9042
- name: CASSANDRA_PORT
value: ''
# provide liveness deployement port
# default port: 8088, It only supports 8088 port
- name: LIVENESS_SVC_PORT
value: '8088'
# provide cassandra liveness image
- name: CASSANDRA_LIVENESS_IMAGE
value: 'litmuschaos/cassandra-client:latest'
- name: TOTAL_CHAOS_DURATION
value: '15'
- name: CHAOS_INTERVAL
value: '15'
# SET THE CASSANDRA_LIVENESS_CHECK
# IT CAN BE `enabled` OR `disabled`
- name: CASSANDRA_LIVENESS_CHECK
value: ''
## Period to wait before injection of chaos
- name: RAMP_TIME
value: ''
# provide the kill count
- name: KILL_COUNT
value: ''
- name: FORCE
value: ''
## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal
- name: LIB
value: ''
labels:
name: cassandra-pod-delete

View File

@ -1,38 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: cassandra-pod-delete-sa
namespace: default
labels:
name: cassandra-pod-delete-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: cassandra-pod-delete-sa
labels:
name: cassandra-pod-delete-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","deployments","statefulsets","pods/log","pods/exec","services","events","jobs","configmaps","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: cassandra-pod-delete-sa
labels:
name: cassandra-pod-delete-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cassandra-pod-delete-sa
subjects:
- kind: ServiceAccount
name: cassandra-pod-delete-sa
namespace: default

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: cassandra-pod-delete-sa
namespace: default
labels:
name: cassandra-pod-delete-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: cassandra-pod-delete-sa
namespace: default
labels:
name: cassandra-pod-delete-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","deployments","statefulsets","services","pods/log","pods/exec","events","jobs","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: cassandra-pod-delete-sa
namespace: default
labels:
name: cassandra-pod-delete-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: cassandra-pod-delete-sa
subjects:
- kind: ServiceAccount
name: cassandra-pod-delete-sa
namespace: default

View File

@ -1,43 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-04-14T10:28:08Z
name: cassandra
version: 0.1.3
annotations:
categories: Cassandra
chartDescription: Injects cassandra kubernetes chaos
spec:
displayName: Cassandra Chaos
categoryDescription: >
Cassandra is a free and open-source, distributed, wide column store, NoSQL database management system designed to handle
large amounts of data across many commodity servers, providing high availability with no single point of failure.
It will install all the experiments which can be used to inject chaos into cassandra applications.
experiments:
- cassandra-pod-delete
keywords:
- Kubernetes
- Pod
- Cassandra
- Statefulset
maintainers:
- name: ksatchit
email: karthik.s@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Kubernetes Website
url: https://kubernetes.io
- name: Cassandra Website
url: http://cassandra.apache.org/
- name: Source Code
url: https://github.com/apache/cassandra
- name: Cassandra Slack
url: https://cassandra-slack.herokuapp.com
- name: Documentation
url: http://cassandra.apache.org/doc/latest/
icon:
- url: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/cassandra/icons/cassandra.png
mediatype: image/png
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/cassandra/experiments.yaml

View File

@ -1,5 +0,0 @@
packageName: cassandra
experiments:
- name: cassandra-pod-delete
CSV: cassandra-pod-delete.chartserviceversion.yaml
desc: "cassandra-pod-delete"

View File

@ -1,113 +0,0 @@
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes a pod belonging to a casandra statefulset
kind: ChaosExperiment
metadata:
name: cassandra-pod-delete
version: 0.1.3
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "deployments"
- "statefulsets"
- "jobs"
- "pods"
- "pods/log"
- "pods/exec"
- "services"
- "events"
- "configmaps"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/cassandra/pod-delete/pod_delete_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
# provide cassandra service name
# default service: cassandra
- name: CASSANDRA_SVC_NAME
value: ''
# provide the keyspace replication factor
- name: KEYSPACE_REPLICATION_FACTOR
value: ''
# provide cassandra port
# default port: 9042
- name: CASSANDRA_PORT
value: ''
# provide liveness deployement port
# default port: 8088, It only supports 8088 port
- name: LIVENESS_SVC_PORT
value: '8088'
# provide cassandra liveness image
- name: CASSANDRA_LIVENESS_IMAGE
value: 'litmuschaos/cassandra-client:latest'
- name: TOTAL_CHAOS_DURATION
value: '15'
- name: CHAOS_INTERVAL
value: '15'
# SET THE CASSANDRA_LIVENESS_CHECK
# IT CAN BE `enabled` OR `disabled`
- name: CASSANDRA_LIVENESS_CHECK
value: ''
## Period to wait before injection of chaos
- name: RAMP_TIME
value: ''
# provide the kill count
- name: KILL_COUNT
value: ''
- name: FORCE
value: ''
## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal
- name: LIB
value: ''
labels:
name: cassandra-pod-delete
---

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View File

@ -1,20 +0,0 @@
# In Namespace Changes
* Apply experiments for k8 - `kubectl apply -f experiments.yaml`
* Validate the experiments for k8 - `kubectl get chaosexperiment`
* Setup RBAC - for pod delete RBAC - `kubectl apply -f rbac.yaml`
* Create pod Experiment - for health experiment -`kubectl create -f engine.yaml`
* Validate experiment - `kubectl get pods -w`
* Validate logs - `kubectl logs -f <delete pod>`
* Clean up chaosexperiment -`kubectl delete -f engine.yaml`
* Clean up rbac -`kubectl delete -f rbac.yaml`
# Remote namespace
* Apply experiments for K8 - `kubectl apply -f experiments.yaml`
* Validate the experiments for k8 - `kubectl get chaosexperiments`
* Setup RBAC as admin mode - `kubectl apply -f rbac-admin.yaml`
* Create pod Experiment - for health experiment for IKS 1.0 -`kubectl create -f engine-kiam.yaml`
* Validate experiment - `kubectl get pods -w`
* Validate logs - `kubectl logs -f <delete pod>`
* Clean up chaosexperiment -`kubectl delete -f engine-kiam.yaml`
* Clean up rbac -`kubectl delete -f rbac-admin.yaml`

View File

@ -1,31 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-02-24T10:28:08Z
name: chaostoolkit
version: 0.0.5
annotations:
categories: Kubernetes
chartDescription: Injects chaostoolkit chaos
spec:
displayName: Chaostoolkit Chaos
categoryDescription:
experiments:
- k8-pod-delete
keywords:
- Kubernetes
- pod
- State
maintainers:
- name: sumit
email: sumit_nagal@intuit.com
minKubeVersion: 1.12.0
provider:
name: Intuit
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/chaostoolkit/kubernetes
icon:
- url: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/chaostoolkit/icons/k8-pod-delete.png
mediatype: image/png
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/chaostoolkit/experiments.yaml

View File

@ -1,5 +0,0 @@
packageName: chaostoolkit
experiments:
- name: k8-pod-delete
CSV: k8-pod-delete.chartserviceversion.yaml
desc: "chaostoolkit pod delete experiment"

View File

@ -1,70 +0,0 @@
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes a pod belonging to a deployment/statefulset/daemonset
kind: ChaosExperiment
metadata:
name: k8-pod-delete
version: 0.0.3
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "deployments"
- "jobs"
- "pods"
- "configmaps"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/chaostoolkit:latest"
args:
- -c
- python /app/chaos/chaostest/kubernetes/k8_wrapper.py; exit 0
command:
- /bin/bash
env:
- name: CHAOSTOOLKIT_IN_POD
value: 'true'
- name: FILE
value: 'pod-app-kill-count.json'
- name: NAME_SPACE
value: ''
- name: LABEL_NAME
value: ''
- name: APP_ENDPOINT
value: ''
- name: PERCENTAGE
value: '50'
- name: REPORT
value: 'true'
- name: REPORT_ENDPOINT
value: 'none'
labels:
name: k8-pod-delete
---

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,36 +0,0 @@
# chaosengine.yaml
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: k8-kiam-delete-count
namespace: default
spec:
#ex. values: ns1:name=percona,ns2:run=nginx
appinfo:
appns: kube-system
# FYI, To see app label, apply kubectl get pods --show-labels
#applabel: "app=nginx"
applabel: "app=kiam"
appkind: deployment
jobCleanUpPolicy: retain
monitoring: false
annotationCheck: 'false'
engineState: 'active'
chaosServiceAccount: chaos-admin
experiments:
- name: k8-pod-delete
spec:
components:
env:
- name: NAME_SPACE
value: kube-system
- name: LABEL_NAME
value: kiam
- name: APP_ENDPOINT
value: 'localhost'
- name: FILE
value: 'pod-app-kill-count.json'
- name: REPORT
value: 'true'
- name: REPORT_ENDPOINT
value: 'none'

View File

@ -1,36 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
annotationCheck: 'true'
engineState: 'active'
chaosServiceAccount: k8-pod-delete-sa
monitoring: false
jobCleanUpPolicy: 'retain'
experiments:
- name: k8-pod-delete
spec:
components:
env:
# set chaos namespace
- name: NAME_SPACE
value: 'default'
# set chaos label name
- name: LABEL_NAME
value: 'nginx'
# pod endpoint
- name: APP_ENDPOINT
value: 'localhost'
- name: FILE
value: 'pod-app-kill-count.json'
- name: REPORT
value: 'true'
- name: REPORT_ENDPOINT
value: 'none'

View File

@ -1,65 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes a pod belonging to a deployment/statefulset/daemonset
kind: ChaosExperiment
metadata:
name: k8-pod-delete
version: 0.0.3
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "deployments"
- "jobs"
- "pods"
- "configmaps"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/chaostoolkit:latest"
args:
- -c
- python /app/chaos/chaostest/kubernetes/k8_wrapper.py; exit 0
command:
- /bin/bash
env:
- name: CHAOSTOOLKIT_IN_POD
value: 'true'
- name: FILE
value: 'pod-app-kill-count.json'
- name: NAME_SPACE
value: ''
- name: LABEL_NAME
value: ''
- name: APP_ENDPOINT
value: ''
- name: PERCENTAGE
value: '50'
- name: REPORT
value: 'true'
- name: REPORT_ENDPOINT
value: 'none'
labels:
name: k8-pod-delete

View File

@ -1,33 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
name: k8-pod-delete
version: 0.0.4
annotations:
categories: Kubernetes
vendor: CNCF
createdAt: 2020-02-24T10:28:08Z
support: https://slack.kubernetes.io/
spec:
displayName: k8-pod-delete
categoryDescription: |
K8 Pod delete contains chaos to disrupt state of kubernetes resources. It uses chaostoolkit to inject random pod delete failures against specified applications
keywords:
- Kubernetes
- State
platforms:
- Minikube
maturity: alpha
maintainers:
- name: sumit
email: sumit_nagal@intuit.com
minKubeVersion: 1.12.0
provider:
name: Intuit
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/chaostoolkit/kubernetes/pod-delete
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/chaostoolkit/k8-pod-delete/experiment.yaml

View File

@ -1,35 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: chaos-admin
labels:
name: chaos-admin
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: chaos-admin
labels:
name: chaos-admin
rules:
- apiGroups: ["","apps","batch","extensions","litmuschaos.io","openebs.io","storage.k8s.io"]
resources: ["chaosengines","chaosexperiments","chaosresults","configmaps","cstorpools","cstorvolumereplicas","events","jobs","persistentvolumeclaims","persistentvolumes","pods","pods/exec","pods/log","secrets","storageclasses","chaosengines","chaosexperiments","chaosresults","configmaps","cstorpools","cstorvolumereplicas","daemonsets","deployments","events","jobs","persistentvolumeclaims","persistentvolumes","pods","pods/eviction","pods/exec","pods/log","replicasets","secrets","services","statefulsets","storageclasses"]
verbs: ["create","delete","get","list","patch","update"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get","list","patch"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: chaos-admin
labels:
name: chaos-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: chaos-admin
subjects:
- kind: ServiceAccount
name: chaos-admin
namespace: msaasfmea4-perf-infra-usw2-ppd-pfi

View File

@ -1,40 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: k8-pod-delete-sa
namespace: default
labels:
name: k8-pod-delete-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: k8-pod-delete-sa
namespace: default
labels:
name: k8-pod-delete-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","deployments","jobs","configmaps","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]
verbs : ["get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: k8-pod-delete-sa
namespace: default
labels:
name: k8-pod-delete-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: k8-pod-delete-sa
subjects:
- kind: ServiceAccount
name: k8-pod-delete-sa
namespace: default

View File

@ -1,38 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-12-30T10:28:08Z
name: coredns-pod-delete
version: 0.1.6
annotations:
categories: CoreDNS
vendor: CNCF
support: https://slack.cncf.io/
spec:
displayName: coredns-pod-delete
categoryDescription: |
Pod delete contains chaos to disrupt state of coredns resources. Experiments can inject random pod delete failures against specified application.
- Causes (forced/graceful) pod failure of coredns replicas of an application deployment.
- Tests of successful resolution of app services during chaos injection
keywords:
- Kubernetes
- CoreDNS
- Pod delete
platforms:
- GKE
- Minikube
maturity: alpha
maintainers:
- name: Raj Babu Das
email: raj.das@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/coredns/pod_delete
- name: Documentation
url: https://docs.litmuschaos.io/docs/coredns-pod-delete/
- name: Video
url: https://www.youtube.com/watch?v=pwo5idKW7q8
chaosexpcrdlink: https://raw.githubusercontent.com/litmuchaos/chaos-charts/master/charts/coredns/coredns-pod-delete/experiment.yaml

View File

@ -1,35 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: engine-coredns
namespace: kube-system
spec:
appinfo:
appns: 'kube-system'
applabel: 'k8s-app=kube-dns'
appkind: 'deployment'
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
chaosServiceAccount: coredns-pod-delete-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: coredns-pod-delete
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '30'
# set chaos interval (in sec) as desired
- name: CHAOS_INTERVAL
value: '10'
- name: CHAOS_NAMESPACE
value: 'kube-system'

View File

@ -1,60 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes coredns pod in kube-system namespace
kind: ChaosExperiment
metadata:
name: coredns-pod-delete
version: 0.1.8
spec:
definition:
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "services"
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "get"
- "list"
- "patch"
- "create"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/coredns/pod_delete/pod_delete_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '15'
# provide the kill count
- name: KILL_COUNT
value: ''
- name: FORCE
value: 'true'
- name: CHAOS_INTERVAL
value: '5'
- name: LIB
value: ''
labels:
name: coredns-pod-delete

View File

@ -1,33 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: coredns-pod-delete-sa
namespace: kube-system
labels:
name: coredns-pod-delete-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: coredns-pod-delete-sa
labels:
name: coredns-pod-delete-sa
rules:
- apiGroups: ["","litmuschaos.io","batch"]
resources: ["services", "pods","jobs","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: coredns-pod-delete-sa
labels:
name: coredns-pod-delete-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: coredns-pod-delete-sa
subjects:
- kind: ServiceAccount
name: coredns-pod-delete-sa
namespace: kube-system

View File

@ -1,43 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-12-30T10:28:08Z
name: coredns
version: 0.1.4
annotations:
categories: Kubernetes
chartDescription: Injects coredns chaos
spec:
displayName: CoreDNS chaos
categoryDescription: >
CoreDNS is an open-source system for DNS management of containerized applications.
It helps to resolve services to IP address. It will install all the experiments which can be used to inject chaos into containerized applications.
experiments:
- coredns-pod-delete
keywords:
- Kubernetes
- Container
- node
- pod
- DNS
maintainers:
- name: Raj Babu Das
email: raj.das@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: CoreDNS Website
url: https://coredns.io
- name: Source Code
url: https://github.com/coredns/coredns
- name: CoreDNS Slack
url: https://slack.cncf.io/
- name: Documentation
url: https://coredns.io/manual/toc/
icon:
- url: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/coredns/icons/coredns-pod-delete.png
mediatype: image/png
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/coredns/experiments.yaml

View File

@ -1,5 +0,0 @@
packageName: coredns
experiments:
- name: coredns-pod-delete
CSV: coredns-pod-delete.chartserviceversion.yaml
desc: "coredns pod delete experiment"

View File

@ -1,65 +0,0 @@
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes coredns pod in kube-system namespace
kind: ChaosExperiment
metadata:
name: coredns-pod-delete
version: 0.1.8
spec:
definition:
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "services"
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "get"
- "list"
- "patch"
- "create"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/coredns/pod_delete/pod_delete_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '15'
# provide the kill count
- name: KILL_COUNT
value: ''
- name: FORCE
value: 'true'
- name: CHAOS_INTERVAL
value: '5'
- name: LIB
value: ''
labels:
name: coredns-pod-delete
---

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,42 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-10-15T10:28:08Z
name: container-kill
version: 0.1.11
annotations:
categories: "Kubernetes"
vendor: "CNCF"
support: https://slack.openebs.io/
spec:
displayName: container-kill
categoryDescription: |
Container kill contains chaos to disrupt state of kubernetes resources. Experiments can inject random container delete failures against specified application.
- Executes SIGKILL on containers of random replicas of an application deployment.
- Tests deployment sanity (replica availability & uninterrupted service) and recovery workflows of the application pod.
keywords:
- Kubernetes
- Container
platforms:
- GKE
- Minikube
- Packet(Kubeadm)
- EKS
maturity: alpha
maintainers:
- name: ksatchit
email: karthik.s@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/container_kill
- name: Documentation
url: https://docs.litmuschaos.io/docs/container-kill/
- name: Video
url: https://www.youtube.com/watch?v=XKyMNdVsKMo
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/container-kill/experiment.yaml

View File

@ -1,44 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: nginx
spec:
# It can be true/false
annotationCheck: 'true'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'nginx'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: container-kill-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: container-kill
spec:
components:
env:
# specify the name of the container to be killed
- name: TARGET_CONTAINER
value: 'nginx'
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'
# For containerd image use: litmuschaos/container-kill-helper:latest
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
# It supports pumba and containerd
- name: LIB
value: 'pumba'

View File

@ -1,76 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: "Kills a container belonging to an application pod \n"
kind: ChaosExperiment
metadata:
name: container-kill
version: 0.1.20
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "update"
- "patch"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/container_kill/container_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# It supports pumba and containerd
- name: LIB
value: 'pumba'
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
# provide the container runtime path for containerd
# applicable only for containerd runtime
- name: CONTAINER_PATH
value: '/run/containerd/containerd.sock'
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'
# LIB_IMAGE can be - gaiaadm/pumba:0.6.5, litmuschaos/container-kill-helper:latest
# For pumba image use: gaiaadm/pumba:0.6.5
# For containerd image use: litmuschaos/container-kill-helper:latest
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
labels:
name: container-kill

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: container-kill-sa
namespace: default
labels:
name: container-kill-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: container-kill-sa
namespace: default
labels:
name: container-kill-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","jobs","pods/exec","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: container-kill-sa
namespace: default
labels:
name: container-kill-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: container-kill-sa
subjects:
- kind: ServiceAccount
name: container-kill-sa
namespace: default

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: container-kill-sa
namespace: nginx
labels:
name: container-kill-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: container-kill-sa
namespace: nginx
labels:
name: container-kill-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","jobs","pods/exec","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: container-kill-sa
namespace: nginx
labels:
name: container-kill-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: container-kill-sa
subjects:
- kind: ServiceAccount
name: container-kill-sa
namespace: nginx

View File

@ -1,32 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: disk-fill-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: disk-fill
spec:
components:
env:
# specify the fill percentage according to the disk pressure required
- name: FILL_PERCENTAGE
value: '80'
- name: TARGET_CONTAINER
value: 'nginx'

View File

@ -1,70 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Fillup Ephemeral Storage of a Resource
kind: ChaosExperiment
metadata:
name: disk-fill
version: 0.1.12
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/exec"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/disk_fill/disk_fill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: FILL_PERCENTAGE
value: '80'
- name: TOTAL_CHAOS_DURATION
value: '60'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
# Provide the container runtime path
# Default set to docker
- name: CONTAINER_PATH
value: '/var/lib/docker/containers'
labels:
name: disk-fill

View File

@ -1,34 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: disk-fill-sa
namespace: default
labels:
name: disk-fill-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: disk-fill-sa
labels:
name: disk-fill-sa
rules:
- apiGroups: ["","apps","litmuschaos.io","batch"]
resources: ["pods","jobs","pods/exec","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: disk-fill-sa
labels:
name: disk-fill-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: disk-fill-sa
subjects:
- kind: ServiceAccount
name: disk-fill-sa
namespace: default

View File

@ -1,44 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-11-13T10:28:08Z
name: disk-loss
version: 0.1.10
annotations:
categories: Kubernetes
vendor: Mayadata
support: https://app.slack.com/client/T09NY5SBT/CNXNB0ZTN
spec:
displayName: disk-loss
categoryDescription: |
Disk Loss contains chaos to disrupt state of infra resources. Experiments can inject disk loss against specified application.
- Causes (forced/graceful) disk loss from node/instance..
- Tests deployment sanity (replica availability & uninterrupted service) and recovery workflows of the application pod.
keywords:
- Kubernetes
- AWS
- GCP
- Disk
platforms:
- GKE
- AWS(KOPS)
maturity: alpha
chaosType: infra
maintainers:
- name: Raj Babu Das
email: raj.das@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/disk_loss
- name: Documentation
url: https://docs.litmuschaos.io/docs/disk-loss/
- name: Video
url:
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/disk-loss/experiment.yaml

View File

@ -1,57 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: disk-loss-sa
monitoring: false
# It can be retain/delete
jobCleanUpPolicy: 'delete'
experiments:
- name: disk-loss
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '60'
# set cloud platform name
- name: CLOUD_PLATFORM
value: 'GKE'
# set app_check to check application state
- name: APP_CHECK
value: 'true'
# GCP project ID
- name: PROJECT_ID
value: 'litmus-demo-123'
# Node name of the cluster
- name: NODE_NAME
value: 'demo-node-123'
# Disk Name of the node, it must be an external disk.
- name: DISK_NAME
value: 'demo-disk-123'
# Enter the device name which you wanted to mount only for AWS.
- name: DEVICE_NAME
value: '/dev/sdb'
# Name of Zone in which node is present (GCP)
# Use Region Name when running with AWS (ex: us-central1)
- name: ZONE_NAME
value: 'us-central1-a'

View File

@ -1,82 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Detaching a persistent disk from a node/instance. Supports only for AWS and GCP
kind: ChaosExperiment
metadata:
name: disk-loss
version: 0.1.13
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "events"
- "pods/log"
- "secrets"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/disk_loss/disk_loss_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '15'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: APP_CHECK
value: 'true'
# GKE and AWS supported
- name: CLOUD_PLATFORM
value: 'GKE'
- name: PROJECT_ID
value: ''
- name: NODE_NAME
value: ''
- name: DISK_NAME
value: ''
# provide the LIB
# only litmus supported
- name: LIB
value: 'litmus'
- name: ZONE_NAME
value: ''
- name: DEVICE_NAME
value: ''
labels:
name: disk-loss
secrets:
- name: cloud-secret
mountPath: /tmp/

View File

@ -1,34 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: disk-loss-sa
namespace: default
labels:
name: disk-loss-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: disk-loss-sa
labels:
name: disk-loss-sa
rules:
- apiGroups: ["","litmuschaos.io","batch"]
resources: ["pods","jobs","secrets","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: disk-loss-sa
labels:
name: disk-loss-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: disk-loss-sa
subjects:
- kind: ServiceAccount
name: disk-loss-sa
namespace: default

View File

@ -1,958 +0,0 @@
---
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Drain the node where application pod is scheduled
kind: ChaosExperiment
metadata:
name: node-drain
version: 0.1.11
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "extensions"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "events"
- "pods/log"
- "daemonsets"
- "pods/eviction"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
- "patch"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/node_drain/node_drain_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: LIVENESS_APP_LABEL
value: ''
- name: APP_NODE
value: ''
- name: TOTAL_CHAOS_DURATION
value: '60'
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIVENESS_APP_NAMESPACE
value: ''
labels:
name: node-drain
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Fillup Ephemeral Storage of a Resource
kind: ChaosExperiment
metadata:
name: disk-fill
version: 0.1.12
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/exec"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/disk_fill/disk_fill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: FILL_PERCENTAGE
value: '80'
- name: TOTAL_CHAOS_DURATION
value: '60'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
# Provide the container runtime path
# Default set to docker
- name: CONTAINER_PATH
value: '/var/lib/docker/containers'
labels:
name: disk-fill
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Injects cpu consumption on pods belonging to an app deployment
kind: ChaosExperiment
metadata:
name: pod-cpu-hog
version: 0.1.10
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_cpu_hog/pod_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: CPU_CORES
value: '1'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'litmus'
- name: LIB_IMAGE
value: 'litmuschaos/app-cpu-stress:latest'
labels:
name: pod-cpu-hog
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Injects memory consumption on pods belonging to an app deployment
kind: ChaosExperiment
metadata:
name: pod-memory-hog
version: 0.1.2
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_memory_hog/pod_memory_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
# Provide name of target container
# where chaos has to be injected
- name: TARGET_CONTAINER
value: ''
# Enter the amount of memory in megabytes to be consumed by the application pod
# default: 500 (Megabytes)
- name: MEMORY_CONSUMPTION
value: '500'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'litmus'
- name: LIB_IMAGE
value: 'litmuschaos/app-memory-stress:latest'
labels:
name: pod-memory-hog
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Inject network packet corruption into application pod
kind: ChaosExperiment
metadata:
name: pod-network-corruption
version: 0.1.9
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "delete"
- "list"
- "patch"
- "update"
- "get"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_network_corruption/pod_network_corruption_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
# provide lib image
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
- name: NETWORK_INTERFACE
value: 'eth0'
- name: NETWORK_PACKET_CORRUPTION_PERCENTAGE
value: '100' #in PERCENTAGE
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Time period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'pumba'
labels:
name: pod-network-corruption
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes a pod belonging to a deployment/statefulset/daemonset
kind: ChaosExperiment
metadata:
name: pod-delete
version: 0.1.16
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "deployments"
- "jobs"
- "pods"
- "pods/log"
- "events"
- "configmaps"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_delete/pod_delete_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '15'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# provide the kill count
- name: KILL_COUNT
value: ''
- name: FORCE
value: 'true'
- name: CHAOS_INTERVAL
value: '5'
- name: LIB_IMAGE
value: 'litmuschaos/pod-delete-helper:latest'
- name: LIB
value: 'litmus'
labels:
name: pod-delete
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Injects network packet loss on pods belonging to an app deployment
kind: ChaosExperiment
metadata:
name: pod-network-loss
version: 0.1.14
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "get"
- "list"
- "patch"
- "create"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_network_loss/pod_network_loss_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
# provide lib image
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
- name: NETWORK_INTERFACE
value: 'eth0'
- name: NETWORK_PACKET_LOSS_PERCENTAGE
value: '100' #in PERCENTAGE
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# ime period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'pumba'
labels:
name: pod-network-loss
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Detaching a persistent disk from a node/instance. Supports only for AWS and GCP
kind: ChaosExperiment
metadata:
name: disk-loss
version: 0.1.13
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "events"
- "pods/log"
- "secrets"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/disk_loss/disk_loss_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '15'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: APP_CHECK
value: 'true'
# GKE and AWS supported
- name: CLOUD_PLATFORM
value: 'GKE'
- name: PROJECT_ID
value: ''
- name: NODE_NAME
value: ''
- name: DISK_NAME
value: ''
# provide the LIB
# only litmus supported
- name: LIB
value: 'litmus'
- name: ZONE_NAME
value: ''
- name: DEVICE_NAME
value: ''
labels:
name: disk-loss
secrets:
- name: cloud-secret
mountPath: /tmp/
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Injects network latency on pods belonging to an app deployment
kind: ChaosExperiment
metadata:
name: pod-network-latency
version: 0.1.14
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_network_latency/pod_network_latency_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: NETWORK_INTERFACE
value: 'eth0'
# provide lib image
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
- name: NETWORK_LATENCY
value: '60000' #in ms
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Time period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'pumba'
labels:
name: pod-network-latency
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Give a cpu spike on a node belonging to a deployment
kind: ChaosExperiment
metadata:
name: node-cpu-hog
version: 0.1.18
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/node_cpu_hog/node_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '60'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
- name: NODE_CPU_CORE
value: ''
# PROVIDE THE LIB HERE
# ONLY LITMUS SUPPORTED
- name: LIB
value: 'litmus'
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/stress-ng:latest'
labels:
name: node-cpu-hog
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Kills the kubelet service on the application node to check the resiliency.
kind: ChaosExperiment
metadata:
name: kubelet-service-kill
version: 0.1.1
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/kubelet_service_kill/kubelet_service_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '90' # in seconds
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'litmus'
labels:
name: kubelet-service-kill
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Give a memory hog on a node belonging to a deployment
kind: ChaosExperiment
metadata:
name: node-memory-hog
version: 0.1.8
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/node_memory_hog/node_memory_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '120'
## specify the size as percent of total available memory (in percentage %)
## Default value "90%"
- name: MEMORY_PERCENTAGE
value: '90'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/stress-ng:latest'
labels:
name: node-memory-hog
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: "Kills a container belonging to an application pod \n"
kind: ChaosExperiment
metadata:
name: container-kill
version: 0.1.20
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "update"
- "patch"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/container_kill/container_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# It supports pumba and containerd
- name: LIB
value: 'pumba'
# provide the chaos interval
- name: CHAOS_INTERVAL
value: '10'
# provide the container runtime path for containerd
# applicable only for containerd runtime
- name: CONTAINER_PATH
value: '/run/containerd/containerd.sock'
# provide the total chaos duration
- name: TOTAL_CHAOS_DURATION
value: '20'
# LIB_IMAGE can be - gaiaadm/pumba:0.6.5, litmuschaos/container-kill-helper:latest
# For pumba image use: gaiaadm/pumba:0.6.5
# For containerd image use: litmuschaos/container-kill-helper:latest
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
labels:
name: container-kill
---

View File

@ -1,57 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-09-26T10:28:08Z
name: generic
version: 0.1.13
annotations:
categories: Kubernetes
chartDescription: Injects generic kubernetes chaos
spec:
displayName: Generic Chaos
categoryDescription: >
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easier management and discovery. It will install all the experiments which can be used to inject chaos into containerized applications.
experiments:
- pod-delete
- container-kill
- pod-cpu-hog
- pod-network-loss
- pod-network-latency
- pod-network-corruption
- node-drain
- node-cpu-hog
- disk-loss
- disk-fill
- node-memory-hog
- pod-memory-hog
- kubelet-service-kill
keywords:
- Kubernetes
- Container
- Node
- Pod
- Disk
- Network
- CPU
- Memory
maintainers:
- name: ksatchit
email: karthik.s@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Kubernetes Website
url: https://kubernetes.io
- name: Source Code
url: https://github.com/kubernetes/kubernetes
- name: Kubernetes Slack
url: https://slack.kubernetes.io/
- name: Documentation
url: https://docs.litmuschaos.io/docs/chaoshub/#generic-chaos
icon:
- url: https://raw.githubusercontent.com/litmuschaos/charthub.litmuschaos.io/master/public/litmus.ico
mediatype: image/png
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/experiments.yaml

View File

@ -1,42 +0,0 @@
packageName: generic
experiments:
- name: pod-delete
CSV: pod-delete.chartserviceversion.yaml
desc: "pod-delete"
- name: container-kill
CSV: container-kill.chartserviceversion.yaml
desc: "container-kill"
- name: pod-network-loss
CSV: pod-network-loss.chartserviceversion.yaml
desc: "Pod-network-loss"
- name: pod-network-latency
CSV: pod-network-latency.chartserviceversion.yaml
desc: "pod-network-latency"
- name: pod-cpu-hog
CSV: pod-cpu-hog.chartserviceversion.yaml
desc: "pod-cpu-hog"
- name: node-cpu-hog
CSV: node-cpu-hog.chartserviceversion.yaml
desc: "node-cpu-hog"
- name: disk-fill
CSV: disk-fill.chartserviceversion.yaml
desc: "disk-fill"
- name: disk-loss
CSV: disk-loss.chartserviceversion.yaml
desc: "disk-loss"
- name: node-drain
CSV: node-drain.chartserviceversion.yaml
desc: "node-drain"
- name: pod-network-corruption
CSV: pod-network-corruption.chartserviceversion.yaml
desc: "pod-network-corruption"
- name: node-memory-hog
CSV: node-memory-hog.chartserviceversion.yaml
desc: "node-memory-hog"
- name: pod-memory-hog
CSV: pod-memory-hog.chartserviceversion.yaml
desc: "pod-memory-hog"
- name: kubelet-service-kill
CSV: kubelet-service-kill.chartserviceversion.yaml
desc: "kubelet-service-kill"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,61 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Kills the kubelet service on the application node to check the resiliency.
kind: ChaosExperiment
metadata:
name: kubelet-service-kill
version: 0.1.1
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/kubelet_service_kill/kubelet_service_kill_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '90' # in seconds
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'litmus'
labels:
name: kubelet-service-kill

View File

@ -1,45 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-06-13T10:28:08Z
name: kubelet-service-kill
version: 0.1.1
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: kubelet-service-kill
categoryDescription: |
kubelet-service-kill contains killing kubelet service gracefully for a certain chaos duration.
- Causes replicas may be evicted or becomes unreachable on account on nodes turning unschedulable (Not Ready) due to kubelet service kill.
- The application node should be healthy once chaos is stopped and the services are reaccessable.
keywords:
- Kubernetes
- Kubelet
- Node
- Service
platforms:
- GKE
- Packet(Kubeadm)
- Minikube
- EKS
maturity: alpha
maintainers:
- name: Udit Gaurav
email: udit.gaurav@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/kubelet_service_kill
- name: Documentation
url: https://docs.litmuschaos.io/docs/kubelet-service-kill/
- name: Video
url:
icon:
- base64data: ""
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/kubelet-service-kill/experiment.yaml

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: kubelet-service-kill
namespace: default
labels:
name: kubelet-service-kill
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: kubelet-service-kill
labels:
name: kubelet-service-kill
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","jobs","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: kubelet-service-kill
labels:
name: kubelet-service-kill
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: kubelet-service-kill
subjects:
- kind: ServiceAccount
name: kubelet-service-kill
namespace: default

View File

@ -1,31 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: node-cpu-hog-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: node-cpu-hog
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '60'
- name: NODE_CPU_CORE
value: ''

View File

@ -1,74 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Give a cpu spike on a node belonging to a deployment
kind: ChaosExperiment
metadata:
name: node-cpu-hog
version: 0.1.18
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/node_cpu_hog/node_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '60'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
## ENTER THE NUMBER OF CORES OF CPU FOR CPU HOGGING
## OPTIONAL VALUE IN CASE OF EMPTY VALUE IT WILL TAKE NODE CPU CAPACITY
- name: NODE_CPU_CORE
value: ''
# PROVIDE THE LIB HERE
# ONLY LITMUS SUPPORTED
- name: LIB
value: 'litmus'
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/stress-ng:latest'
labels:
name: node-cpu-hog

View File

@ -1,44 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-01-28T10:28:08Z
name: node-cpu-hog
version: 0.0.11
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: node-cpu-hog
categoryDescription: |
Node CPU hog contains chaos to disrupt the state of Kubernetes resources. Experiments can inject a CPU spike on a node where the application pod is scheduled.
- CPU hog on a particular node where the application deployment is available.
- After test, the recovery should be manual for the application pod and node in case they are not in an appropriate state.
keywords:
- Kubernetes
- CPU
- State
- Node
platforms:
- GKE
- EKS
maturity: alpha
chaosType: infra
maintainers:
- name: ksatchit
email: karthik.s@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/node_cpu_hog
- name: Documentation
url: https://docs.litmuschaos.io/docs/node-cpu-hog/
- name: Video
url:
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/node-cpu-hog/experiment.yaml

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: node-cpu-hog-sa
namespace: default
labels:
name: node-cpu-hog-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: node-cpu-hog-sa
labels:
name: node-cpu-hog-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","jobs","events","chaosengines","pods/log","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: node-cpu-hog-sa
labels:
name: node-cpu-hog-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: node-cpu-hog-sa
subjects:
- kind: ServiceAccount
name: node-cpu-hog-sa
namespace: default

View File

@ -1,28 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: node-drain-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: node-drain
spec:
components:
env:
# set node name
- name: APP_NODE
value: 'node-1'

View File

@ -1,77 +0,0 @@
---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Drain the node where application pod is scheduled
kind: ChaosExperiment
metadata:
name: node-drain
version: 0.1.11
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "extensions"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "events"
- "pods/log"
- "daemonsets"
- "pods/eviction"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
- "patch"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/node_drain/node_drain_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: LIVENESS_APP_LABEL
value: ''
- name: APP_NODE
value: ''
- name: TOTAL_CHAOS_DURATION
value: '60'
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIVENESS_APP_NAMESPACE
value: ''
labels:
name: node-drain

View File

@ -1,44 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-01-13T10:28:08Z
name: node-drain
version: 0.1.9
annotations:
categories: Kubernetes
vendor: Mayadata
repository: https://github.com/litmuschaos/chaos-charts
support: https://app.slack.com/client/T09NY5SBT/CNXNB0ZTN
spec:
displayName: node-drain
categoryDescription: >
Drain the node where application pod is scheduled
keywords:
- Kubernetes
- Node
- State
platforms:
- GKE
- AWS(KOPS)
- Packet(Kubeadm)
- Konvoy
- EKS
maturity: alpha
chaosType: infra
maintainers:
- name: shubham chaudhary
email: shubham.chaudhary@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/node_drain
- name: Documentation
url: https://docs.litmuschaos.io/docs/node-drain/
- name: Video
url:
icon:
- url: ""
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/node-drain/experiment.yaml

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: node-drain-sa
namespace: default
labels:
name: node-drain-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: node-drain-sa
labels:
name: node-drain-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","extensions"]
resources: ["pods","jobs","events","chaosengines","pods/log","daemonsets","pods/eviction","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["patch","get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: node-drain-sa
labels:
name: node-drain-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: node-drain-sa
subjects:
- kind: ServiceAccount
name: node-drain-sa
namespace: default

View File

@ -1,33 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be true/false
annotationCheck: 'false'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: node-memory-hog-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: node-memory-hog
spec:
components:
env:
# set chaos duration (in sec) as desired
- name: TOTAL_CHAOS_DURATION
value: '120'
## specify the size as percent of total available memory (in percentage %)
## default value 90%
- name: MEMORY_PERCENTAGE
value: '90'

View File

@ -1,74 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Give a memory hog on a node belonging to a deployment
kind: ChaosExperiment
metadata:
name: node-memory-hog
version: 0.1.8
spec:
definition:
scope: Cluster
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/node_memory_hog/node_memory_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '120'
## specify the size as percent of total available memory (in percentage %)
## Default value "90%"
- name: MEMORY_PERCENTAGE
value: '90'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# Provide the LIB here
# Only litmus supported
- name: LIB
value: 'litmus'
# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/stress-ng:latest'
labels:
name: node-memory-hog

View File

@ -1,43 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-03-28T10:28:08Z
name: node-memory-hog
version: 0.1.2
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: node-memory-hog
categoryDescription: |
Kubernetes Node memory hog contains chaos to disrupt the state of Kubernetes resources. Experiments can inject a memory spike on a node where the application pod is scheduled.
- Memory hog on a particular node where the application deployment is available.
- After the test, the recovery should be manual for the application pod and node in case they are not in an appropriate state.
keywords:
- Kubernetes
- Memory
- State
- Node
platforms:
- GKE
- EKS
maturity: alpha
chaosType: infra
maintainers:
- name: Udit Gaurav
email: udit.gaurav@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/node_memory_hog
- name: Documentation
url: https://docs.litmuschaos.io/docs/node-memory-hog/
- name: Video
url:
icon:
- url: ""
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/node-memory-hog/experiment.yaml

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: node-memory-hog-sa
namespace: default
labels:
name: node-memory-hog-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: node-memory-hog-sa
labels:
name: node-memory-hog-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","jobs","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: node-memory-hog-sa
labels:
name: node-memory-hog-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: node-memory-hog-sa
subjects:
- kind: ServiceAccount
name: node-memory-hog-sa
namespace: default

View File

@ -1,38 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-chaos
namespace: default
spec:
# It can be true/false
annotationCheck: 'true'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
appinfo:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: pod-cpu-hog-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'
experiments:
- name: pod-cpu-hog
spec:
components:
env:
# Provide name of target container
# where chaos has to be injected
- name: TARGET_CONTAINER
value: 'nginx'
#number of cpu cores to be consumed
#verify the resources the app has been launched with
- name: CPU_CORES
value: '1'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds

View File

@ -1,62 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Injects cpu consumption on pods belonging to an app deployment
kind: ChaosExperiment
metadata:
name: pod-cpu-hog
version: 0.1.10
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_cpu_hog/pod_cpu_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: CPU_CORES
value: '1'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'litmus'
- name: LIB_IMAGE
value: 'litmuschaos/app-cpu-stress:latest'
labels:
name: pod-cpu-hog

View File

@ -1,42 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-01-07T10:28:08Z
name: pod-cpu-hog
version: 0.1.6
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: pod-cpu-hog
categoryDescription: |
Pod-CPU-Hog contains chaos to consume CPU resouces of specified containers in Kubernetes pods.
- Causes high CPU resource consumption utilizing one or more cores by triggering md5sum commands
- The application pod should be healthy once chaos is stopped. Expectation is that service-requests should be served despite chaos.
keywords:
- Kubernetes
- CPU
platforms:
- GKE
- Packet(Kubeadm)
- Minikube
- EKS
maturity: alpha
maintainers:
- name: ksatchit
email: karthik.s@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/pod_cpu_hog
- name: Documentation
url: https://docs.litmuschaos.io/docs/pod-cpu-hog/
- name: Video
url: https://www.youtube.com/watch?v=MBGSPmZKb2I
icon:
- base64data: ""
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/pod-cpu-hog/experiment.yaml

View File

@ -1,36 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pod-cpu-hog-sa
namespace: default
labels:
name: pod-cpu-hog-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: pod-cpu-hog-sa
namespace: default
labels:
name: pod-cpu-hog-sa
rules:
- apiGroups: ["","litmuschaos.io","batch"]
resources: ["pods","jobs","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: pod-cpu-hog-sa
namespace: default
labels:
name: pod-cpu-hog-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: pod-cpu-hog-sa
subjects:
- kind: ServiceAccount
name: pod-cpu-hog-sa
namespace: default

View File

@ -1,77 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Deletes a pod belonging to a deployment/statefulset/daemonset
kind: ChaosExperiment
metadata:
name: pod-delete
version: 0.1.16
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "deployments"
- "jobs"
- "pods"
- "pods/log"
- "events"
- "configmaps"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs:
- "get"
- "list"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_delete/pod_delete_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: '15'
# Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
# provide the kill count
- name: KILL_COUNT
value: ''
- name: FORCE
value: 'true'
- name: CHAOS_INTERVAL
value: '5'
- name: LIB_IMAGE
value: 'litmuschaos/pod-delete-helper:latest'
- name: LIB
value: 'litmus'
labels:
name: pod-delete

View File

@ -1,44 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-10-15T10:28:08Z
name: pod-delete
version: 0.1.11
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: pod-delete
categoryDescription: |
Pod delete contains chaos to disrupt state of kubernetes resources. Experiments can inject random pod delete failures against specified application.
- Causes (forced/graceful) pod failure of random replicas of an application deployment.
- Tests deployment sanity (replica availability & uninterrupted service) and recovery workflows of the application pod.
keywords:
- Kubernetes
- State
platforms:
- GKE
- Konvoy
- Packet(Kubeadm)
- Minikube
- EKS
maturity: alpha
maintainers:
- name: ksatchit
email: karthik.s@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/pod_delete
- name: Documentation
url: https://docs.litmuschaos.io/docs/pod-delete/
- name: Video
url: https://www.youtube.com/watch?v=X3JvY_58V9A
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/pod-delete/experiment.yaml

View File

@ -1,38 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pod-delete-sa
namespace: default
labels:
name: pod-delete-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: pod-delete-sa
labels:
name: pod-delete-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","deployments","pods/log","events","jobs","configmaps","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get","list"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: pod-delete-sa
labels:
name: pod-delete-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: pod-delete-sa
subjects:
- kind: ServiceAccount
name: pod-delete-sa
namespace: default

View File

@ -1,37 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pod-delete-sa
namespace: default
labels:
name: pod-delete-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: pod-delete-sa
namespace: default
labels:
name: pod-delete-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","deployments","pods/log","events","jobs","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: pod-delete-sa
namespace: default
labels:
name: pod-delete-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: pod-delete-sa
subjects:
- kind: ServiceAccount
name: pod-delete-sa
namespace: default

View File

@ -1,66 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Injects memory consumption on pods belonging to an app deployment
kind: ChaosExperiment
metadata:
name: pod-memory-hog
version: 0.1.2
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_memory_hog/pod_memory_hog_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
# Provide name of target container
# where chaos has to be injected
- name: TARGET_CONTAINER
value: ''
# Enter the amount of memory in megabytes to be consumed by the application pod
# default: 500 (Megabytes)
- name: MEMORY_CONSUMPTION
value: '500'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'litmus'
- name: LIB_IMAGE
value: 'litmuschaos/app-memory-stress:latest'
labels:
name: pod-memory-hog

View File

@ -1,42 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-04-10T10:28:08Z
name: pod-memory-hog
version: 0.1.1
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: pod-memory-hog
categoryDescription: |
Pod-Memory-Hog contains chaos to consume Memory resouces of specified containers in Kubernetes pods.
- Consumes the memory specified by executing a dd command against special files /dev/zero(input) and /dev/null(output)
- The application pod should be healthy once chaos is stopped. Expectation is that service-requests should be served despite chaos.
keywords:
- Kubernetes
- Memory
platforms:
- GKE
- Packet(Kubeadm)
- Minikube
- EKS
maturity: alpha
maintainers:
- name: Udit Gaurav
email: udit.gaurav@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/pod_memory_hog
- name: Documentation
url: https://docs.litmuschaos.io/docs/pod-memory-hog/
- name: Video
url:
icon:
- base64data: ""
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/pod-memory-hog/experiment.yaml

View File

@ -1,36 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pod-memory-hog-sa
namespace: default
labels:
name: pod-memory-hog-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: pod-memory-hog-sa
namespace: default
labels:
name: pod-memory-hog-sa
rules:
- apiGroups: ["","litmuschaos.io","batch"]
resources: ["pods","jobs","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: pod-memory-hog-sa
namespace: default
labels:
name: pod-memory-hog-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: pod-memory-hog-sa
subjects:
- kind: ServiceAccount
name: pod-memory-hog-sa
namespace: default

View File

@ -1,36 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-network-chaos
namespace: default
spec:
# It can be delete/retain
jobCleanUpPolicy: 'delete'
# It can be true/false
annotationCheck: 'true'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
monitoring: false
appinfo:
appns: 'default'
# FYI, To see app label, apply kubectl get pods --show-labels
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: pod-network-corruption-sa
experiments:
- name: pod-network-corruption
spec:
components:
env:
#Container name where chaos has to be injected
- name: TARGET_CONTAINER
value: 'nginx'
#Network interface inside target container
- name: NETWORK_INTERFACE
value: 'eth0'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds

View File

@ -1,66 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Inject network packet corruption into application pod
kind: ChaosExperiment
metadata:
name: pod-network-corruption
version: 0.1.9
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "delete"
- "list"
- "patch"
- "update"
- "get"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_network_corruption/pod_network_corruption_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
# provide lib image
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
- name: NETWORK_INTERFACE
value: 'eth0'
- name: NETWORK_PACKET_CORRUPTION_PERCENTAGE
value: '100' #in PERCENTAGE
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Time period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'pumba'
labels:
name: pod-network-corruption

View File

@ -1,43 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2020-01-07T10:28:08Z
name: pod-network-corruption
version: 0.1.8
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: pod-network-corruption
categoryDescription: |
Pod-network-corruption contains chaos to disrupt network connectivity to kubernetes pods. Experiments can inject percentage packet corruption on the app replica pods.
- Causes packet corruption of application replica by injecting packet corruption using pumba.
- The application pod should be healthy once chaos is stopped. Service-requests should be served (say, via alternate replicas) despite chaos.
keywords:
- Kubernetes
- Network
- Corruption
platforms:
- GKE
- Packet(Kubeadm)
- Minikube
- EKS
maturity: alpha
maintainers:
- name: LaumiH
email: laura-marie.henning@stud.h-da.de
minKubeVersion: 1.12.0
provider:
name: Laura-Marie Henning
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/pod_network_corruption
- name: Documentation
url: https://docs.litmuschaos.io/docs/pod-network-corruption/
- name: Video
url: https://www.youtube.com/watch?v=kSiLrIaILvs
icon:
- base64data: ""
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/pod-network-corruption/experiment.yaml

View File

@ -1,36 +0,0 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pod-network-corruption-sa
namespace: default
labels:
name: pod-network-corruption-sa
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: pod-network-corruption-sa
namespace: default
labels:
name: pod-network-corruption-sa
rules:
- apiGroups: ["","litmuschaos.io","batch"]
resources: ["pods","jobs","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
name: pod-network-corruption-sa
namespace: default
labels:
name: pod-network-corruption-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: pod-network-corruption-sa
subjects:
- kind: ServiceAccount
name: pod-network-corruption-sa
namespace: default

View File

@ -1,42 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
name: nginx-network-chaos
namespace: default
spec:
# It can be delete/retain
jobCleanUpPolicy: 'delete'
# It can be true/false
annotationCheck: 'true'
# It can be active/stop
engineState: 'active'
#ex. values: ns1:name=percona,ns2:run=nginx
auxiliaryAppInfo: ''
monitoring: false
appinfo:
appns: 'default'
# FYI, To see app label, apply kubectl get pods --show-labels
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: pod-network-latency-sa
experiments:
- name: pod-network-latency
spec:
components:
env:
#Container name where chaos has to be injected
- name: TARGET_CONTAINER
value: 'nginx'
#Network interface inside target container
- name: NETWORK_INTERFACE
value: 'eth0'
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
- name: NETWORK_LATENCY
value: '60000'
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds

View File

@ -1,66 +0,0 @@
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
Injects network latency on pods belonging to an app deployment
kind: ChaosExperiment
metadata:
name: pod-network-latency
version: 0.1.14
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
imagePullPolicy: Always
args:
- -c
- ansible-playbook ./experiments/generic/pod_network_latency/pod_network_latency_ansible_logic.yml -i /etc/ansible/hosts -vv; exit 0
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: 'default'
- name: TARGET_CONTAINER
value: ''
- name: NETWORK_INTERFACE
value: 'eth0'
# provide lib image
- name: LIB_IMAGE
value: 'gaiaadm/pumba:0.6.5'
- name: NETWORK_LATENCY
value: '60000' #in ms
- name: TOTAL_CHAOS_DURATION
value: '60' # in seconds
# Time period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''
- name: LIB
value: 'pumba'
labels:
name: pod-network-latency

View File

@ -1,42 +0,0 @@
apiVersion: litmuchaos.io/v1alpha1
kind: ChartServiceVersion
metadata:
createdAt: 2019-10-11T10:28:08Z
name: pod-network-latency
version: 0.1.11
annotations:
categories: Kubernetes
vendor: CNCF
support: https://slack.kubernetes.io/
spec:
displayName: pod-network-latency
categoryDescription: |
Pod-network-latency contains chaos to disrupt network connectivity of kubernetes pods. Experiments can inject random network delays on the app replica pods.
- Causes flaky access to application replica by injecting network delay using pumba.
- The application pod should be healthy once chaos is stopped. Service-requests should be served despite chaos.
keywords:
- Kubernetes
- Network
platforms:
- GKE
- Minikube
- Packet(Kubeadm)
- EKS
maturity: alpha
maintainers:
- name: ksatchit
email: karthik.s@mayadata.io
minKubeVersion: 1.12.0
provider:
name: Mayadata
links:
- name: Source Code
url: https://github.com/litmuschaos/litmus/tree/master/experiments/generic/pod_network_latency
- name: Documentation
url: https://docs.litmuschaos.io/docs/pod-network-latency/
- name: Video
url: https://www.youtube.com/watch?v=QsQZyXVCcCw
icon:
- base64data: ""
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/pod-network-latency/experiment.yaml

Some files were not shown because too many files have changed in this diff Show More