blob: 74cf4ed8c2f0b8a15571f4dbf91642f95faa6944 [file] [log] [blame]
BorislavG5f3b6192018-03-25 18:12:38 +03001# Copyright © 2017 Amdocs, Bell Canada
Mukul7de56c82018-09-04 08:03:27 +00002# Modifications Copyright © 2018 AT&T
BorislavG5f3b6192018-03-25 18:12:38 +03003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
BorislavG5f3b6192018-03-25 18:12:38 +030021 persistence: {}
22
23#################################################################
24# Application configuration defaults.
25#################################################################
26
BorislavG5f3b6192018-03-25 18:12:38 +030027# application image
BorislavG5f3b6192018-03-25 18:12:38 +030028image: elasticsearch/elasticsearch:5.5.0
29pullPolicy: Always
30
31# flag to enable debugging - application support required
32debugEnabled: false
33
34# application configuration
35# Example:
36config: {}
37
38# default number of instances
39replicaCount: 1
40
41nodeSelector: {}
42
43affinity: {}
44
45# probe configuration parameters
46liveness:
Michael O'Brienac60aaf2018-05-23 17:25:08 -040047 initialDelaySeconds: 120
BorislavG5f3b6192018-03-25 18:12:38 +030048 periodSeconds: 10
49 # necessary to disable liveness probe when setting breakpoints
50 # in debugger so K8s doesn't restart unresponsive container
51 enabled: true
52
53readiness:
Michael O'Brienac60aaf2018-05-23 17:25:08 -040054 initialDelaySeconds: 120
BorislavG5f3b6192018-03-25 18:12:38 +030055 periodSeconds: 10
56
57## Persist data to a persitent volume
58persistence:
59 enabled: true
60
61 ## A manually managed Persistent Volume and Claim
62 ## Requires persistence.enabled: true
63 ## If defined, PVC must be created manually before volume will be bound
64 # existingClaim:
65 volumeReclaimPolicy: Retain
66
67 ## database data Persistent Volume Storage Class
68 ## If defined, storageClassName: <storageClass>
69 ## If set to "-", storageClassName: "", which disables dynamic provisioning
70 ## If undefined (the default) or set to null, no storageClassName spec is
71 ## set, choosing the default provisioner. (gp2 on AWS, standard on
72 ## GKE, AWS & OpenStack)
Sylvain Desbureauxa3e737c2019-11-05 11:47:46 +010073 accessMode: ReadWriteOnce
BorislavG5f3b6192018-03-25 18:12:38 +030074 size: 1Gi
75 mountPath: /dockerdata-nfs
76 mountSubPath: log/elasticsearch/data
77 mountSubPathLogs: log
78
79service:
BorislavG2cf26842018-04-08 17:50:07 +030080 type: NodePort
BorislavG5f3b6192018-03-25 18:12:38 +030081 name: log-es
82 externalPort: 9200
83 internalPort: 9200
BorislavG2cf26842018-04-08 17:50:07 +030084 nodePort: 54
85 type2: ClusterIP
86 name2: log-es-tcp
87 externalPort2: 9300
88 internalPort2: 9300
89
BorislavG5f3b6192018-03-25 18:12:38 +030090ingress:
91 enabled: false
Lucjan Bryndzad6322c82019-12-02 15:32:10 +010092 service:
Andreas Geissler51900a92022-08-03 13:10:35 +020093 - baseaddr: "log-es-api"
Lucjan Bryndzad6322c82019-12-02 15:32:10 +010094 name: "log-es"
95 port: 9200
96 config:
97 ssl: "none"
Mandeep Khinda60d36d42018-09-24 15:15:48 +000098# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +000099flavor: small
100# Segregation for Different environment (Small and Large)
101resources:
102 small:
103 limits:
104 cpu: 1
105 memory: 4Gi
106 requests:
107 cpu: 1
Mandeep Khinda3c134252018-09-19 23:56:37 +0000108 memory: 2Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000109 large:
110 limits:
111 cpu: 2
112 memory: 8Gi
113 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000114 cpu: 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000115 memory: 4Gi
Sylvain Desbureauxa3e737c2019-11-05 11:47:46 +0100116 unlimited: {}