* update(workflows): Updating k8Probe schema inside workflows Signed-off-by: shubhamchaudhary <shubham@chaosnative.com> * chore(chaosengine): Removed monitoring from all experiments & appinfo from infra experiments Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
35 lines
999 B
YAML
35 lines
999 B
YAML
apiVersion: litmuschaos.io/v1alpha1
|
|
kind: ChaosEngine
|
|
metadata:
|
|
name: nginx-network-chaos
|
|
namespace: default
|
|
spec:
|
|
# It can be delete/retain
|
|
jobCleanUpPolicy: 'delete'
|
|
# It can be true/false
|
|
annotationCheck: 'true'
|
|
# It can be active/stop
|
|
engineState: 'active'
|
|
#ex. values: ns1:name=percona,ns2:run=nginx
|
|
auxiliaryAppInfo: ''
|
|
appinfo:
|
|
appns: 'default'
|
|
# FYI, To see app label, apply kubectl get pods --show-labels
|
|
applabel: 'app=nginx'
|
|
appkind: 'deployment'
|
|
chaosServiceAccount: pod-network-corruption-sa
|
|
experiments:
|
|
- name: pod-network-corruption
|
|
spec:
|
|
components:
|
|
env:
|
|
#Container name where chaos has to be injected
|
|
- name: TARGET_CONTAINER
|
|
value: 'nginx'
|
|
|
|
#Network interface inside target container
|
|
- name: NETWORK_INTERFACE
|
|
value: 'eth0'
|
|
|
|
- name: TOTAL_CHAOS_DURATION
|
|
value: '60' # in seconds |