forked from nodeshift-starters/nodejs-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
service.cache.yml
74 lines (74 loc) · 1.74 KB
/
service.cache.yml
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
apiVersion: v1
kind: List
items:
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
name: cache-server
labels:
app: cache-server
spec:
selector:
app: cache-server
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: cache-server
spec:
containers:
- env:
- name: INFINISPAN_CONNECTORS
value: hotrod
image: registry.access.redhat.com/jboss-datagrid-7/datagrid73-openshift:1.0
name: cache-server
ports:
- containerPort: 8778
protocol: TCP
- containerPort: 11211
protocol: TCP
- containerPort: 11222
protocol: TCP
- containerPort: 11333
protocol: TCP
- containerPort: 8080
protocol: TCP
- containerPort: 8443
protocol: TCP
- apiVersion: v1
kind: Service
metadata:
labels:
app: cache-server
name: cache-server
spec:
selector:
app: cache-server
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
- name: 8443-tcp
port: 8443
protocol: TCP
targetPort: 8443
- name: 8778-tcp
port: 8778
protocol: TCP
targetPort: 8778
- name: 11211-tcp
port: 11211
protocol: TCP
targetPort: 11211
- name: 11222-tcp
port: 11222
protocol: TCP
targetPort: 11222
- name: 11333-tcp
port: 11333
protocol: TCP
targetPort: 11333
type: ClusterIP