-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcluster-server-groups.yaml
51 lines (51 loc) · 1.2 KB
/
cluster-server-groups.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
apiVersion: couchbase.com/v1
kind: CouchbaseCluster
metadata:
name: cb-example
spec:
baseImage: registry.connect.redhat.com/couchbase/server
version: 5.5.1-1
authSecret: cb-example-auth
exposeAdminConsole: true
exposedFeatures:
- xdcr
serverGroups:
- ServerGroup1
- ServerGroup2
servers:
- name: DataServer
services:
- data
size: 2
serverGroups:
- ServerGroup1
- ServerGroup2
- name: QueryServer
services:
- query
serverGroups:
- ServerGroup1
- ServerGroup2
size: 2
cluster:
dataServiceMemoryQuota: 256
indexServiceMemoryQuota: 256
searchServiceMemoryQuota: 256
analyticsServiceMemoryQuota: 1024
eventingServiceMemoryQuota: 256
indexStorageSetting: memory_optimized
autoFailoverTimeout: 10
autoFailoverMaxCount: 3
autoFailoverOnDataDiskIssues: true
autoFailoverOnDataDiskIssuesTimePeriod: 120
autoFailoverServerGroup: false
buckets:
- name: tweets
type: couchbase
memoryQuota: 128
replicas: 1
ioPriority: high
evictionPolicy: fullEviction
conflictResolution: seqno
enableFlush: true
enableIndexReplica: true