Commit Graph
171 Commits
Author SHA1 Message Date
gsteedsandSanja 89ff8b699f Fixed small mistake in contribute.md. 2022-05-04 09:35:50 +02:00
gsteedsandSanja 5c7a97d592 Fixed broken lines in docs. 2022-05-04 09:35:50 +02:00
Alejandro GullónandGitHub e8038dbbf2 PVC fill up scenario improvement (#233)
* improve check to validate if the file is created

* fixing style

* add new function to remove temp file in case of failure
2022-05-03 14:49:37 -04:00
9a087de8e9 Add Krkn logo (#230)
Credits: Thanks to Kaliq Ray for designing the logo.

Fixes https://github.com/cloud-bulldozer/krkn/issues/195

Co-authored-by: Sanja <86982064+sanjacodes@users.noreply.github.com>
2022-05-03 14:48:38 -04:00
SanjaandGitHub 58121868d6 Remove contributor-unfriendly linting rules (#236) 2022-05-02 20:17:06 +02:00
Paige RubendallandNaga Ravi Chaitanya Elluri eeac4ff9d3 need updated krkn-hub link in docker ci 2022-04-25 15:45:47 -04:00
Paige RubendallandNaga Ravi Chaitanya Elluri c1fb82e245 adding new quay repo 2022-04-25 10:25:51 -04:00
Naga Ravi Chaitanya Elluri dad4039f27 Add chaos testing guide github pages link
Chaos testing guide is hosted using github pages at https://cloud-bulldozer.github.io/krkn/.
This commit adds a pointer to the readme for reference.
2022-04-22 10:20:55 -04:00
Naga Ravi Chaitanya Elluri eceb846844 Add krkn reference in the readme 2022-04-21 16:02:50 -04:00
Alejandro GullónandGitHub d62e0b9154 Improve check to validate if the file is created for PVC scenario (#224)
* improve check to validate if the file is created

* fixing style
2022-04-13 12:15:39 +05:30
Sanja BonicandGitHub 0bd543a339 Add build container step to PRs, fix typos (#226) 2022-04-12 18:46:26 +02:00
Sanja BonicandNaga Ravi Chaitanya Elluri 0b596cdfb0 Revert "Bump Kubernetes python client version (#223)"
This reverts commit ccae2fba1e.
2022-04-12 11:37:29 -04:00
Naga Ravi Chaitanya ElluriandGitHub ccae2fba1e Bump Kubernetes python client version (#223)
This commit also fixes CVE-2021-29923 in order to improve the security
when running Kraken. For more details, see https://quay.io/repository/openshift-scale/kraken/manifest/sha256:c570794ff1edd58251497fad8eecf9d3ec536707f977f07ac6774849edab30d5?tab=vulnerabilities.
2022-04-12 17:23:45 +02:00
Sanja BonicandGitHub e2e3854a99 Update Dockerfile (#219)
* Update Dockerfile

* Change team name
2022-04-11 08:20:47 -04:00
Paige RubendallandNaga Ravi Chaitanya Elluri 9a8e750d5f adding rebase isntructions 2022-04-07 13:34:24 -04:00
yogananth subramanianandNaga Ravi Chaitanya Elluri d3765f3872 set jinja2 to 3.0.3 and werkzeug to 2.03
Since jinja2 3.1.0, escape need to be imported from MarkupSafe, which conflicts with flask1.x.x, so pining jinja2 to 3.0.3 to work with flask 1.x.x and latest version of werkzeug deprecates BaseResponse hence pining to 2.0.3.
2022-04-07 09:52:42 -04:00
Paige RubendallandNaga Ravi Chaitanya Elluri 7f60701444 adding alibaba node scenario start 2022-04-01 16:46:29 -04:00
yogananth subramanianandNaga Ravi Chaitanya Elluri be6d8fe6d5 Set itsdangerous package to 2.0.1
Since import of JSON is deprecated from itsdangerous version 2.1.0 [1], this patch fixes the version to 2.0.1.
By fixing to version, we can avoid the below import error.
Error "from itsdangerous import json as _json ImportError: cannot import name 'json' from 'itsdangerous'"

[1] https://itsdangerous.palletsprojects.com/en/2.1.x/changes/#version-2-1-0
2022-03-24 10:09:43 -04:00
Steven BarreandNaga Ravi Chaitanya Elluri 3691bba5af Update Litmus version in config_performance.yaml
v1.10 uses a different case for `Experimentstatus` than v1.13 and thus will always fail.
2022-03-21 09:06:39 -04:00
Naga Ravi Chaitanya Elluri 4f7616a150 Add pointers around alerts consistency
This commit also adds instructions around running kraken using venv
to avoid any dependencies conflicts.
2022-03-09 15:42:47 -05:00
Paige RubendallandNaga Ravi Chaitanya Elluri 8a90a4c8d0 Adding chaos testing examples within Red Hat/OpenShift 2022-03-08 15:26:28 -05:00
yogananth subramanianandNaga Ravi Chaitanya Elluri d07f956b20 Bump jinja2 version to use latest MarkupSafe
By default a jinja2 version less then 3.0.1 is installed, which raises error "cannot import name 'soft_unicode' from 'markupsafe'".
Using jinja2 3.0.1 or greater avoids this issue.
2022-03-02 15:21:29 -05:00
yogananth subramanianandGitHub 7836c95e0e Merge pull request #206 from agullon/fix_exec_command_pvc_scenario
Adding support to run commands on more pod containers
2022-03-02 21:16:55 +05:30
Alejandro Gullón f5c6410087 Adding support to run commands on more pod containers 2022-03-01 10:09:42 +01:00
Alejandro GullónandGitHub 0bf75e16cb Updating testing guide with few additions (#205)
* updating testing guide with few additions

* adressing typo issues
2022-02-24 08:34:27 -05:00
Naga Ravi Chaitanya Elluri 8c7b19d37d Add roadmap for Kraken
This commit adds a roadmap which walks through the features and enhancements that
are going to be added to Kraken in the immediate future in order to help users
understand where we need help as well as where the project is going.
2022-01-31 09:39:07 -05:00
Naga Ravi Chaitanya Elluri 3554ef505e Set theme jekyll-theme-cayman 2022-01-06 16:18:43 -05:00
Naga Ravi Chaitanya Elluri f10538abcb Add chaos testing guide
This commit:
- Adds information around test methodology that needs to be embraced and
  best practices that an OpenShift cluster, platform and applications running
  on top of it should take into account for best user experience, performance,
  resilience and reliability.
- Adds test environment recommendations as to how and where to run chaos tests.
2022-01-06 16:17:32 -05:00
Paige RubendallandGitHub 93fa7a8e14 Merge pull request #199 from paigerube14/namespace_fix_2
Adding check to be sure label or namespace is not none first
2021-12-20 10:33:37 -05:00
Paige Rubendall c6a22e2434 Adding check to be sure label or namesapce is not none first 2021-12-20 09:49:09 -05:00
yogananth-subramanianandNaga Ravi Chaitanya Elluri 50dd9873c1 Node egress traffic shaping
Patch adds a scenario to create variations in egress traffic of a Node's interface using the tc and Netem.
2021-12-16 12:54:53 -05:00
Paige RubendallandNaga Ravi Chaitanya Elluri 1776a9850f adding in replace of double space 2021-12-14 22:32:40 -05:00
Alejandro GullónandNaga Ravi Chaitanya Elluri 8af0d86c12 fix condition for null params from kraken-hub 2021-12-09 11:50:02 -05:00
Paige RubendallandNaga Ravi Chaitanya Elluri 01f1075eb3 Adding namespace or label selector error; delete_count option 2021-12-08 15:45:25 -05:00
Paige RubendallandNaga Ravi Chaitanya Elluri 67b0f2de8c Adding in image and link to demo 2021-12-06 19:41:38 -05:00
Alejandro GullónandGitHub e19f98fd70 changing input params checks (#190)
* changing input params checks

* small fix

* small fix
2021-12-01 12:40:46 -05:00
Pravin DsilvaandNaga Ravi Chaitanya Elluri 38302e7d95 Add timeout for Openstack node scenarios
Signed-off-by: Pravin Dsilva <pdsilva@redhat.com>
2021-11-25 20:56:59 -05:00
Paige RubendallandGitHub f17ad062cf Ci tests (#184)
* Adding in working ci tests

* spacing in readme
2021-11-24 15:12:47 -05:00
Alejandro GullónandGitHub baa812b7f0 Added new scenario to fill up a given volumen (#182)
* Added new scenario to fill up a given volumen

* fixing small issues and style

* adding PVC as input param instead of pod name

* small fix

* get container name and volumen name
replace oc with kubectl commands

* adding yaml file to create a pv, pvc and pod to run pvc_scenario

* adding support to match both string for describe command when looking for pod_name

* added support to find the pvc from a given pod

* small fix

* small fix
2021-11-24 12:18:49 -05:00
prubendaandNaga Ravi Chaitanya Elluri 8e0f4e63af Adding container for pod_exec in time scenarios 2021-11-23 11:33:49 -05:00
Paige RubendallandNaga Ravi Chaitanya Elluri 2bb4686585 adding check for if namesapce exists 2021-11-16 09:45:04 -05:00
Paige RubendallandNaga Ravi Chaitanya Elluri 5fc97b68c6 moving readme to show README overall on main page 2021-11-09 06:45:48 -08:00
Paige RubendallandNaga Ravi Chaitanya Elluri 4a37659416 Adding docker image build and push to github actions 2021-11-04 22:33:26 -04:00
Paige RubendallandNaga Ravi Chaitanya Elluri 0023d679f7 fixing killed container no reference issue 2021-11-03 10:06:13 -04:00
Naga Ravi Chaitanya Elluri f3bbc85dd5 Fix issue with matching labels
This commit fixes the issue with application outages scenario where
the pod-selector is not being mapped properly.
2021-10-29 10:45:46 -04:00
Naga Ravi Chaitanya Elluri 43b1e5b727 Remove item only when the list is not empty
This commit fixes the case where the fault injected containers take
longer time to recover as the current checks are bombing out if the
list is empty.
2021-10-28 12:12:45 -04:00
Paige RubendallandNaga Ravi Chaitanya Elluri 87aa9eef4d Adding multiple node names and instance count for label selectors 2021-10-26 13:44:28 -04:00
Naga Ravi Chaitanya Elluri 674eb74a75 Expose setting the signal in the config
This commit enables users to start Kraken to act as listener by setting
the signal to PAUSE in the config to get the cluster to a desired test or
run any setup before injecting chaos by setting the signal to RUN. This
helps in cases where we have test cases that need to coordinate the chaos
at a desired time depending on the state of the cluster/test run.
2021-10-26 09:05:25 -04:00
Paige RubendallandNaga Ravi Chaitanya Elluri 6b865fc573 Adding server set up for kraken 2021-10-25 08:58:46 -04:00
Naga Ravi Chaitanya Elluri d3f8e2dd35 Bake in azure cli needed for node scenarios
This commit also modifies the key members for folks to reach out in case
of any questions.
2021-10-19 16:31:18 -04:00