-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvrops_exporter.yaml
54 lines (51 loc) · 1.11 KB
/
vrops_exporter.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
kind: Service
apiVersion: v1
metadata:
name: vrops-exporter01-sc9
spec:
selector:
app: vrops-exporter01-sc9
ports:
- protocol: TCP
port: 8020
targetPort: 8020
type: ClusterIP
---
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: vrops-exporter01-sc9
labels:
app: vrops-exporter
spec:
replicas: 1
selector:
matchLabels:
app: vrops-exporter01-sc9
template:
metadata:
labels:
app: vrops-exporter01-sc9
spec:
containers:
- name: vrops-exporter01-sc9
image: ep3vinfra10006.dco.elmae:5001/vrops:latest
securityContext:
privileged: false
capabilities:
drop:
- CHOWN
- DAC_OVERRIDE
- FOWNER
- FSETID
- SETUID
- SETGID
- SYS_CHROOT
- MKNOD
ports:
- containerPort: 8020
dnsPolicy: Default
imagePullSecrets:
- name: regsecret
nodeSelector:
kubernetes.io/hostname: ep9vinfra200001