Comments (4)
Hi @paigerube14 can we get your thoughts on this one?
from krkn.
Are you able to post the config file you are using?
It seems like it's not trying to execute your scenario. Even if you are running the pod scenario and no pods match you would be getting output like the following; not what you are seeing so I am a little confused.
2021-04-13 10:33:10,001 [INFO] Executing scenarios for iteration 0
2021-04-13 10:33:14 INFO __main__ verbosity: None; log level: INFO; handler level: INFO
2021-04-13 10:33:14 INFO __main__ Creating kubernetes client with config /Users/prubenda/.kube/config from --kubeconfig flag
2021-04-13 10:33:14 INFO k8s_client Initializing with config: /Users/prubenda/.kube/config
2021-04-13 10:33:14 INFO __main__ No cloud driver - some functionality disabled
2021-04-13 10:33:14 INFO __main__ Using stdout metrics collector
2021-04-13 10:33:14 INFO __main__ NOT starting the UI server
2021-04-13 10:33:14 INFO __main__ STARTING AUTONOMOUS MODE
2021-04-13 10:33:17 INFO scenario.delete openshif Starting scenario 'delete openshift-apiserver pods' (2 steps)
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matching 'labels' {'labels': {'namespace': 'openshift-apiserver', 'selector': 'app=openshift-apiserver'}}
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matched 0 pods for selector app=openshift-apiserver in namespace openshift-apiserver
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Initial set length: 0
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matching 'labels' {'labels': {'namespace': 'openshift-apiserver', 'selector': 'app=openshift-apiserver'}}
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matched 0 pods for selector app=openshift-apiserver in namespace openshift-apiserver
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Initial set length: 0
2021-04-13 10:33:17 INFO scenario.delete openshif Scenario finished
2021-04-13 10:33:17 INFO policy_runner All done here!
from krkn.
Here's the Kraken config.yaml
file:
kraken:
kubeconfig_path: /root/.kube/config # Path to kubeconfig
exit_on_failure: False # Exit when a post action scenario fails
litmus_version: v1.10.0 # Litmus version to install
litmus_uninstall: False # If you want to uninstall litmus if failure
chaos_scenarios: # List of policies/chaos scenarios to load
- pod_scenarios: # List of chaos pod scenarios to load
- - scenarios/openshift-apiserver.yml
cerberus:
cerberus_enabled: False # Enable it when cerberus is previously installed
cerberus_url: # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal
performance_monitoring:
deploy_dashboards: False # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift
repo: "https://github.com/cloud-bulldozer/performance-dashboards.git"
tunings:
wait_duration: 60 # Duration to wait between each chaos scenario
iterations: 1 # Number of times to execute the scenarios
daemon_mode: True # Iterations are set to infinity which means that the kraken will cause chaos forever
I should mention that we received a similar output when we used the default config.yaml
as well without the node scenarios.
Right now we are only using the openshift-apiserver.yml
scenario and we are currently using the default version of that file. Are there any extra steps that aren't listed in the README KubeApp section that we need to perform?
The output I posted in the original comment is from the pod log of the kraken deployment on the ocp console.
from krkn.
Fixed by #86
from krkn.
Related Issues (20)
- Container Scenarios - update example/docs to list all usable keys
- Centralized storage for chaos experiments artifacts HOT 3
- Support adding load + multiple chaos scenarios injection in parallel
- Attempt to run a container scenario for api while count is bigger than 1 results in crash HOT 1
- Attempt to kill a single instance of etcd on SNO results in crash since the cluster is non-responsive while the pod reconciles. HOT 1
- Ability to provide SLO profile via http
- Test failing but not failing action
- Hog scenarios should accept node-selector without a value
- Cannot run Kraken Dockerized version
- Capture Alerts triggered as part of telemetry HOT 3
- SLO validation via prometheus metrics profile HOT 1
- Kraken regex openshift kill pod fails for statefulset pods HOT 2
- [Docs] Switch references to Kubernetes
- K8S/OCP functionality split
- [Chaos-recommender] Expose profiling thresholds HOT 1
- [Chaos-recommender] Output recommendations in json HOT 1
- [Chaos-recommender] Accept list of namespaces/labels to profile HOT 1
- [chaos-recommender] Consider node level resource usage for app with no limits HOT 1
- [chaos-recommender] Support pandas > 2.0.0
- Chaos Recommender util README points to a Python Version which might have installation issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krkn.