Fix DCAE Redis
[oom.git] / kubernetes / dcaegen2 / charts / 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   repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   persistence: {}
26
27 #################################################################
28 # Application configuration defaults.
29 #################################################################
30 # application image
31 repository: nexus3.onap.org:10001
32 image: onap/org.onap.dcaegen2.deployments.redis-cluster-container:1.0.0
33 pullPolicy: Always
34
35 # application configuration
36 # Example:
37 config: {}
38
39 # default number of instances
40 replicaCount: 6
41
42 nodeSelector: {}
43
44 affinity: {}
45
46 # probe configuration parameters
47 liveness:
48   initialDelaySeconds: 60
49   periodSeconds: 10
50   timeoutSeconds: 10
51   # necessary to disable liveness probe when setting breakpoints
52   # in debugger so K8s doesn't restart unresponsive container
53   enabled: true
54
55 readiness:
56   initialDelaySeconds: 15
57   periodSeconds: 10
58
59 service:
60   #Example service definition with external, internal and node ports.
61   #Services may use any combination of ports depending on the 'type' of
62   #service being defined.
63   type: NodePort
64   name: dcae-redis
65   portName: client
66   externalPort: 6379
67   internalPort: 6379
68   nodePort: 86
69   portName2: gossip
70   externalPort2: 16379
71   internalPort2: 16379
72   nodePort2: 87
73
74 ## Persist data to a persitent volume
75 persistence:
76   enabled: true
77
78   ## A manually managed Persistent Volume and Claim
79   ## Requires persistence.enabled: true
80   ## If defined, PVC must be created manually before volume will be bound
81   # existingClaim:
82   volumeReclaimPolicy: Retain
83
84   ## database data Persistent Volume Storage Class
85   ## If defined, storageClassName: <storageClass>
86   ## If set to "-", storageClassName: "", which disables dynamic provisioning
87   ## If undefined (the default) or set to null, no storageClassName spec is
88   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
89   ##   GKE, AWS & OpenStack)
90   accessMode: ReadWriteOnce
91   size: 10Mi
92   mountPath: /dockerdata-nfs
93   mountSubPath: redis/data
94
95 ingress:
96   enabled: false
97
98 resources: {}
99   # We usually recommend not to specify default resources and to leave this as a conscious
100   # choice for the user. This also increases chances charts run on environments with little
101   # resources, such as Minikube. If you do want to specify resources, uncomment the following
102   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
103   #
104   # Example:
105   # Configure resource requests and limits
106   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
107   # Minimum memory for development is 2 CPU cores and 4GB memory
108   # Minimum memory for production is 4 CPU cores and 8GB memory
109 #resources:
110 #  limits:
111 #    cpu: 2
112 #    memory: 4Gi
113 #  requests:
114 #    cpu: 2
115 #    memory: 4Gi