forked from couchbase-partners/redhat-pds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcluster-persistent.yaml
60 lines (60 loc) · 1.48 KB
/
cluster-persistent.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
# THIS IS IN PROGRESS - DO NOT USE
apiVersion: couchbase.database.couchbase.com/v1
kind: CouchbaseCluster
metadata:
name: cb-example
spec:
baseImage: couchbase/server
version: enterprise-5.5.0 # Updated to valid tag
authSecret: cb-example-auth
exposeAdminConsole: true
exposedFeatures:
- xdcr
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: default
type: couchbase
memoryQuota: 128
replicas: 2
ioPriority: high
evictionPolicy: fullEviction
conflictResolution: seqno
enableFlush: true
enableIndexReplica: false
servers:
- size: 4
name: all_services
services:
- data
- index
- query
- search
pod:
volumeMounts:
default: couchbase
data: couchbase
index: couchbase
analytics:
- couchbase
- couchbase
# securityContext: # not reuqired for openshift
# fsGroup: 1000
volumeClaimTemplates:
- metadata:
name: couchbase
spec:
storageClassName: "standard"
resources:
requests:
storage: 1Gi