Merge "[APPC] Uses new tpls for repos / images"
[oom.git] / kubernetes / common / elasticsearch / components / data / values.yaml
1 # Copyright (c) 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
2 # Modification Copyright (c) 2020 Nokia
3 #
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 #################################################################
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 # application image
36 ## Elasticsearch data node parameters
37 ##
38 name: data
39 ## Number of data node(s) replicas to deploy
40 ##
41 replicaCount: 0
42 ## required for "common.containerPorts"
43 ## no dedicated service for data nodes
44 service:
45   ## list of ports for "common.containerPorts"
46   ports:
47   - name: http-transport
48     port: 9300
49
50 image: bitnami/elasticsearch:7.9.3
51 ## Specify a imagePullPolicy
52 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
53 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
54 ##
55 pullPolicy: IfNotPresent
56 ## Optionally specify an array of imagePullSecrets.
57 ## Secrets must be manually created in the namespace.
58 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
59 ##
60 # pullSecrets:
61 #   - myRegistryKeySecretName
62 ## Set to true if you would like to see extra information on logs
63 ## ref:  https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
64 ##
65 debug: false
66
67
68 ## updateStrategy for ElasticSearch Data statefulset
69 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
70 ##
71 updateStrategy:
72   type: RollingUpdate
73   # rollingUpdatePartition
74 heapSize: 128m
75 ## Provide annotations for the data pods.
76 ##
77 podAnnotations: {}
78 ## Pod Security Context for data 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 data 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: 100m
106   #   memory: 128Mi
107   requests:
108     cpu: 25m
109     memory: 1152Mi
110 ## Elasticsearch data container's liveness and readiness probes
111 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
112 ##
113 livenessProbe:
114   enabled: false
115 #  initialDelaySeconds: 90
116 #  periodSeconds: 10
117 #  timeoutSeconds: 5
118 #  successThreshold: 1
119 #  failureThreshold: 5
120 readinessProbe:
121   enabled: false
122 #  initialDelaySeconds: 90
123 #  periodSeconds: 10
124 #  timeoutSeconds: 5
125 #  successThreshold: 1
126 #  failureThreshold: 5
127 ## Enable persistence using Persistent Volume Claims
128 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
129 ##
130 persistence:
131   ## If true, use a Persistent Volume Claim, If false, use emptyDir
132   ##
133   enabled: true
134   ## suffix for pv
135   suffix: data-pv
136
137   ## Persistent Volume Storage Class
138   ## If defined, storageClassName: <storageClass>
139   ## If set to "-", storageClassName: "", which disables dynamic provisioning
140   ## If undefined (the default) or set to null, no storageClassName spec is
141   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
142   ##   GKE, AWS & OpenStack)
143   ##
144   # storageClass: "-"
145   ## Persistent Volume Claim annotations
146   ##
147   annotations: {}
148   ## Persistent Volume Access Mode
149   ##
150   accessMode:  ReadWriteOnce
151   ## Persistent Volume size
152   ##
153   size: 8Gi
154 ## Provide functionality to use RBAC
155 ##
156   # existingClaim:
157   volumeReclaimPolicy: Retain
158   mountSubPath: elastic-data
159   storageType: local
160   backup:
161     mountPath: /dockerdata-nfs/backup
162 serviceAccount:
163   ## Specifies whether a ServiceAccount should be created for the data node
164   ##
165   create: false
166   ## The name of the ServiceAccount to use.
167   ## If not set and create is true, a name is generated using the fullname template
168   ##
169   # name: