apiVersion: apps/v1
kind: Deployment
metadata:
  name: kubernetes-pod-chaos-monkey
  namespace: kube-system
spec:
  selector:
    matchLabels:
      app: kubernetes-pod-chaos-monkey
  replicas: 1
  template:
    metadata:
      labels:
        app: kubernetes-pod-chaos-monkey
    spec:
      containers:
      - name: kubernetes-pod-chaos-monkey
        image: mscarceller/k8s-pod-chaos-monkey:1.0.0
        imagePullPolicy: Always
        env:
        - name: TAG
          value: app
        - name: VALUE
          value: webchatbackend
        - name: NAMESPACE
          value: mscarceller
        - name: DELAY
          value: "15"