Commit Graph
209 Commits
Author SHA1 Message Date
Sandro BonazzolaandNaga Ravi Chaitanya Elluri 8a68e1cc9b pycodestyle fixes: kraken/kubernetes/client.py
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
2022-09-01 12:32:52 -04:00
Shreyas Anantha RamaprasadandGitHub d5615ac470 Fixing parts of issue #185 for PVC scenario (#290)
* Created new file for dataclasses and replaced kubectl pvc cli calls

* Added checks for existence of pod/pvc

* Modified command to get pvc capacity

Removed redundant function call
2022-09-01 15:44:37 +02:00
Naga Ravi Chaitanya Elluri 5ab16baafa Bump release version 2022-08-25 16:45:47 -04:00
Naga Ravi Chaitanya Elluri 412d718985 Fix code alignment v1.0.1 2022-08-25 11:32:19 -04:00
Naga Ravi Chaitanya Elluri 11f469cb8e Update install sources to use the latest release 2022-08-24 15:34:42 -04:00
Naga Ravi Chaitanya Elluri 6c75d3dddb Add option to skip litmus installation
This commit adds an option for the user to pick whether to install
litmus or not depending on their use case. One use case is disconnected
environments where litmus is pre-installed insted of reaching out to the
internet.
v1.0.0
2022-08-23 14:09:10 -04:00
Paige RubendallandGitHub f7e27a215e Move plugin tests (#289)
* moving pytests

* adding tests folder not under CI
2022-08-19 09:23:37 -04:00
Naga Ravi Chaitanya ElluriandPaige Rubendall e680592762 Create prometheus token to use for OCP versions >=4.11
This commit adopts the code from https://github.com/redhat-chaos/cerberus/pull/176
to support using the existing/creating new token needed to query prometheus depending
on the OpenShift version in use.

Co-authored-by: Paige Rubendall <prubenda@redhat.com>
2022-08-16 08:07:28 -04:00
Shreyas Anantha RamaprasadandGitHub 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 DoranandGitHub 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'BrienandSanja Bonic bbde837360 Refactor node status function 2022-08-03 16:51:49 +02:00
Robert O'BrienandSanja Bonic 5d789e7d30 Refactor client watch 2022-08-03 16:51:49 +02:00
Robert O'BrienandSanja Bonic 69fc8e8d1b Add resource version to list node call 2022-08-03 16:51:49 +02:00
Robert O'BrienandSanja Bonic 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 BonicandNaga Ravi Chaitanya Elluri 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 RamaprasadandGitHub 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-redhatandGitHub 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ónandNaga Ravi Chaitanya Elluri 4522ab77b1 Updating commands to get used PVC capacity and allocate file 2022-06-19 18:43:01 -04:00
STARTXandGitHub 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
sanjacodesandNaga Ravi Chaitanya Elluri 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 RubendallandNaga Ravi Chaitanya Elluri 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
SanjaandNaga Ravi Chaitanya Elluri 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 BonicandSanja 4401f3689a Fixes #245: running docker-compose for most people 2022-05-18 09:46:04 +02:00
Paige RubendallandNaga Ravi Chaitanya Elluri 94909fca94 Updating unknown status for when cluster becomes disconnected 2022-05-09 10:00:22 -04:00
JanosandGitHub f632f6d7be Throwing exceptions in Kubernetes on failure (#248) 2022-05-09 13:12:39 +05:30
Janos BonicandNaga Ravi Chaitanya Elluri ade0969a69 Fixes incorrect command nesting in kube_burner 2022-05-06 10:21:02 -04:00
JanosandNaga Ravi Chaitanya Elluri a01fd70cc7 Workaround for paramiko/paramiko#2038 2022-05-06 09:24:44 -04:00
Adolfo AguirrezabalandGitHub 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 BonicandNaga Ravi Chaitanya Elluri 96dd08a0de Fix reusable workflows top-level reference issue 2022-05-04 16:31:22 -04:00
Robert O'BrienandSanja 849ea7851b rework node ready wait status 2022-05-04 21:15:27 +02:00
SanjaandGitHub 1dd3b836ee Remove 3rd party action and use reusable workflow (#235) 2022-05-04 14:40:32 +02:00
gsteedsandSanja 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
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