-
Notifications
You must be signed in to change notification settings - Fork 7
/
rucioTracer.yaml
59 lines (59 loc) · 1.25 KB
/
rucioTracer.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
---
kind: ConfigMap
apiVersion: v1
metadata:
name: rucio-tracer
labels:
app: rucio-tracer
namespace: rucio
---
kind: Deployment
apiVersion: apps/v1
metadata:
labels:
app: rucio-tracer
name: rucio-tracer
namespace: rucio
spec:
selector:
matchLabels:
app: rucio-tracer
replicas: 1 #PROD# 3
template:
metadata:
labels:
app: rucio-tracer
env: k8s #k8s#
spec:
containers:
- image: yuyiguo/rucio-tracers:0.1 #imagetag
name: rucio-tracer
imagePullPolicy: Always
resources:
requests:
memory: "100Mi"
cpu: "200m"
limits:
memory: "3Gi"
cpu: "4000m"
command:
# - /data/rucio-tracer
# - -config
# - /etc/secrets/config.json
# - -sitemap
# - /etc/secrets/sitemap.json
- /bin/sh
- /data/run/run.sh
volumeMounts:
- name: secrets
mountPath: /etc/secrets
readOnly: true
#PROD# - name: logs-cephfs
#PROD# mountPath: /data/logs
volumes:
- name: secrets
secret:
secretName: rucio-tracer-secrets
#PROD#- name: logs-cephfs
#PROD# persistentVolumeClaim:
#PROD# claimName: logs-cephfs-claim-rucio