-
Notifications
You must be signed in to change notification settings - Fork 3
/
k8_test.yaml
43 lines (42 loc) · 1.04 KB
/
k8_test.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
kind: Deployment
apiVersion: apps/v1
metadata:
name: dqm2test
namespace: default
labels:
app: dqm2test
spec:
selector:
matchLabels:
app: dqm2test
replicas: 1
template: # This is the pod template
metadata:
labels:
app: dqm2test
spec:
containers:
- name: dqmsquare-mirror
image: registry.cern.ch/cmsweb/dqmsquare_mirror #imagetag
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]
resources:
requests:
memory: "2Gi"
cpu: "400m"
limits:
memory: "4Gi"
cpu: "800m"
volumeMounts:
- mountPath: /cephfs/testbed
name: dqmsquare-mirror-pvc-testbed
- name: robot-secrets
mountPath: /etc/robots
volumes:
- name: dqmsquare-mirror-pvc-testbed
persistentVolumeClaim:
claimName: dqmsquare-mirror-pvc-testbed
readOnly: false
- name: robot-secrets
secret:
secretName: robot-secrets