influxdb.deployment.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. apiVersion: extensions/v1beta1
  2. kind: Deployment
  3. metadata:
  4. annotations:
  5. deployment.kubernetes.io/revision: '1'
  6. labels:
  7. k8s-app: influxdb
  8. task: monitoring
  9. name: influxdb
  10. namespace: power-monitoring
  11. spec:
  12. progressDeadlineSeconds: 600
  13. replicas: 1
  14. revisionHistoryLimit: 10
  15. selector:
  16. matchLabels:
  17. k8s-app: influxdb
  18. task: monitoring
  19. strategy:
  20. rollingUpdate:
  21. maxSurge: 1
  22. maxUnavailable: 1
  23. type: RollingUpdate
  24. template:
  25. metadata:
  26. creationTimestamp: null
  27. labels:
  28. k8s-app: influxdb
  29. task: monitoring
  30. spec:
  31. containers:
  32. - image: k8s.gcr.io/heapster-influxdb-amd64:v1.3.3
  33. imagePullPolicy: IfNotPresent
  34. name: influxdb
  35. resources: {}
  36. terminationMessagePath: /dev/termination-log
  37. terminationMessagePolicy: File
  38. volumeMounts:
  39. - mountPath: /data
  40. name: influxdb-storage
  41. dnsPolicy: ClusterFirst
  42. restartPolicy: Always
  43. schedulerName: default-scheduler
  44. securityContext: {}
  45. terminationGracePeriodSeconds: 30
  46. volumes:
  47. - name: influxdb-storage
  48. persistentVolumeClaim:
  49. claimName: power-monitoring-influxdb