-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdeis-builder-rc.yaml
More file actions
65 lines (65 loc) · 1.77 KB
/
deis-builder-rc.yaml
File metadata and controls
65 lines (65 loc) · 1.77 KB
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
apiVersion: v1
kind: ReplicationController
metadata:
name: deis-builder
namespace: deis
labels:
heritage: deis
spec:
replicas: 1
selector:
app: deis-builder
template:
metadata:
labels:
app: deis-builder
spec:
containers:
- name: deis-builder
image: quay.io/deisci/builder:v2-beta
imagePullPolicy: Always
ports:
- containerPort: 2223
name: ssh
- containerPort: 8092
name: healthsrv
env:
- name: "HEALTH_SERVER_PORT"
value: "8092"
- name: "EXTERNAL_PORT"
value: "2223"
# This var needs to be passed so that the minio client (https://github.com/minio/mc) will work in Alpine linux
- name: "DOCKERIMAGE"
value: "1"
- name: "DEBUG"
value: "true"
- name: "POD_NAMESPACE"
valueFrom:
fieldRef:
fieldPath: metadata.namespace
livenessProbe:
httpGet:
path: /healthz
port: 8092
initialDelaySeconds: 2
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /healthz
port: 8092
initialDelaySeconds: 2
timeoutSeconds: 1
volumeMounts:
- name: minio-user
mountPath: /var/run/secrets/object/store
readOnly: true
- name: builder-key-auth
mountPath: /var/run/secrets/api/auth
readOnly: true
volumes:
- name: minio-user
secret:
secretName: minio-user
- name: builder-key-auth
secret:
secretName: builder-key-auth