blob: 04b9434e02948b97a13440a7a9381c1cad897491 [file] [log] [blame]
Geora Barskya3f067c2018-07-19 16:46:37 -04001# 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#################################################################
18global:
19 nodePortPrefix: 302
20 persistence: {}
21
22#################################################################
23# Application configuration defaults.
24#################################################################
25
Geora Barskya3f067c2018-07-19 16:46:37 -040026# application image
Norm Traxlercc19c702019-03-27 20:36:47 +010027image: elasticsearch/elasticsearch:6.6.2
Geora Barskya3f067c2018-07-19 16:46:37 -040028pullPolicy: Always
29
30# flag to enable debugging - application support required
31debugEnabled: false
32
33# application configuration
34# Example:
35config: {}
36
37# default number of instances
38replicaCount: 1
39
40nodeSelector: {}
41
42affinity: {}
43
44# probe configuration parameters
45liveness:
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
52readiness:
53 initialDelaySeconds: 120
54 periodSeconds: 10
55
56## Persist data to a persitent volume
57persistence:
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)
Sylvain Desbureaux1d04ddc2019-11-05 11:53:46 +010072 accessMode: ReadWriteOnce
Geora Barskya3f067c2018-07-19 16:46:37 -040073 size: 1Gi
74 mountPath: /dockerdata-nfs
75 mountSubPath: pomba/elasticsearch/data
76 mountSubPathLogs: pomba
77
78service:
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
88ingress:
89 enabled: false
90
jmacaf645b52018-10-11 12:21:54 +000091# Resource Limit flavor -By Default using small
92flavor: small
93# Segregation for Different environment (Small and Large)
94resources:
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: {}