blob: 0cb1a369bbce646575f58c588b198c6b7748a0f2 [file] [log] [blame]
toshrajbhardwajf4fc1c62018-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
kj9bf27312018-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
kj9bf27312018-03-19 15:07:44 +020020
21# application image
22dockerhubRepository: docker.io
23image: elasticsearch:2.4.1
24pullPolicy: Always
25
26# application configuration
27config:
28 tcpPort: 8443
29
30
31# default number of instances
32replicaCount: 1
33
34nodeSelector: {}
35
36affinity: {}
37
38# probe configuration parameters
39liveness:
40 initialDelaySeconds: 10
41 periodSeconds: 10
42 # necessary to disable liveness probe when setting breakpoints
43 # in debugger so K8s doesn't restart unresponsive container
44 enabled: true
45
46readiness:
47 initialDelaySeconds: 10
48 periodSeconds: 10
49
50service:
51 type: ClusterIP
52 name: aai-elasticsearch
BorislavG1ffbd992018-04-24 07:56:27 +000053 portName: aai-elasticsearch
kj9bf27312018-03-19 15:07:44 +020054 internalPort: 9200
55
56ingress:
57 enabled: false
58
59persistence:
60 enabled: true
61
62 ## A manually managed Persistent Volume and Claim
63 ## Requires persistence.enabled: true
64 ## If defined, PVC must be created manually before volume will be bound
65 # existingClaim:
66 volumeReclaimPolicy: Retain
67
68 ## database data Persistent Volume Storage Class
69 ## If defined, storageClassName: <storageClass>
70 ## If set to "-", storageClassName: "", which disables dynamic provisioning
71 ## If undefined (the default) or set to null, no storageClassName spec is
72 ## set, choosing the default provisioner. (gp2 on AWS, standard on
73 ## GKE, AWS & OpenStack)
74 ##
75 ## storageClass: "-"
76 accessMode: ReadWriteMany
77 size: 2Gi
78 mountPath: /dockerdata-nfs
79 mountSubPath: aai/elasticsearch/data
80
81resources: {}
82 # We usually recommend not to specify default resources and to leave this as a conscious
83 # choice for the user. This also increases chances charts run on environments with little
84 # resources, such as Minikube. If you do want to specify resources, uncomment the following
85 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
86 #
87 # Example:
88 # Configure resource requests and limits
89 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
90 # Minimum memory for development is 2 CPU cores and 4GB memory
91 # Minimum memory for production is 4 CPU cores and 8GB memory
92#resources:
93# limits:
94# cpu: 2
95# memory: 4Gi
96# requests:
97# cpu: 2
98# memory: 4Gi