Tullio Sebastiani and GitHub
c7e068a562
Hog scenario porting from arcaflow to native ( #748 )
...
* added new native hog scenario
* removed arcaflow dependency + legacy hog scenarios
* config update
* changed hog configuration structure + added average samples
* fix on cpu count
* removes tripledes warning
* changed selector format
* changed selector syntax
* number of nodes option
* documentation
* functional tests
* exception handling on hog deployment thread
2025-01-31 17:01:26 +01:00
Tullio Sebastiani and GitHub
d91172d9b2
Core Refactoring, Krkn Scenario Plugin API ( #694 )
...
* relocated shared libraries from `kraken` to `krkn` folder
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* AbstractScenarioPlugin and ScenarioPluginFactory
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* application_outage porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* arcaflow_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* managedcluster_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* network_chaos porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* node_actions porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* plugin_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pvc_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* service_disruption porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* service_hijacking porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* cluster_shut_down_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* syn_flood porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* time_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* zone_outages porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* ScenarioPluginFactory tests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* unit tests update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pod_scenarios and post actions deprecated
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
scenarios post_actions
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* funtests and config update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* run_krkn.py update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* utils porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* API Documentation
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* container_scenarios porting
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* funtest fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* document gif update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* Documentation + tests update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed example plugin
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* global renaming
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* config.yaml typos
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
typos
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* removed `plugin_scenarios` from NativScenarioPlugin class
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* pod_network_scenarios type added
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* documentation update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* krkn-lib update
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
typo
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-10-03 20:48:04 +02:00
Tullio Sebastiani and GitHub
e02c6d1287
SYN flood scenario ( #668 )
...
* scenario config file
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* syn flood plugin
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* run_krkn.py updaated
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* requirements.txt + documentation + config.yaml
* set node selector defaults to worker
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-07-29 15:31:37 -04:00
Naga Ravi Chaitanya Elluri
d6ce66160b
Remove podman-compose dependency
...
We are not using it in the krkn code base and removing it fixes one
of the license issues reported by FOSSA. This commit also removes
setting up dependencies using docker/podman compose as it not actively
maintained.
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-07-10 17:25:33 -04:00
Tullio Sebastiani and GitHub
a142f6e7a4
Service hijacking scenario ( #617 )
...
* WIP: service hijacking scenario
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* wip
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* error handling
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
adapted run_raken.py
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* restored config.yaml
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added funtest
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fixed test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fixed funtest
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
funtest fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
minor nit
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
added explicit curl method
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
push
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
restored all funtests
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
added mime type test
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fixed pipeline
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
commented unit
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
utf-8
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
test restored
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix test pipeline
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* documentation
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* krkn-lib 2.1.3
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
* added other funtests to main merge to collect coverage
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
---------
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-05-13 10:04:06 +02:00
Tullio Sebastiani and Naga Ravi Chaitanya Elluri
2610a7af67
added coverage badge and build badge to krkn
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
fix
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
nit
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
permission
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
if main
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-05-10 09:57:10 -04:00
Naga Ravi Chaitanya Elluri
7e2755cbb7
Remove container status badge
...
Quay is no longer exposing it correctly: https://quay.io/repository/krkn-chaos/krkn/status
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-03-19 15:33:25 -04:00
Naga Ravi Chaitanya Elluri and GitHub
d660542a40
Add CNCF trademark guidelines and update community members ( #560 )
...
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-01-24 14:13:53 -05:00
Naga Ravi Chaitanya Elluri
2e651798fa
Update redhat-chaos references with krkn-chaos
...
The tools are now hosted under https://github.com/krkn-chaos
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-01-24 13:40:39 -05:00
Naga Ravi Chaitanya Elluri
ce1ae78f1f
Update new references in the docs
...
This commit also updates the support matrix docs for the time scenarios.
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-01-17 10:47:49 -05:00
Naga Ravi Chaitanya Elluri
2525982c55
Rename repo name and update workflow
...
This commit also removes OpenShift references and updates source
in the dockerfile.
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-01-12 13:21:37 -05:00
Naga Ravi Chaitanya Elluri and GitHub
720488c159
Add new blogs to the useful resources list ( #546 )
...
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-01-10 15:45:36 -05:00
Naga Ravi Chaitanya Elluri
487a9f464c
Deprecate long term metrics collection
...
This will be added back soon via native prometheus integration.
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2024-01-10 15:08:58 -05:00
Mark McLoughlin and GitHub
c200f0774f
Fix some links in README.md ( #542 )
...
* Fix github.io link in README.md
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
* Fix krknChaos-hub link in README.md
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
* Fix kube-burner link in README.md
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
---------
Signed-off-by: Mark McLoughlin <markmc@redhat.com >
2024-01-09 11:49:52 -05:00
Tullio Sebastiani and Naga Ravi Chaitanya Elluri
f2d7f88cb8
Krkn lib prometheus client + kube_burner references removed
...
Signed-off-by: Tullio Sebastiani <tsebasti@redhat.com >
2024-01-09 10:43:32 -05:00
Naga Ravi Chaitanya Elluri and GitHub
ee34d08f41
Rename Krkn to KrknChaos ( #536 )
...
This change will help reflect the use case of the tool more evidently.
2023-12-18 16:40:34 -08:00
Tullio Sebastiani and GitHub
724068a978
Chaos recommender refactoring ( #516 )
...
* basic structure working
* config and options refactoring
nits and changes
* removed unused function with typo + fixed duration
* removed unused arguments
* minor fixes
2023-10-30 15:51:09 +01:00
Naga Ravi Chaitanya Elluri and GitHub
fc6344176b
Add pointer to the CNCF sandbox discussion ( #517 )
...
Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com >
2023-10-24 16:07:40 -04:00
Mudit Verma and GitHub
5953e53b46
chaos recommendation entry in README ( #510 )
2023-10-16 11:26:32 -04:00
Naga Ravi Chaitanya Elluri
eb2eabe029
Update community slack channel
2023-10-06 17:47:25 -04:00
Paige Rubendall and GitHub
f7f1b2dfb0
Service disruption ( #494 )
...
* adding service disruption
* fixing kil services
* service log changes
* remvoing extra logging
* adding daemon set
* adding service disruption name changes
* cerberus config back
* bad string
2023-10-06 12:51:10 -04:00
Pratyusha Thammineni and Naga Ravi Chaitanya Elluri
3a66f8a5a3
Added Docker image build workflow status badge
...
This Allows the users to track the docker-build action in README.md
without navigationg to Actions tab on Github
2023-09-11 15:16:28 -04:00
yogananth-subramanian and Naga Ravi Chaitanya Elluri
b2b5002f45
Pod egress network shapping Chaos scenario
...
The scenario introduces network latency, packet loss, and bandwidth restriction in the Pod's network interface.
The purpose of this scenario is to observe faults caused by random variations in the network.
Below example config applies egress traffic shaping to openshift console.
````
- id: pod_egress_shaping
config:
namespace: openshift-console # Required - Namespace of the pod to which filter need to be applied.
label_selector: 'component=ui' # Applies traffic shaping to access openshift console.
network_params:
latency: 500ms # Add 500ms latency to egress traffic from the pod.
````
2023-08-08 11:45:03 -04:00
Naga Ravi Chaitanya Elluri
0eb8d38596
Expand SLOs profile to cover monitoring for more alerts
...
This commit:
- Also sets appropriate severity to avoid false failures for the
test cases especially given that theses are monitored during the chaos
vs post chaos. Critical alerts are all monitored post chaos with few
monitored during the chaos that represent overall health and performance
of the service.
- Renames Alerts to SLOs validation
Metrics reference: https://github.com/cloud-bulldozer/kube-burner/blob/f09a492b1343079d5988290761145a0fff3fd23e/cmd/kube-burner/ocp-config/alerts.yml
2023-06-14 16:58:36 -04:00
Naga Ravi Chaitanya Elluri
572eeefaf4
Minor fixes
...
This commit fixes few typos and duplicate logs
2023-06-12 21:05:27 -04:00
Naga Ravi Chaitanya Elluri and GitHub
54ea98be9c
Add enhancements being planned as part of the roadmap ( #425 )
2023-05-24 14:36:59 -04:00
Naga Ravi Chaitanya Elluri
d9f4607aa6
Add blogs and update roadmap
2023-05-15 11:50:16 -04:00
Tullio Sebastiani and GitHub
83b811bee4
Arcaflow stress-ng hogs with parallelism support ( #418 )
...
* kubeconfig management for arcaflow + hogs scenario refactoring
* kubeconfig authentication parsing refactored to support arcaflow kubernetes deployer
* reimplemented all the hog scenarios to allow multiple parallel containers of the same scenarios
(eg. to stress two or more nodes in the same run simultaneously)
* updated documentation
* removed sysbench scenarios
* recovered cpu hogs
* updated requirements.txt
* updated config.yaml
* added gitleaks file for test fixtures
* imported sys and logging
* removed config_arcaflow.yaml
* updated readme
* refactored arcaflow documentation entrypoint
2023-05-15 09:45:16 -04:00
Tullio Sebastiani and GitHub
3627b5ba88
cpu hog scenario + basic arcaflow documentation ( #391 )
...
typo
typo
updated documentation
fixed workflow map issue
2023-03-15 16:52:20 +01:00
Paige Rubendall and Naga Ravi Chaitanya Elluri
93686ca736
new quay image reference
2023-01-31 17:21:45 -05:00
José Castillo Lema and GitHub
d76ab31155
OCM/ACM integration ( #370 )
...
* OCM support for ManagedClusters
* Updated docs and general adjustments
* Improved docs
* Improved docs2
* Removed io packet import
Signed-off-by: José Castillo Lema <josecastillolema@gmail.com >
* Removed time from imports
Signed-off-by: José Castillo Lema <josecastillolema@gmail.com >
* Removed duplicate logging import
Signed-off-by: José Castillo Lema <josecastillolema@gmail.com >
* Removed sys import
Signed-off-by: José Castillo Lema <josecastillolema@gmail.com >
* Update run.py
Signed-off-by: José Castillo Lema <josecastillolema@gmail.com >
Signed-off-by: José Castillo Lema <josecastillolema@gmail.com >
2023-01-10 08:58:17 -05:00
Sandro Bonazzola and Sandro Bonazzola
d0d289fb7c
update references to github organization
...
Updated references from chaos-kubox to redhat-chaos.
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 14:38:25 +02:00
Shreyas Anantha Ramaprasad and GitHub
9421a0c2c2
Added support for ingress traffic shaping ( #299 )
...
* Added plugin for ingress network traffic shaping
* Documentation changes
* Minor changes
* Documentation and formatting fixes
* Added trap to sleep infinity command running in containers
* Removed shell injection threat for modprobe commands
* Added docstrings to cerberus functions
* Added checks to prevent shell injection
* Bug fix
2022-09-02 07:54:11 +02:00
Sam Doran and GitHub
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
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
gsteeds and Sanja
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
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
Paige Rubendall and Naga 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
Sanja Bonic and GitHub
0bd543a339
Add build container step to PRs, fix typos ( #226 )
2022-04-12 18:46:26 +02: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
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
yogananth-subramanian and Naga 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 Rubendall and Naga Ravi Chaitanya Elluri
67b0f2de8c
Adding in image and link to demo
2021-12-06 19:41:38 -05:00
Paige Rubendall and GitHub
f17ad062cf
Ci tests ( #184 )
...
* Adding in working ci tests
* spacing in readme
2021-11-24 15:12:47 -05:00
Alejandro Gullón and GitHub
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
Paige Rubendall and Naga 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
Naga Ravi Chaitanya Elluri
cdf3bc03d2
Add support to block traffic to an application
...
This commit enables users to simulate a downtime of an application
by blocking the traffic for the specified duration to see how
it/other components communicating with it behave in case of downtime.
2021-10-01 10:13:40 -04:00