apiVersion: litmuschaos.io/v1alpha1
kind: ChaosEngine
metadata:
  name: k8-prometheus-k8s-prometheus
  namespace: default
spec:
  appinfo:
    appns: 'default'
    applabel: "app=prometheus"
    appkind: deployment
  annotationCheck: 'false'
  engineState: 'active'
  chaosServiceAccount: chaos-admin
  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: prometheus
            # pod endpoint
            - name: APP_ENDPOINT
              value: 'localhost'
            - name: FILE
              value: 'pod-app-kill-health.json'
            - name: REPORT
              value: 'false'
            - name: REPORT_ENDPOINT
              value: 'none'
            - name: TEST_NAMESPACE
              value: 'default'


