xlgao-zju / argo-chaos-mesh-plugin Goto Github PK
View Code? Open in Web Editor NEWAn argo plugin for executing chaos mesh experiment.
License: Apache License 2.0
An argo plugin for executing chaos mesh experiment.
License: Apache License 2.0
I noticed that we have vendored the dependencies, but we do not use -mod=vendor
when compiling the binary, so I think maybe the vendor might be not necessary. ❤️
Hi, I got there from the chaos mesh monthly meetup.
It is an interesting project, and this is my first time knowing that we can build the plugin for Argo workflow.
Argo workflow + Chaos Mesh is also used in my team, but the way we implement is by using the resource template in Argo workflow directly.
example
- name: deploy-chaos
resource:
action: apply
manifest: |
kind: StressChaos
apiVersion: chaos-mesh.org/v1alpha1
metadata:
name: memory-stress-{{workflow.parameters.label-instance}}-{{workflow.parameters.label-component}}
namespace: default
spec:
selector:
namespaces:
- default
labelSelectors:
app.kubernetes.io/name: milvus
app.kubernetes.io/instance: {{workflow.parameters.label-instance}}
app.kubernetes.io/component: {{workflow.parameters.label-component}}
mode: all
value: "2"
stressors:
memory:
workers: {{workflow.parameters.memory-workers}}
size: {{workflow.parameters.memory-size}}
duration: {{workflow.parameters.chaos-duration}}
I roughly went through the demo and code, It seems that you wrap the manifest into a body, parse it, and then use a client to apply it.
It seems to make things more complicated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.