apiVersion: apps/v1
kind: Deployment
metadata:
  name: kubernetes-lifecycle-metrics
  namespace: kube-system
  labels:
    application: kubernetes-lifecycle-metrics
    version: master-1
spec:
  replicas: 1
  selector:
    matchLabels:
      application: kubernetes-lifecycle-metrics
  template:
    metadata:
      labels:
        application: kubernetes-lifecycle-metrics
        version: master-1
      annotations:
        kubernetes-log-watcher/scalyr-parser: '[{"container": "kubernetes-lifecycle-metrics", "parser": "json"}]'
    spec:
      priorityClassName: system-cluster-critical
      containers:
        - name: kubernetes-lifecycle-metrics
          image: "pierone.stups.zalan.do/teapot/kubernetes-lifecycle-metrics:master-1"
          ports:
            - containerPort: 9090
          resources:
            limits:
              cpu: 5m
              memory: 150Mi
            requests:
              cpu: 5m
              memory: 150Mi
          readinessProbe:
            httpGet:
              path: /healthz
              port: 9090
              scheme: HTTP

apiVersion: apps/v1
kind: Deployment
metadata:
  name: kubernetes-lifecycle-metrics
  namespace: kube-system
  labels:
    application: kubernetes-lifecycle-metrics
    version: master-1
spec:
  replicas: 1
  selector:
    matchLabels:
      application: kubernetes-lifecycle-metrics
  template:
    metadata:
      labels:
        application: kubernetes-lifecycle-metrics
        version: master-1
      annotations:
        kubernetes-log-watcher/scalyr-parser: '[{"container": "kubernetes-lifecycle-metrics", "parser": "system-json-escaped-json"}]'
    spec:
      priorityClassName: system-cluster-critical
      containers:
        - name: kubernetes-lifecycle-metrics
          image: "pierone.stups.zalan.do/teapot/kubernetes-lifecycle-metrics:master-1"
          ports:
            - containerPort: 9090
          resources:
            limits:
              cpu: 5m
              memory: 150Mi
            requests:
              cpu: 5m
              memory: 150Mi
          readinessProbe:
            httpGet:
              path: /healthz
              port: 9090
              scheme: HTTP

Change custom parser for kubernetes-lifecycle-metrics logs
Change custom parser for kubernetes-lifecycle-metrics logs

Signed-off-by: Mikkel Oscar Lyderik Larsen <81479e3d2d1e6902cb05f938ea9a734a092b1af3@zalando.de>
