-
Notifications
You must be signed in to change notification settings - Fork 10
/
demo-cluster.yaml
60 lines (60 loc) · 1.29 KB
/
demo-cluster.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
apiVersion: coherence.oracle.com/v1
kind: Coherence
metadata:
name: primary-cluster-storage
spec:
cluster: primary-cluster
role: storage
jvm:
memory:
heapSize: 512m
args:
- "-Dwith.http=false"
- "-Dprimary.cluster=primary-cluster"
- "-Dcoherence.distributed.threads.min=10"
ports:
- name: metrics
port: 9612
serviceMonitor:
enabled: true
coherence:
cacheConfig: cache-config.xml
metrics:
enabled: true
image: coherence-demo:8.0.0-SNAPSHOT
imagePullPolicy: IfNotPresent
replicas: 2
---
apiVersion: coherence.oracle.com/v1
kind: Coherence
metadata:
name: primary-cluster-http
spec:
cluster: primary-cluster
role: http
jvm:
memory:
heapSize: 512m
args:
- "-Dprimary.cluster=primary-cluster"
- "-Dcoherence.management.http=inherit"
- "-Dcoherence.management.http.port=30000"
- "-Dcoherence.distributed.threads.min=10"
ports:
- name: http
port: 8080
- name: metrics
port: 9612
serviceMonitor:
enabled: true
- name: management
port: 30000
coherence:
cacheConfig: cache-config.xml
storageEnabled: false
metrics:
enabled: true
port: 9612
image: coherence-demo:8.0.0-SNAPSHOT
imagePullPolicy: IfNotPresent
replicas: 1