forked from monodot/hello-java-spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploymentconfig-eap-app-quay.yaml
97 lines (95 loc) · 2.69 KB
/
deploymentconfig-eap-app-quay.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
kind: DeploymentConfig
apiVersion: apps.openshift.io/v1
metadata:
name: eap-app-quay
namespace: jboss-eap-demo
labels:
application: eap-app-quay
template: eap73-basic-s2i
template.openshift.io/template-instance-owner: 6b0b3092-cac3-48a4-a6fa-9f6d78377958
xpaas: '7.3'
spec:
strategy:
type: Recreate
recreateParams:
timeoutSeconds: 600
resources: {}
activeDeadlineSeconds: 21600
triggers:
- type: ConfigChange
replicas: 1
revisionHistoryLimit: 10
test: false
selector:
deploymentConfig: eap-app-quay
template:
metadata:
name: eap-app-quay
creationTimestamp: null
labels:
application: eap-app-quay
deploymentConfig: eap-app-quay
spec:
containers:
- resources:
limits:
memory: 1536Mi
readinessProbe:
exec:
command:
- /bin/bash
- '-c'
- /opt/eap/bin/readinessProbe.sh
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
terminationMessagePath: /dev/termination-log
name: eap-app
livenessProbe:
exec:
command:
- /bin/bash
- '-c'
- /opt/eap/bin/livenessProbe.sh
initialDelaySeconds: 60
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
env:
- name: JGROUPS_PING_PROTOCOL
value: dns.DNS_PING
- name: OPENSHIFT_DNS_PING_SERVICE_NAME
value: eap-app-ping
- name: OPENSHIFT_DNS_PING_SERVICE_PORT
value: '8888'
- name: MQ_CLUSTER_PASSWORD
value: 5Jq5kVjb
- name: MQ_QUEUES
- name: MQ_TOPICS
- name: JGROUPS_CLUSTER_PASSWORD
value: NubuKVPe
- name: AUTO_DEPLOY_EXPLODED
value: 'false'
- name: ENABLE_GENERATE_DEFAULT_DATASOURCE
value: 'false'
ports:
- name: jolokia
containerPort: 8778
protocol: TCP
- name: http
containerPort: 8080
protocol: TCP
- name: ping
containerPort: 8888
protocol: TCP
imagePullPolicy: Always
terminationMessagePolicy: File
image: 'quay.io/dzilberm/jboss-eap:build-0.2.0'
restartPolicy: Always
terminationGracePeriodSeconds: 75
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler