blob: 6ccab9ccb7538a77f215de305d67c3d839ce466c [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
39replicaCount: 6
40
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.
62 type: NodePort
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
67 nodePort: 86
BorislavG7eeb66d2018-04-22 11:53:43 +000068 portName2: gossip
BorislavG3c751b32018-03-26 21:13:34 +030069 externalPort2: 16379
70 internalPort2: 16379
71 nodePort2: 87
72
73## Persist data to a persitent volume
74persistence:
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
94ingress:
95 enabled: false
96
97resources: {}
98 # We usually recommend not to specify default resources and to leave this as a conscious
99 # choice for the user. This also increases chances charts run on environments with little
100 # resources, such as Minikube. If you do want to specify resources, uncomment the following
101 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
102 #
103 # Example:
104 # Configure resource requests and limits
105 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
106 # Minimum memory for development is 2 CPU cores and 4GB memory
107 # Minimum memory for production is 4 CPU cores and 8GB memory
108#resources:
109# limits:
110# cpu: 2
111# memory: 4Gi
112# requests:
113# cpu: 2
114# memory: 4Gi