Update a1 to SI95 version of rmr python
[ric-plt/ric-dep.git] / helm / dbaasha / values.yaml
1 ################################################################################
2 #   Copyright (c) 2019 AT&T Intellectual Property.                             #
3 #   Copyright (c) 2019 Nokia.                                                  #
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
18 dbaasha:
19   image:
20     registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
21     name: ric-plt-dbaas
22     tag: 0.2.2
23   imagePullPolicy: IfNotPresent
24   replicas: 3
25   enabled: true
26   sysctlImage:
27     enabled: true
28     command:
29       - /bin/sh
30       - -c
31       - |-
32         sysctl -w net.core.somaxconn=511
33         echo never > /host-sys/kernel/mm/transparent_hugepage/enabled
34     mountHostSys: true
35   probeTimeout: 10
36   redis:
37     masterGroupName: dbaasmaster
38     config:
39       ## For /data/conf/redis.conf
40       min-slaves-to-write: 1
41       min-slaves-max-lag: 5
42       maxmemory: "0"
43       maxmemory-policy: "volatile-lru"
44       protected-mode: "no"
45       loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
46   sentinel:
47     quorum: 2
48     protected-mode: "no"
49     config:
50       ## For /data/conf/sentinel.conf
51       down-after-milliseconds: 5000
52       failover-timeout: 60000
53       parallel-syncs: 1
54   affinity: |
55     podAntiAffinity:
56       requiredDuringSchedulingIgnoredDuringExecution:
57         - labelSelector:
58             matchLabels:
59               app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaasha" . }}
60               release: {{ .Release.Name }}
61           topologyKey: kubernetes.io/hostname
62       preferredDuringSchedulingIgnoredDuringExecution:
63         - weight: 100
64           podAffinityTerm:
65             labelSelector:
66               matchLabels:
67                 app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaasha" . }}
68                 release: {{ .Release.Name }}
69             topologyKey: failure-domain.beta.kubernetes.io/zone