knowpd | 85c6e94 | 2020-01-24 12:05:25 -0500 | [diff] [blame] | 1 | ################################################################################ |
knowpd | f882a9b | 2020-04-03 16:44:09 -0400 | [diff] [blame] | 2 | # Copyright (c) 2020 AT&T Intellectual Property. # |
| 3 | # Copyright (c) 2020 Nokia. # |
knowpd | 85c6e94 | 2020-01-24 12:05:25 -0500 | [diff] [blame] | 4 | # # |
| 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 | |
knowpd | f882a9b | 2020-04-03 16:44:09 -0400 | [diff] [blame] | 18 | dbaas: |
knowpd | 85c6e94 | 2020-01-24 12:05:25 -0500 | [diff] [blame] | 19 | image: |
| 20 | registry: "nexus3.o-ran-sc.org:10002/o-ran-sc" |
| 21 | name: ric-plt-dbaas |
Timo Tietavainen | 0c1c3b4 | 2021-12-16 18:13:04 +0200 | [diff] [blame^] | 22 | tag: 0.5.5 |
knowpd | 85c6e94 | 2020-01-24 12:05:25 -0500 | [diff] [blame] | 23 | imagePullPolicy: IfNotPresent |
knowpd | f882a9b | 2020-04-03 16:44:09 -0400 | [diff] [blame] | 24 | enableHighAvailability: false |
| 25 | enablePodAntiAffinity: false |
| 26 | terminationGracePeriodSeconds: 5 |
| 27 | |
knowpd | 85c6e94 | 2020-01-24 12:05:25 -0500 | [diff] [blame] | 28 | redis: |
| 29 | masterGroupName: dbaasmaster |
Zhe Huang | 98d784e | 2020-04-16 17:21:07 -0400 | [diff] [blame] | 30 | 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: |
knowpd | 85c6e94 | 2020-01-24 12:05:25 -0500 | [diff] [blame] | 36 | ## 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" |
knowpd | f882a9b | 2020-04-03 16:44:09 -0400 | [diff] [blame] | 43 | |
knowpd | 85c6e94 | 2020-01-24 12:05:25 -0500 | [diff] [blame] | 44 | 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 |
knowpd | f882a9b | 2020-04-03 16:44:09 -0400 | [diff] [blame] | 52 | |
| 53 | saReplicas: 1 |
| 54 | haReplicas: 3 |
Timo Tietavainen | 9626c49 | 2021-03-12 19:10:24 +0200 | [diff] [blame] | 55 | #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" |
knowpd | f882a9b | 2020-04-03 16:44:09 -0400 | [diff] [blame] | 61 | probeTimeout: 10 |