-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathservice.cache.yml
85 lines (85 loc) · 2.2 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
75
76
77
78
79
80
81
82
83
84
85
apiVersion: v1
kind: List
items:
- apiVersion: apps/v1
kind: Deployment
metadata:
name: cache-server
labels:
app: cache-server
app.kubernetes.io/part-of: cache-example
app.kubernetes.io/name: greeting-cache
app.kubernetes.io/component: cache
app.openshift.io/runtime: datagrid
app.openshift.io/runtime-version: "7.3"
spec:
selector:
matchLabels:
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
app.kubernetes.io/part-of: cache-example
app.kubernetes.io/name: greeting-cache
app.kubernetes.io/component: cache
app.openshift.io/runtime: datagrid
app.openshift.io/runtime-version: "7.3"
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