################################################################################
-# Copyright (c) 2019 AT&T Intellectual Property. #
-# Copyright (c) 2019 Nokia. #
+# Copyright (c) 2020 AT&T Intellectual Property. #
+# Copyright (c) 2020 Nokia. #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); #
# you may not use this file except in compliance with the License. #
# limitations under the License. #
################################################################################
-dbaasha:
+dbaas:
image:
registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
name: ric-plt-dbaas
tag: 0.2.2
imagePullPolicy: IfNotPresent
- replicas: 3
- enabled: true
- sysctlImage:
- enabled: true
- command:
- - /bin/sh
- - -c
- - |-
- sysctl -w net.core.somaxconn=511
- echo never > /host-sys/kernel/mm/transparent_hugepage/enabled
- mountHostSys: true
- probeTimeout: 10
+ enableHighAvailability: false
+ enablePodAntiAffinity: false
+ terminationGracePeriodSeconds: 5
+
redis:
masterGroupName: dbaasmaster
config:
maxmemory-policy: "volatile-lru"
protected-mode: "no"
loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
+ bind: 0.0.0.0
+
sentinel:
quorum: 2
protected-mode: "no"
down-after-milliseconds: 5000
failover-timeout: 60000
parallel-syncs: 1
- affinity: |
- podAntiAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- - labelSelector:
- matchLabels:
- app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaasha" . }}
- release: {{ .Release.Name }}
- topologyKey: kubernetes.io/hostname
- preferredDuringSchedulingIgnoredDuringExecution:
- - weight: 100
- podAffinityTerm:
- labelSelector:
- matchLabels:
- app: {{ include "common.namespace.platform" . }}-{{ include "common.name.dbaasha" . }}
- release: {{ .Release.Name }}
- topologyKey: failure-domain.beta.kubernetes.io/zone
+
+ saReplicas: 1
+ haReplicas: 3
+ probeTimeout: 10