-
Notifications
You must be signed in to change notification settings - Fork 14
/
htcondor-schedd-deployment.yaml
45 lines (45 loc) · 1.1 KB
/
htcondor-schedd-deployment.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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: htcondor-schedd
name: htcondor-schedd
spec:
replicas: 1
template:
metadata:
labels:
app: htcondor-schedd
spec:
containers:
- name: htcondor-schedd
image: alahiff/htcondor-schedd:latest
resources:
requests:
memory: "1.0Gi"
cpu: "1000m"
limits:
memory: "1.0Gi"
cpu: "1000m"
env:
- name: CONDOR_HOST
value: "htcondor-central-manager"
- name: SEC_PASSWORD_FILE
value: "/etc/condor/pool_password/password"
volumeMounts:
- name: pool-password
mountPath: /etc/condor/pool_password
ports:
- containerPort: 9618
protocol: TCP
livenessProbe:
exec:
command:
- /usr/local/bin/htcondor-schedd-liveness
initialDelaySeconds: 10
periodSeconds: 30
volumes:
- name: pool-password
secret:
defaultMode: 0600
secretName: htcondor-pool-password