---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: monitoring-influxdb
  namespace: kube-system
  labels:
    app: k8s-dashboard
    svc: influxdb
spec:
  selector:
    matchLabels:
      app: k8s-dashboard
      svc: influxdb
  replicas: 1
  template:
    metadata:
      labels:
        app: k8s-dashboard
        svc: influxdb
    spec:
      containers:
      - name: influxdb
        image: k8s.gcr.io/heapster-influxdb-amd64:v1.3.3
        volumeMounts:
        - mountPath: /data
          name: influxdb-storage
      volumes:
      - name: influxdb-storage
        emptyDir: {}
      nodeSelector:
        "beta.kubernetes.io/instance-type": "t2.medium"
