-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathopenshift-controller.yaml
More file actions
45 lines (45 loc) · 1.04 KB
/
Copy pathopenshift-controller.yaml
File metadata and controls
45 lines (45 loc) · 1.04 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
apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: openshift
name: openshift
spec:
replicas: 1
selector:
name: openshift
template:
metadata:
labels:
name: openshift
spec:
containers:
- args:
- start
- master
- --config=/config/master-config.yaml
image: "openshift/origin:v1.0.3"
name: origin
ports:
- containerPort: 8443
name: openshift
volumeMounts:
- mountPath: /config
name: config
readOnly: true
readinessProbe:
httpGet:
path: /healthz/ready
port: 8443
initialDelaySeconds: 15
timeoutSeconds: 1
livenessProbe:
httpGet:
path: /healthz
port: 8443
initialDelaySeconds: 15
timeoutSeconds: 1
volumes:
- name: config
secret:
secretName: openshift-config