2017-04-14 17:39:40 +08:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: monitoring-influxdb
|
|
|
|
namespace: kube-system
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
task: monitoring
|
|
|
|
k8s-app: influxdb
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: influxdb
|
2018-04-11 15:37:57 +08:00
|
|
|
# image: gcr.io/google_containers/heapster-influxdb-amd64:v1.1.1
|
2018-05-04 19:48:54 +08:00
|
|
|
image: harbor-001.jimmysong.io/library/heapster-influxdb-amd64:v1.1.1
|
2017-04-14 17:39:40 +08:00
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /data
|
|
|
|
name: influxdb-storage
|
2018-04-11 15:37:57 +08:00
|
|
|
- mountPath: /etc/config.toml
|
2017-04-14 17:39:40 +08:00
|
|
|
name: influxdb-config
|
|
|
|
volumes:
|
|
|
|
- name: influxdb-storage
|
|
|
|
emptyDir: {}
|
|
|
|
- name: influxdb-config
|
|
|
|
configMap:
|
|
|
|
name: influxdb-config
|