0b342e81bb97ac4283aebd4202d7d4f5e96bf4f3
[oom.git] / kubernetes / dcaegen2 / components / dcae-redis / values.yaml
1 # 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 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   persistence: {}
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/org.onap.dcaegen2.deployments.redis-cluster-container:1.0.0
32 pullPolicy: Always
33
34 # application configuration
35 # Example:
36 config: {}
37
38 # default number of instances
39 replicaCount: 6
40
41 nodeSelector: {}
42
43 affinity: {}
44
45 # probe configuration parameters
46 liveness:
47   initialDelaySeconds: 60
48   periodSeconds: 10
49   timeoutSeconds: 10
50   # necessary to disable liveness probe when setting breakpoints
51   # in debugger so K8s doesn't restart unresponsive container
52   enabled: true
53
54 readiness:
55   initialDelaySeconds: 15
56   periodSeconds: 10
57
58 service:
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.
62   type: NodePort
63   name: dcae-redis
64   portName: client
65   externalPort: 6379
66   internalPort: 6379
67   nodePort: 86
68   portName2: gossip
69   externalPort2: 16379
70   internalPort2: 16379
71   nodePort2: 87
72
73 ## Persist data to a persitent volume
74 persistence:
75   enabled: true
76
77   ## A manually managed Persistent Volume and Claim
78   ## Requires persistence.enabled: true
79   ## If defined, PVC must be created manually before volume will be bound
80   # existingClaim:
81   volumeReclaimPolicy: Retain
82
83   ## database data Persistent Volume Storage Class
84   ## If defined, storageClassName: <storageClass>
85   ## If set to "-", storageClassName: "", which disables dynamic provisioning
86   ## If undefined (the default) or set to null, no storageClassName spec is
87   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
88   ##   GKE, AWS & OpenStack)
89   accessMode: ReadWriteOnce
90   size: 10Mi
91   mountPath: /dockerdata-nfs
92   mountSubPath: redis/data
93
94 ingress:
95   enabled: false
96   service:
97     - baseaddr: "dcaeredis"
98       name: "dcae-redis"
99       port: 6379
100     - baseaddr: "dcaeredisgossip"
101       name: "dcae-redis"
102       port: 16379
103   config:
104     ssl: "none"
105 # Resource Limit flavor -By Default using small
106 flavor: small
107 # Segregation for Different environment (Small and Large)
108 resources:
109   small:
110     limits:
111       cpu: 2
112       memory: 2Gi
113     requests:
114       cpu: 1
115       memory: 1Gi
116   large:
117     limits:
118       cpu: 4
119       memory: 4Gi
120     requests:
121       cpu: 2
122       memory: 2Gi
123   unlimited: {}