-
Notifications
You must be signed in to change notification settings - Fork 21
/
lra-coordinator.yaml
111 lines (111 loc) · 2.48 KB
/
lra-coordinator.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Service
metadata:
labels:
app: lra-coordinator
template: lra-coordinator
name: lra-coordinator
spec:
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: lra-coordinator
deploymentconfig: lra-coordinator
type: ClusterIP
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app: lra-coordinator
template: lra-coordinator
name: lra-coordinator
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 200Mi
- apiVersion: v1
kind: ImageStream
metadata:
labels:
app: lra-coordinator
template: lra-coordinator
name: lra-coordinator
spec:
lookupPolicy:
local: true
tags:
- from:
kind: DockerImage
name: docker.io/jbosstm/lra-coordinator:5.8.2.Final
generation: 0
importPolicy: {}
name: "5.8.2.Final"
referencePolicy:
type: Source
- apiVersion: v1
kind: DeploymentConfig
metadata:
generation: 1
labels:
app: lra-coordinator
template: lra-coordinator
name: lra-coordinator
spec:
replicas: 1
selector:
app: lra-coordinator
deploymentconfig: lra-coordinator
strategy:
type: Recreate
template:
metadata:
labels:
app: lra-coordinator
deploymentconfig: lra-coordinator
spec:
containers:
- imagePullPolicy: IfNotPresent
env:
- name: AB_JOLOKIA_OFF
value: "true"
livenessProbe:
httpGet:
path: /lra-coordinator
port: 8080
scheme: HTTP
initialDelaySeconds: 180
name: lra-coordinator
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: /lra-coordinator
port: 8080
scheme: HTTP
initialDelaySeconds: 10
volumeMounts:
- mountPath: /data
name: lra-coordinator-data
volumes:
- name: lra-coordinator-data
persistentVolumeClaim:
claimName: lra-coordinator
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- lra-coordinator
from:
kind: ImageStreamTag
name: "lra-coordinator:5.8.2.Final"
type: ImageChange