Merge "[CDS] Remove unused filebeat container."
[oom.git] / kubernetes / common / elasticsearch / components / master / values.yaml
1 # Copyright © 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   persistence:
21     mountPath: /dockerdata-nfs
22     backup:
23       mountPath: /dockerdata-nfs/backup
24     storageClass:
25 repositoryOverride: docker.io
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 ## Init containers parameters:
30 sysctlImage:
31   enabled: true
32 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
33 volumePermissions:
34   enabled: true
35
36 # application image
37 ## Elasticsearch master-eligible node parameters
38 ##
39 name: master
40 ## Number of master-eligible node(s) replicas to deploy
41 ##
42 replicaCount: 3
43 ## master acts as master only node, choose 'no' if no further data nodes are deployed)
44 dedicatednode: "yes"
45 ## dedicatednode: "no"
46 image:
47   imageName: bitnami/elasticsearch
48   tag: 6.8.6-debian-9-r23
49   ## Specify a imagePullPolicy
50   ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
51   ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
52   ##
53   pullPolicy: IfNotPresent
54   ## Optionally specify an array of imagePullSecrets.
55   ## Secrets must be manually created in the namespace.
56   ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
57   ##
58   # pullSecrets:
59   #   - myRegistryKeySecretName
60   ## Set to true if you would like to see extra information on logs
61   ## ref:  https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
62   ##
63   debug: false
64
65 ## String to partially override common.fullname template (will maintain the release name)
66 ##
67 # nameOverride:
68
69 ## String to fully override common.fullname template
70 ##
71 # fullnameOverride:
72 ## updateStrategy for ElasticSearch master statefulset
73 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
74 ##
75 updateStrategy:
76   type: RollingUpdate
77 heapSize: 128m
78 ## Provide annotations for master-eligible pods.
79 ##
80 podAnnotations: {}
81 ## Pod Security Context for master-eligible pods.
82 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
83 ##
84 securityContext:
85   enabled: true
86   fsGroup: 1001
87   runAsUser: 1001
88 ## Affinity for pod assignment.
89 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
90 ##
91 affinity: {}
92 ## Node labels for pod assignment. Evaluated as a template.
93 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
94 ##
95 nodeSelector: {}
96 ## Tolerations for pod assignment. Evaluated as a template.
97 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
98 ##
99 tolerations: []
100 ## Elasticsearch master-eligible container's resource requests and limits
101 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
102 ##
103 resources:
104   ## We usually recommend not to specify default resources and to leave this as a conscious
105   ## choice for the user. This also increases chances charts run on environments with little
106   ## resources, such as Minikube.
107   limits: {}
108   #   cpu: 100m
109   #   memory: 128Mi
110   requests:
111     cpu: 25m
112     memory: 256Mi
113 ## Elasticsearch master-eligible container's liveness and readiness probes
114 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
115 ##
116 livenessProbe:
117   enabled: false
118 #  initialDelaySeconds: 90
119 #  periodSeconds: 10
120 #  timeoutSeconds: 5
121 #  successThreshold: 1
122 #  failureThreshold: 5
123 readinessProbe:
124   enabled: false
125 #  initialDelaySeconds: 90
126 #  periodSeconds: 10
127 #  timeoutSeconds: 5
128 #  successThreshold: 1
129 #  failureThreshold: 5
130 ## Enable persistence using Persistent Volume Claims
131 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
132 ##
133 persistence:
134   ## If true, use a Persistent Volume Claim, If false, use emptyDir
135   ##
136   enabled: true
137   ## suffix for pv
138   suffix: master-pv
139   ## Persistent Volume Storage Class
140   ## If defined, storageClassName: <storageClass>
141   ## If set to "-", storageClassName: "", which disables dynamic provisioning
142   ## If undefined (the default) or set to null, no storageClassName spec is
143   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
144   ##   GKE, AWS & OpenStack)
145   ##
146   # storageClass: "-"
147   ## Persistent Volume Claim annotations
148   ##
149   annotations: {}
150   ## Persistent Volume Access Mode
151   ##
152   accessMode: ReadWriteOnce
153   ## Persistent Volume size
154   ##
155   size: 8Gi
156   # existingClaim:
157   volumeReclaimPolicy: Retain
158   mountSubPath: elastic-master
159   storageType: local
160   backup:
161     mountPath: /dockerdata-nfs/backup
162 ## Service parameters for master-eligible node(s)
163 ##
164 service:
165   suffix: "service"
166   name: ""
167   ## list of ports for "common.containerPorts"
168   ## Elasticsearch transport port
169   ports:
170   - name: http-transport
171     port: 9300
172   ## master-eligible service type
173   ##
174   type: ClusterIP
175   ## Specify the nodePort value for the LoadBalancer and NodePort service types.
176   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
177   ##
178   # nodePort:
179   ## Provide any additional annotations which may be required. This can be used to
180   ## set the LoadBalancer service type to internal only.
181   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
182   ##
183   annotations: {}
184   ## Set the LoadBalancer service type to internal only.
185   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
186   ##
187   # loadBalancerIP:
188 ## Provide functionality to use RBAC
189 ##
190 serviceAccount:
191   ## Specifies whether a ServiceAccount should be created for the master node
192   create: false
193   ## The name of the ServiceAccount to use.
194   ## If not set and create is true, a name is generated using the fullname template
195   # name:
196
197
198 ## Elasticsearch cluster name
199 ##
200 clusterName: elastic-cluster
201
202
203