blob: c6afbb5ee4c499c0a475b60a7a90ef6c33e3ee55 [file] [log] [blame]
toshrajbhardwaj84d73b12018-08-06 07:35:14 +00001# Copyright © 2018 Amdocs, Bell Canada, AT&T
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
kj6a8ce802018-03-19 15:07:44 +020015# Default values for elasticsearch.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
kj6a8ce802018-03-19 15:07:44 +020020
21# application image
22dockerhubRepository: docker.io
23image: elasticsearch:2.4.1
24pullPolicy: Always
25
rajeshkalai47c1de32018-09-20 06:36:28 -040026flavor: small
27
kj6a8ce802018-03-19 15:07:44 +020028# application configuration
29config:
30 tcpPort: 8443
31
32
33# default number of instances
34replicaCount: 1
35
36nodeSelector: {}
37
38affinity: {}
39
40# probe configuration parameters
41liveness:
42 initialDelaySeconds: 10
43 periodSeconds: 10
44 # necessary to disable liveness probe when setting breakpoints
45 # in debugger so K8s doesn't restart unresponsive container
46 enabled: true
47
48readiness:
49 initialDelaySeconds: 10
50 periodSeconds: 10
51
52service:
53 type: ClusterIP
54 name: aai-elasticsearch
BorislavGe7500682018-04-24 07:56:27 +000055 portName: aai-elasticsearch
kj6a8ce802018-03-19 15:07:44 +020056 internalPort: 9200
57
58ingress:
59 enabled: false
60
61persistence:
62 enabled: true
63
64 ## A manually managed Persistent Volume and Claim
65 ## Requires persistence.enabled: true
66 ## If defined, PVC must be created manually before volume will be bound
67 # existingClaim:
68 volumeReclaimPolicy: Retain
69
70 ## database data Persistent Volume Storage Class
71 ## If defined, storageClassName: <storageClass>
72 ## If set to "-", storageClassName: "", which disables dynamic provisioning
73 ## If undefined (the default) or set to null, no storageClassName spec is
74 ## set, choosing the default provisioner. (gp2 on AWS, standard on
75 ## GKE, AWS & OpenStack)
76 ##
77 ## storageClass: "-"
78 accessMode: ReadWriteMany
79 size: 2Gi
80 mountPath: /dockerdata-nfs
81 mountSubPath: aai/elasticsearch/data
82
kj6a8ce802018-03-19 15:07:44 +020083 # We usually recommend not to specify default resources and to leave this as a conscious
84 # choice for the user. This also increases chances charts run on environments with little
85 # resources, such as Minikube. If you do want to specify resources, uncomment the following
86 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
87 #
88 # Example:
89 # Configure resource requests and limits
90 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
91 # Minimum memory for development is 2 CPU cores and 4GB memory
92 # Minimum memory for production is 4 CPU cores and 8GB memory
93#resources:
94# limits:
95# cpu: 2
96# memory: 4Gi
97# requests:
98# cpu: 2
99# memory: 4Gi
rajeshkalai47c1de32018-09-20 06:36:28 -0400100resources:
101 small:
102 limits:
103 cpu: 2
104 memory: 4Gi
105 requests:
106 cpu: 1
107 memory: 2Gi
108 large:
109 limits:
110 cpu: 4
111 memory: 8Gi
112 requests:
113 cpu: 4
114 memory: 8Gi