-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsvtconnector.yml
More file actions
41 lines (41 loc) · 1002 Bytes
/
Copy pathsvtconnector.yml
File metadata and controls
41 lines (41 loc) · 1002 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: svtconnector
namespace: svtprometheus
labels:
app: svtconnector
spec:
selector:
matchLabels:
app: svtconnector
template:
metadata:
labels:
app: svtconnector
spec:
containers:
- name: svtconnector
image: tb1378/svtconk8s
command: ["/usr/bin/python3"]
args: ["/opt/svt/svtpromconnector.py"]
volumeMounts:
- name: svtconnectorxml
mountPath: /opt/svt/data
volumes:
- name: svtconnectorxml
configMap:
name: svtdemo-xml # the correct name of the configmap needs to be added here.
---
apiVersion: v1
kind: Service
metadata:
name: svtconnector-service
namespace: svtprometheus
spec:
selector:
app: svtconnector
ports:
- port: 9091 # The Port of that the SimpliVity connector uses
targetPort: 9091
protocol: TCP