forked from jiajunngjj/jmeter-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjmeter_influxdb_openshift_deploymentconfig_persistent.yaml
57 lines (56 loc) · 1.43 KB
/
jmeter_influxdb_openshift_deploymentconfig_persistent.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
apiVersion: v1
kind: DeploymentConfig
metadata:
creationTimestamp: null
labels:
metrics: influxdb
name: influxdb
spec:
replicas: 1
selector:
metrics: influxdb
template:
metadata:
creationTimestamp: null
labels:
metrics: influxdb
spec:
containers:
- env:
- name: INFLUXDB_UDP_ENABLED
value: "true"
- name: INFLUXDB_UDP_BIND_ADDRESS
value: :8087
- name: INFLUXDB_UDP_DATABASE
value: udp
image: influxdb
imagePullPolicy: Always
name: influxdb
ports:
- containerPort: 8086
protocol: TCP
- containerPort: 8087
protocol: UDP
- containerPort: 8083
protocol: TCP
volumeMounts:
- mountPath: /var/lib/influxdb
name: influxdb-data
dnsPolicy: ClusterFirst
restartPolicy: Always
volumes:
- name: influxdb-data
emptyDir: {}
volumeClaimTemplates:
- metadata:
name: datadir
labels:
app: influxdb-data
annotations:
volume.beta.kubernetes.io/storage-class: glusterfs
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi