chore(kube-components): Adding new experiment category (#373)
Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
committed by
GitHub
parent
880304856d
commit
12918f7a82
39
charts/kube-components/k8-prometheus-pushgateway/engine.yaml
Normal file
39
charts/kube-components/k8-prometheus-pushgateway/engine.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
apiVersion: litmuschaos.io/v1alpha1
|
||||
kind: ChaosEngine
|
||||
metadata:
|
||||
name: k8-prometheus-pushgateway
|
||||
namespace: default
|
||||
spec:
|
||||
appinfo:
|
||||
appns: 'default'
|
||||
applabel: "k8s-app=prometheus-pushgateway"
|
||||
appkind: deployment
|
||||
annotationCheck: 'false'
|
||||
engineState: 'active'
|
||||
chaosServiceAccount: chaos-admin
|
||||
monitoring: false
|
||||
jobCleanUpPolicy: 'retain'
|
||||
experiments:
|
||||
- name: k8-pod-delete
|
||||
spec:
|
||||
components:
|
||||
env:
|
||||
# set chaos namespace, we assume you are using the addon-metricset-ns if not modify the below namespace
|
||||
- name: NAME_SPACE
|
||||
value: addon-metricset-ns
|
||||
# set chaos label name
|
||||
- name: LABEL_NAME
|
||||
value: k8s-app=prometheus-pushgateway
|
||||
# pod endpoint
|
||||
- name: APP_ENDPOINT
|
||||
value: 'localhost'
|
||||
- name: FILE
|
||||
value: 'pod-custom-kill-health.json'
|
||||
- name: REPORT
|
||||
value: 'false'
|
||||
- name: REPORT_ENDPOINT
|
||||
value: 'none'
|
||||
- name: TEST_NAMESPACE
|
||||
value: 'default'
|
||||
|
||||
|
Reference in New Issue
Block a user