blob: d218f1eca16d9821e9bd93fa96aefaf9e2ddbbb2 [file] [log] [blame]
knowpd85c6e942020-01-24 12:05:25 -05001################################################################################
knowpdf882a9b2020-04-03 16:44:09 -04002# Copyright (c) 2020 AT&T Intellectual Property. #
3# Copyright (c) 2020 Nokia. #
knowpd85c6e942020-01-24 12:05:25 -05004# #
5# Licensed under the Apache License, Version 2.0 (the "License"); #
6# you may not use this file except in compliance with the License. #
7# You may obtain a copy of the License at #
8# #
9# http://www.apache.org/licenses/LICENSE-2.0 #
10# #
11# Unless required by applicable law or agreed to in writing, software #
12# distributed under the License is distributed on an "AS IS" BASIS, #
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14# See the License for the specific language governing permissions and #
15# limitations under the License. #
16################################################################################
17
knowpdf882a9b2020-04-03 16:44:09 -040018dbaas:
knowpd85c6e942020-01-24 12:05:25 -050019 image:
20 registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
21 name: ric-plt-dbaas
Timo Tietavainen0c1c3b42021-12-16 18:13:04 +020022 tag: 0.5.5
knowpd85c6e942020-01-24 12:05:25 -050023 imagePullPolicy: IfNotPresent
knowpdf882a9b2020-04-03 16:44:09 -040024 enableHighAvailability: false
25 enablePodAntiAffinity: false
26 terminationGracePeriodSeconds: 5
27
knowpd85c6e942020-01-24 12:05:25 -050028 redis:
29 masterGroupName: dbaasmaster
Zhe Huang98d784e2020-04-16 17:21:07 -040030 sa_config:
31 ## For /data/conf/redis.conf
32 protected-mode: "no"
33 loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
34 bind: 0.0.0.0
35 ha_config:
knowpd85c6e942020-01-24 12:05:25 -050036 ## For /data/conf/redis.conf
37 min-slaves-to-write: 1
38 min-slaves-max-lag: 5
39 maxmemory: "0"
40 maxmemory-policy: "volatile-lru"
41 protected-mode: "no"
42 loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
knowpdf882a9b2020-04-03 16:44:09 -040043
knowpd85c6e942020-01-24 12:05:25 -050044 sentinel:
45 quorum: 2
46 protected-mode: "no"
47 config:
48 ## For /data/conf/sentinel.conf
49 down-after-milliseconds: 5000
50 failover-timeout: 60000
51 parallel-syncs: 1
knowpdf882a9b2020-04-03 16:44:09 -040052
53 saReplicas: 1
54 haReplicas: 3
Timo Tietavainen9626c492021-03-12 19:10:24 +020055 #Timeout command below requires -t flag if installed DBAAS image is older than
56 #0.5.0. Reason is that DBAAS image version 0.5.0 and newer ones are based on
57 #newer Alpine 3.11 OS version and in this Alpine version timeout command
58 #doesn't have -t flag anymore.
59 probeTimeoutCommand: "timeout"
60 #probeTimeoutCommand: "timeout -t"
knowpdf882a9b2020-04-03 16:44:09 -040061 probeTimeout: 10