28 lines
655 B
YAML
28 lines
655 B
YAML
|
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
|
||
|
image: sz-pg-oam-docker-hub-001.tendcloud.com/library/heapster-influxdb-amd64:v1.1.1
|
||
|
volumeMounts:
|
||
|
- mountPath: /data
|
||
|
name: influxdb-storage
|
||
|
- mountPath: /etc/
|
||
|
name: influxdb-config
|
||
|
volumes:
|
||
|
- name: influxdb-storage
|
||
|
emptyDir: {}
|
||
|
- name: influxdb-config
|
||
|
configMap:
|
||
|
name: influxdb-config
|