-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathipedworker.yaml
114 lines (114 loc) · 2.9 KB
/
ipedworker.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: ipedworker-daemon
namespace: default
spec:
revisionHistoryLimit: 10
selector:
matchLabels:
app: ipedworker
template:
metadata:
creationTimestamp: null
labels:
app: ipedworker
version: 2.3.2-3.15.6
spec:
containers:
- image: 192.168.2.191:5001/ipeddocker/worker-go:2.3.2-3.15.6
imagePullPolicy: IfNotPresent
name: ipedworker
ports:
- containerPort: 80
hostPort: 10080
protocol: TCP
resources:
limits:
cpu: "16"
memory: 64Gi
requests:
cpu: "16"
memory: 64Gi
readinessProbe:
httpGet:
path: /readiness
port: 80
initialDelaySeconds: 20
timeoutSeconds: 5
livenessProbe:
# an http probe
httpGet:
path: /healthz
port: 80
initialDelaySeconds: 60
timeoutSeconds: 5
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: IPEDJAR
value: /root/IPED/iped/iped.jar
- name: LOCK_URL
value: http://$(LOCKER_SERVICE_HOST):$(LOCKER_SERVICE_PORT)
- name: NOTIFY_URL
value: http://$(MONGO_NOTIFIER_SERVICE_HOST):$(MONGO_NOTIFIER_SERVICE_PORT)
- name: WATCH_URL
value: http://$(MONGO_WATCHER_SERVICE_HOST):$(MONGO_WATCHER_SERVICE_PORT)
volumeMounts:
- mountPath: /mnt/ipedtmp
name: ipedtmp
- mountPath: /mnt/cloud/operacoes
name: operacoes
- mountPath: /operacoes
name: operacoes
- mountPath: /mnt/led
name: led
- mountPath: /mnt/kff
name: kff
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /mnt/ipedtmp/
type: Directory
name: ipedtmp
- cephfs:
monitors:
- 192.168.2.42:6789
user: admin
secretRef:
name: ceph-secret
path: /operacoes/
name: operacoes
- cephfs:
monitors:
- 192.168.2.42:6789
user: admin
secretRef:
name: ceph-secret
path: /led/V1.25.01
name: led
- cephfs:
monitors:
- 192.168.2.42:6789
user: admin
secretRef:
name: ceph-secret
path: /kff/iped-kff-1.2
name: kff
templateGeneration: 1
updateStrategy:
rollingUpdate:
maxUnavailable: 1
type: OnDelete
status:
currentNumberScheduled: 6
desiredNumberScheduled: 6
numberMisscheduled: 0
numberReady: 0
numberUnavailable: 6
observedGeneration: 1
updatedNumberScheduled: 6