---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: k8see-exporter
  namespace: k8see
  annotations:
    kubernetes.io/change-cause: Version 0.1.0
    configmap.reloader.stakater.com/reload: "cm-k8see-exporter"
spec:
  replicas: 1
  selector:
    matchLabels:
      app: k8see-exporter
  template:
    metadata:
      labels:
        app: k8see-exporter
    spec:
      serviceAccountName: k8see
      containers:
      - name: k8see-exporter
        image: sgaunet/k8see-exporter:0.1.0
        envFrom:
          - configMapRef:
                name: cm-k8see-exporter
        # command:
        #   - sleep
        #   - 1d
        # ports:
        # - containerPort: 8080
        # livenessProbe:
        #   tcpSocket:
        #     port: 8080
        #   initialDelaySeconds: 15
        #   periodSeconds: 20
        # readinessProbe:
        #   tcpSocket:
        #     port: 8080
        #   initialDelaySeconds: 15
        #   periodSeconds: 20
        # envFrom:
        #   - configMapRef:
        #       name: cm-k8see-exporter
        resources:
          requests:
            memory: "50Mi"
            cpu: "40m"
          limits:
            memory: "55Mi"
            cpu: "50m"
        imagePullPolicy: Always

