blob: 3daa74031261ca8e031473d36aa14d759dd68ccb [file] [log] [blame]
BorislavG3c751b32018-03-26 21:13:34 +03001# Copyright © 2017 Amdocs, AT&T, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
BorislavG3c751b32018-03-26 21:13:34 +030020 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000021 readinessImage: readiness-check:2.0.0
BorislavG3c751b32018-03-26 21:13:34 +030022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24 persistence: {}
25
26#################################################################
27# Application configuration defaults.
28#################################################################
29# application image
30repository: nexus3.onap.org:10001
Gary Wu46621662018-05-30 14:30:47 -070031image: onap/org.onap.dcaegen2.deployments.redis-cluster-container:1.0.0
BorislavG3c751b32018-03-26 21:13:34 +030032pullPolicy: Always
33
34# application configuration
35# Example:
36config: {}
37
38# default number of instances
Vijay Venkatesh Kumar5d63a332020-01-21 21:06:32 +000039replicaCount: 3
BorislavG3c751b32018-03-26 21:13:34 +030040
41nodeSelector: {}
42
43affinity: {}
44
45# probe configuration parameters
46liveness:
BorislavGb9374542018-04-15 12:10:48 +000047 initialDelaySeconds: 60
BorislavG3c751b32018-03-26 21:13:34 +030048 periodSeconds: 10
BorislavGb9374542018-04-15 12:10:48 +000049 timeoutSeconds: 10
BorislavG3c751b32018-03-26 21:13:34 +030050 # necessary to disable liveness probe when setting breakpoints
51 # in debugger so K8s doesn't restart unresponsive container
52 enabled: true
53
54readiness:
55 initialDelaySeconds: 15
56 periodSeconds: 10
57
58service:
59 #Example service definition with external, internal and node ports.
60 #Services may use any combination of ports depending on the 'type' of
61 #service being defined.
Vijay Venkatesh Kumar5d63a332020-01-21 21:06:32 +000062 type: ClusterIP
BorislavG7eeb66d2018-04-22 11:53:43 +000063 name: dcae-redis
64 portName: client
BorislavG3c751b32018-03-26 21:13:34 +030065 externalPort: 6379
66 internalPort: 6379
BorislavG7eeb66d2018-04-22 11:53:43 +000067 portName2: gossip
BorislavG3c751b32018-03-26 21:13:34 +030068 externalPort2: 16379
69 internalPort2: 16379
BorislavG3c751b32018-03-26 21:13:34 +030070
71## Persist data to a persitent volume
72persistence:
73 enabled: true
74
75 ## A manually managed Persistent Volume and Claim
76 ## Requires persistence.enabled: true
77 ## If defined, PVC must be created manually before volume will be bound
78 # existingClaim:
79 volumeReclaimPolicy: Retain
80
81 ## database data Persistent Volume Storage Class
82 ## If defined, storageClassName: <storageClass>
83 ## If set to "-", storageClassName: "", which disables dynamic provisioning
84 ## If undefined (the default) or set to null, no storageClassName spec is
85 ## set, choosing the default provisioner. (gp2 on AWS, standard on
86 ## GKE, AWS & OpenStack)
87 accessMode: ReadWriteOnce
88 size: 10Mi
89 mountPath: /dockerdata-nfs
90 mountSubPath: redis/data
91
92ingress:
93 enabled: false
Lucjan Bryndzaeaeab3b2019-12-02 14:40:04 +010094 service:
95 - baseaddr: "dcaeredis"
96 name: "dcae-redis"
97 port: 6379
98 - baseaddr: "dcaeredisgossip"
99 name: "dcae-redis"
100 port: 16379
101 config:
102 ssl: "none"
vaibhav_16decdb582fa2018-09-20 12:32:47 +0000103# Resource Limit flavor -By Default using small
104flavor: small
105# Segregation for Different environment (Small and Large)
106resources:
107 small:
108 limits:
109 cpu: 2
110 memory: 2Gi
111 requests:
112 cpu: 1
113 memory: 1Gi
114 large:
115 limits:
116 cpu: 4
117 memory: 4Gi
118 requests:
119 cpu: 2
120 memory: 2Gi
121 unlimited: {}