Comments (7)
Just to confirm no CHAOSENGINE
env var set:
litmus:litmus-experiment okteto> env | grep CHAOS
CHAOS_NAMESPACE=litmus
TOTAL_CHAOS_DURATION=300
CHAOS_SERVICE_ACCOUNT=scheduler
from litmus-go.
Suppose needs a fix. Hope to get back on this soon!
from litmus-go.
Hi @damienomurchu - thanks for using the dev guide (we also have some context here, if you'd like - a bit stale but the theory holds).
The idea with Okteto is to provide a dev environment in the cluster. We are launching a dummy/test deployment (test.yaml) with all the actual experiment dependencies built-in (ENVs, configmaps, secrets etc.,) - with the test image being replaced by the okteto dev container upon doing okteto up
- from which the experiment can be launched via the commands (followed by code-changes/re-run until expected behavior)
At this point we can actually go ahead w/ the PR on litmus-go repository.
Having said that the next steps (which will aid in the experiment being shown up on the chaoshub and provide more validation are provided below:
- create chaosexperiment CR (generated as part of the litmus-sdk command / but can be constructed based on other examples)
- construct/use the rbac (you might have this already from the devtest period using okteto) for providing it in the .spec.chaosServiceAccount in the chaosengine.
- create chaosengine CR (needs to be manually constructed, again based on other examples).
Once these artifacts are available you can create the chaosengine resource in the desired ns to launch chaos-runner and az-experiment pod (which injects the chaos)
from litmus-go.
Thanks @ksatchit - that's great, will review what you added and linked 👍
from litmus-go.
Thanks. Having said that -- we should ideally not see FATAL[2020-12-08T16:01:12Z] Unable to initialise probes details from chaosengine, err: Unable to Get the chaosengine, err: resource name may not be empty exit status 1
-- when doing the go run experiment.go
step. (unless you have a CHAOSENGINE env).
cc: @ispeakc0de thoughts?
from litmus-go.
Suppose needs a fix. Hope to get back on this soon!
Thanks @ispeakc0de & @ksatchit for the fix!
I had been working around it by disabling the error checking around the probe and chaosengine, but will rebase against the latest master now its been patched 👍
from litmus-go.
Fixed by #235
Has been added to scaffold: #237
from litmus-go.
Related Issues (20)
- Add missing Jitter ENV input for Pod Network Chaos experiments HOT 2
- Add Status Logs to GCP experiments
- kubelet-service-kill experiment fails HOT 1
- pod-network-loss: cleanup fails because target pod has been restarted HOT 5
- pod cpu hog experiment fails due to litmus helper cgroup error. HOT 1
- Security vulnerabilities found on golang:1.17
- FEATURE - Add resource name filters inside the k8s probe
- Pod HTTP Status Code not working with Istio HOT 3
- Some questions for file experiment.go HOT 1
- PRISMA-2022-0164: Update github.com/aws/aws-sdk-go dependency to at least v1.40.27
- Capturing pod-fio-stress experiment metrics HOT 1
- DEFAULT_HEATTH_CHECK tunable does not disable all default verifications of AUTs pods. HOT 1
- Change the experiments "pod delete" and "pod Autoscaler" to support to Namespace dynamically HOT 2
- Node drain disruption not reverted after "kubectl drain" timeout
- Log all iterations of the probe for onchaos and continuous modes configured via verbosity flag HOT 1
- Litmus does not consider appKind when filtering the target pod for an experiment
- Add support for ALL for TARGET_CONTAINER for parallel executions
- CPU Hog Exec - is not terminating appropriately for certain target containers as intended HOT 1
- Fixes Vulnerabilities on promql and crictl binaries used inside the experiment image.
- pod-delete - TARGET_SELECTION_ERROR with custom parent Kind
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 litmus-go.