751 Commits

Author SHA1 Message Date
Shreyas Anantha Ramaprasad
08deae63dd Added VMware Node Scenarios (#285)
* Added VMware node scenarios

* Made vmware plugin independent of Krkn

* Revert changes made to node status watch

* Fixed minor documentation changes
2022-08-15 23:35:16 +02:00
Sam Doran
f4bc30d2a1 Update README (#284)
* Update link to documentation

* Update container status badge and link

Use the correct link to the status badge on Quay.
2022-08-07 02:20:32 -04:00
Robert O'Brien
bbde837360 Refactor node status function 2022-08-03 16:51:49 +02:00
Robert O'Brien
5d789e7d30 Refactor client watch 2022-08-03 16:51:49 +02:00
Robert O'Brien
69fc8e8d1b Add resource version to list node call 2022-08-03 16:51:49 +02:00
Robert O'Brien
77f53b3a23 Rework node status to use watches 2022-08-03 16:51:49 +02:00
Janos Bonic
ccd902565e Fixes #265: Replace Powerfulseal and introduce Wolkenwalze SDK for plugin system 2022-08-02 16:25:03 +01:00
Naga Ravi Chaitanya Elluri
da117ad9d9 Switch to python3.9 2022-07-22 16:56:47 -04:00
Janos Bonic
ca7bc3f67b Removing cryptography pinning
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2022-07-20 13:31:56 -04:00
Shreyas Anantha Ramaprasad
b01d9895fb Continue fixing small parts of issue #185 (#277)
* Added dataclasses to store info retrieved from k8 client calls

* Replaced few invoke commands in common_litmus

* Minor Documentation Changes

* Removed unused import and redundant variable

Signed-off-by: Shreyas Anantha Ramaprasad <ars.shreyas@gmail.com>
2022-07-19 14:57:17 +02:00
Naga Ravi Chaitanya Elluri
bbb66aa322 Fix source to install azure-cli
This commit updates Krkn source Dockerfile to copy azure client binary
from the official azure-cli image instead of using package manager to
avoid dependency issues.
2022-07-18 16:21:29 -04:00
harshil-redhat
97d4f51f74 Fix installation docs with updated git repo (#270)
Signed-off-by: harshil-redhat <72143431+harshil-redhat@users.noreply.github.com>
2022-06-23 19:29:36 -04:00
Alejandro Gullón
4522ab77b1 Updating commands to get used PVC capacity and allocate file 2022-06-19 18:43:01 -04:00
STARTX
f4bfc08186 debug error message when network interface not found (#268)
Debug error occured when giving a bad network interface list

Traceback (most recent call last):
  File "/root/kraken/run_kraken.py", line 318, in <module>
    main(options.cfg)
  File "/root/kraken/run_kraken.py", line 239, in main
    network_chaos.run(scenarios_list, config, wait_duration)
  File "/root/kraken/kraken/network_chaos/actions.py", line 39, in run
    test_interface = verify_interface(test_interface, nodelst, pod_template)
  File "/root/kraken/kraken/network_chaos/actions.py", line 111, in verify_interface
    "Interface %s not found in node %s interface list %s" % (interface, nodelst[pod_index]),
TypeError: not enough arguments for format string

Signed-off-by: STARTX <clarue@startx.fr>
2022-06-14 18:33:59 -04:00
sanjacodes
9810649c62 Clean up and start figuring out CI failures 2022-06-02 09:12:19 -05:00
Naga Ravi Chaitanya Elluri
9208f39e06 Add support to run on Kubernetes
This commit:
- Leverages distribution flag in the config set by the user to skip
  things not supported on OpenShift to be able to run scenarios on
  Kubernetes.
- Adds sample config and scenario files that work on Kubernetes.
2022-06-01 07:27:06 -05:00
Paige Rubendall
23d9a26f52 adding namespace deletion using kuberenetes python client 2022-05-26 14:24:36 -05:00
Naga Ravi Chaitanya Elluri
90e1f20d50 Add support for setting performance-dashboards on Kubernetes 2022-05-25 09:45:39 -04:00
Sanja
e5fb639aa0 Remove pre-commit contributor annoyance 2022-05-18 14:13:01 -04:00
Sanja Bonic
f52f16ade8 Starts fixing small parts of issue #185 2022-05-18 20:01:59 +02:00
Janos Bonic
4401f3689a Fixes #245: running docker-compose for most people 2022-05-18 09:46:04 +02:00
Paige Rubendall
94909fca94 Updating unknown status for when cluster becomes disconnected 2022-05-09 10:00:22 -04:00
Janos
f632f6d7be Throwing exceptions in Kubernetes on failure (#248) 2022-05-09 13:12:39 +05:30
Janos Bonic
ade0969a69 Fixes incorrect command nesting in kube_burner 2022-05-06 10:21:02 -04:00
Janos
a01fd70cc7 Workaround for paramiko/paramiko#2038 2022-05-06 09:24:44 -04:00
Adolfo Aguirrezabal
3adf5847b2 Add option to avoid litmus uninstall before chaos run (#242)
* Adds option to avoid litmus uninstall before chaos run

* Add new option to the config files
2022-05-05 09:02:25 -04:00
Sanja Bonic
96dd08a0de Fix reusable workflows top-level reference issue 2022-05-04 16:31:22 -04:00
Robert O'Brien
849ea7851b rework node ready wait status 2022-05-04 21:15:27 +02:00
Sanja
1dd3b836ee Remove 3rd party action and use reusable workflow (#235) 2022-05-04 14:40:32 +02:00
gsteeds
6280a39250 Fixed links within docs, as well as read through docs files and corrected some spelling and grammer issues. 2022-05-04 09:35:50 +02:00
gsteeds
89ff8b699f Fixed small mistake in contribute.md. 2022-05-04 09:35:50 +02:00
gsteeds
5c7a97d592 Fixed broken lines in docs. 2022-05-04 09:35:50 +02:00
Alejandro Gullón
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
Naga Ravi Chaitanya Elluri
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
Sanja
58121868d6 Remove contributor-unfriendly linting rules (#236) 2022-05-02 20:17:06 +02:00
Paige Rubendall
eeac4ff9d3 need updated krkn-hub link in docker ci 2022-04-25 15:45:47 -04:00
Paige Rubendall
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ón
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 Bonic
0bd543a339 Add build container step to PRs, fix typos (#226) 2022-04-12 18:46:26 +02:00
Sanja Bonic
0b596cdfb0 Revert "Bump Kubernetes python client version (#223)"
This reverts commit ccae2fba1e.
2022-04-12 11:37:29 -04:00
Naga Ravi Chaitanya Elluri
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 Bonic
e2e3854a99 Update Dockerfile (#219)
* Update Dockerfile

* Change team name
2022-04-11 08:20:47 -04:00
Paige Rubendall
9a8e750d5f adding rebase isntructions 2022-04-07 13:34:24 -04:00
yogananth subramanian
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 Rubendall
7f60701444 adding alibaba node scenario start 2022-04-01 16:46:29 -04:00
yogananth subramanian
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 Barre
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