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