This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion": "litmuschaos.io/v1alpha1", | |
"kind": "ChaosEngine", | |
"spec": { | |
"engineState": "active" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion": "litmuschaos.io/v1alpha1", | |
"kind": "ChaosEngine", | |
"metadata": { | |
"name": "nginx-chaos", | |
"namespace": "default" | |
}, | |
"spec": { | |
"appinfo": { | |
"appns": "default", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# chaosengine.yaml | |
apiVersion: litmuschaos.io/v1alpha1 | |
kind: ChaosEngine | |
metadata: | |
name: moac-reconcile-chaos | |
namespace: mayastor | |
spec: | |
jobCleanUpPolicy: 'delete' | |
annotationCheck: 'true' | |
engineState: 'active' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: litmuschaos.io/v1alpha1 | |
kind: ChaosResult | |
metadata: | |
labels: | |
chaosUID: 340dd567-9a74-11ea-9a71-42010a80012e | |
type: ChaosResult | |
name: nginx-chaos-pod-delete-29-04-2020 | |
namespace: default | |
spec: | |
engine: nginx-chaos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: litmuschaos.io/v1alpha1 | |
kind: ChaosEngine | |
metadata: | |
name: nginx-chaos | |
namespace: default | |
spec: | |
appinfo: | |
appns: 'default' | |
applabel: 'run=nginx' | |
appkind: 'deployment' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rahul@rahul-ThinkPad-E490:~$ kubectl apply -f chaos-engine.yaml | |
Error from server (BadRequest): error when creating "chaos-engine.yaml": | |
admission webhook "admission-controller.litmuschaos.io" denied the request: | |
unable to find deployment specified in ChaosEngine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: litmuschaos.io/v1alpha1 | |
description: | |
message: | | |
Deletes a pod belonging to a deployment/statefulset/daemonset | |
kind: ChaosExperiment | |
metadata: | |
name: pod-delete | |
version: 0.1.0 | |
spec: | |
definition: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: litmuschaos.io/v1alpha1 | |
kind: ChaosSchedule | |
metadata: | |
name: schedule-nginx | |
spec: | |
schedule: | |
type: "repeat" | |
executionTime: "2020-05-11T20:30:00Z" # type=once | |
startTime: "2020-05-12T05:47:00Z" # type=repeat (current UTC Time) | |
endTime: "2020-05-12T05:52:00Z" # type=repeat (desired UTC Time) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: litmuschaos.io/v1alpha1 | |
description: | |
message: | | |
Deletes a pod belonging to a deployment/statefulset/daemonset | |
kind: ChaosExperiment | |
metadata: | |
labels: | |
helm.sh/chart: k8sChaos-0.1.0 | |
litmuschaos.io/instance: dealing-butterfly | |
litmuschaos.io/name: k8sChaos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: litmuschaos.io/v1alpha1 | |
kind: ChaosEngine | |
metadata: | |
name: engine-nginx | |
spec: | |
appinfo: | |
appns: default | |
applabel: "app=nginx" | |
experiments: | |
- name: pod-delete |
NewerOlder