Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / pomba / components / pomba-elasticsearch / values.yaml
1 # Copyright © 2017 Amdocs, 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   persistence: {}
21
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25
26 # application image
27 image: elasticsearch/elasticsearch:6.6.2
28 pullPolicy: Always
29
30 # flag to enable debugging - application support required
31 debugEnabled: false
32
33 # application configuration
34 # Example:
35 config: {}
36
37 # default number of instances
38 replicaCount: 1
39
40 nodeSelector: {}
41
42 affinity: {}
43
44 # probe configuration parameters
45 liveness:
46   initialDelaySeconds: 120
47   periodSeconds: 10
48   # necessary to disable liveness probe when setting breakpoints
49   # in debugger so K8s doesn't restart unresponsive container
50   enabled: true
51
52 readiness:
53   initialDelaySeconds: 120
54   periodSeconds: 10
55
56 ## Persist data to a persitent volume
57 persistence:
58   enabled: true
59
60   ## A manually managed Persistent Volume and Claim
61   ## Requires persistence.enabled: true
62   ## If defined, PVC must be created manually before volume will be bound
63   # existingClaim:
64   volumeReclaimPolicy: Retain
65
66   ## database data Persistent Volume Storage Class
67   ## If defined, storageClassName: <storageClass>
68   ## If set to "-", storageClassName: "", which disables dynamic provisioning
69   ## If undefined (the default) or set to null, no storageClassName spec is
70   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
71   ##   GKE, AWS & OpenStack)
72   accessMode: ReadWriteOnce
73   size: 1Gi
74   mountPath: /dockerdata-nfs
75   mountSubPath: pomba/elasticsearch/data
76   mountSubPathLogs: pomba
77
78 service:
79   type: ClusterIP
80   name: pomba-es
81   externalPort: 9200
82   internalPort: 9200
83   type2: ClusterIP
84   name2: pomba-es-tcp
85   externalPort2: 9300
86   internalPort2: 9300
87
88 ingress:
89   enabled: false
90
91 # Resource Limit flavor -By Default using small
92 flavor: small
93 # Segregation for Different environment (Small and Large)
94 resources:
95   small:
96     limits:
97       cpu: 2
98       memory: 3Gi
99     requests:
100       cpu: 1
101       memory: 1.5Gi
102   large:
103     limits:
104       cpu: 4
105       memory: 6Gi
106     requests:
107       cpu: 2
108       memory: 3Gi
109   unlimited: {}