DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
elasticsearch logoHELM

elasticsearch

Helm chart
iamguarded
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# This file has been modified by Chainguard, Inc.
2
#
3
# Copyright Chainguard, Inc. All Rights Reserved.
4
# Chainguard, Inc. modifications are subject to the license
5
# available at: https://www.chainguard.dev/legal/software-license-agreement
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
10
## @section Global parameters
11
## Global Docker image parameters
12
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
14
15
## @param global.imageRegistry Global Docker image registry
16
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
17
## @param global.imagePullSecrets Global Docker registry secret names as an array
18
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
19
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
20
## @param global.elasticsearch.service.name Elasticsearch service name to be referenced by the Kibana subchart (ignored if kibanaEnabled=false or global.elasticsearch.service.fullname is set)
21
## @param global.elasticsearch.service.fullname Full Elasticsearch service name to be referenced by the Kibana subchart (ignored if kibanaEnabled=false)
22
## @param global.elasticsearch.service.ports.restAPI Elasticsearch service restAPI port to be used in the Kibana subchart (ignored if kibanaEnabled=false)
23
## @param global.kibanaEnabled Whether or not to enable Kibana
24
##
25
global:
26
imageRegistry: ""
27
useImageTags: false
28
## E.g.
29
## imagePullSecrets:
30
## - myRegistryKeySecretName
31
##
32
imagePullSecrets: []
33
defaultStorageClass: ""
34
storageClass: ""
35
## Security parameters
36
##
37
security:
38
## @param global.security.allowInsecureImages Allows skipping image verification
39
allowInsecureImages: false
40
elasticsearch:
41
service:
42
name: elasticsearch
43
fullname: ""
44
ports:
45
restAPI: 9200
46
kibanaEnabled: false
47
## Compatibility adaptations for Kubernetes platforms
48
##
49
compatibility:
50
## Compatibility adaptations for Openshift
51
##
52
openshift:
53
## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
54
##
55
adaptSecurityContext: auto
56
org: ""
57
## @section Common parameters
58
59
## @param kubeVersion Override Kubernetes version
60
##
61
kubeVersion: ""
62
## @param nameOverride String to partially override common.names.fullname
63
##
64
nameOverride: ""
65
## @param fullnameOverride String to fully override common.names.fullname
66
##
67
fullnameOverride: ""
68
## @param commonLabels Labels to add to all deployed objects
69
##
70
commonLabels: {}
71
## @param commonAnnotations Annotations to add to all deployed objects
72
##
73
commonAnnotations: {}
74
## @param clusterDomain Kubernetes cluster domain name
75
##
76
clusterDomain: cluster.local
77
## @param extraDeploy Array of extra objects to deploy with the release
78
##
79
extraDeploy: []
80
## @param namespaceOverride String to fully override common.names.namespace
81
##
82
namespaceOverride: ""
83
## @param usePasswordFiles Mount credentials as files instead of using environment variables
84
##
85
usePasswordFiles: true
86
## Enable diagnostic mode in the deployment
87
##
88
diagnosticMode:
89
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
90
##
91
enabled: false
92
## @param diagnosticMode.command Command to override all containers in the deployment
93
##
94
command:
95
- sleep
96
## @param diagnosticMode.args Args to override all containers in the deployment
97
##
98
args:
99
- infinity
100
## @section Elasticsearch cluster Parameters
101
102
## @param clusterName Elasticsearch cluster name
103
##
104
clusterName: elastic
105
## @param containerPorts.restAPI Elasticsearch REST API port
106
## @param containerPorts.transport Elasticsearch Transport port
107
##
108
containerPorts:
109
restAPI: 9200
110
transport: 9300
111
## @param plugins Comma, semi-colon or space separated list of plugins to install at initialization
112
##
113
plugins: ""
114
## @param snapshotRepoPath File System snapshot repository path
115
##
116
snapshotRepoPath: ""
117
## @param config Override elasticsearch configuration
118
##
119
config: {}
120
## @param extraConfig Append extra configuration to the elasticsearch node configuration
121
## Use this instead of `config` to add more configuration
122
## See below example:
123
## extraConfig:
124
## node:
125
## store:
126
## allow_mmap: false
127
## ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
128
##
129
extraConfig: {}
130
## @param extraHosts A list of external hosts which are part of this cluster
131
## Example Use Case: When you have a cluster with nodes spaned acorss multiple K8s or namespaces
132
## extraHosts:
133
## - datacenter2-elasticsearch-master-hl.namespace2.svc
134
## - datacenter2-elasticsearch-data-hl.namespace2.svc
135
extraHosts: []
136
## @param extraVolumes A list of volumes to be added to the pod
137
## Example Use Case: mount ssl certificates when elasticsearch has tls enabled
138
## extraVolumes:
139
## - name: es-certs
140
## secret:
141
## defaultMode: 420
142
## secretName: es-certs
143
extraVolumes: []
144
## @param extraVolumeMounts A list of volume mounts to be added to the pod
145
## extraVolumeMounts:
146
## - name: es-certs
147
## mountPath: /certs
148
## readOnly: true
149
extraVolumeMounts: []
150
## @param initScripts Dictionary of init scripts. Evaluated as a template.
151
## Specify dictionary of scripts to be run at first boot
152
## Alternatively, you can put your scripts under the files/docker-entrypoint-initdb.d directory
153
## For example:
154
## initScripts:
155
## my_init_script.sh: |
156
## #!/bin/sh
157
## echo "Do something."
158
##
159
initScripts: {}
160
## @param initScriptsCM ConfigMap with the init scripts. Evaluated as a template.
161
## Note: This will override initScripts
162
##
163
initScriptsCM: ""
164
## @param initScriptsSecret Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time that contain sensitive data. Evaluated as a template.
165
##
166
initScriptsSecret: ""
167
## @param extraEnvVars Array containing extra env vars to be added to all pods (evaluated as a template)
168
## For example:
169
## extraEnvVars:
170
## - name: MY_ENV_VAR
171
## value: env_var_value
172
##
173
extraEnvVars: []
174
## @param extraEnvVarsCM ConfigMap containing extra env vars to be added to all pods (evaluated as a template)
175
##
176
extraEnvVarsCM: ""
177
## @param extraEnvVarsSecret Secret containing extra env vars to be added to all pods (evaluated as a template)
178
##
179
extraEnvVarsSecret: ""
180
## @param sidecars Add additional sidecar containers to the all elasticsearch node pod(s)
181
## e.g:
182
## sidecars:
183
## - name: your-image-name
184
## image: your-image
185
## imagePullPolicy: Always
186
## ports:
187
## - name: portname
188
## containerPort: 1234
189
##
190
sidecars: []
191
## @param initContainers Add additional init containers to the all elasticsearch node pod(s)
192
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
193
## e.g:
194
## initContainers:
195
## - name: your-image-name
196
## image: your-image
197
## imagePullPolicy: Always
198
## command: ['sh', '-c', 'echo "hello world"']
199
##
200
initContainers: []
201
## @param enableDefaultInitContainers enables (or disables if false) the default init containers (sysctl, volume permissions, copy plugins etc...)
202
##
203
enableDefaultInitContainers: true
204
## @param useIstioLabels Use this variable to add Istio labels to all pods
205
##
206
useIstioLabels: true
207
## Iamguarded Elasticsearch image
208
## @param image.registry [default: REGISTRY_NAME] Elasticsearch image registry
209
## @param image.repository [default: REPOSITORY_NAME/elasticsearch] Elasticsearch image repository
210
## @skip image.tag Elasticsearch image tag (immutable tags are recommended)
211
## @param image.digest Elasticsearch image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
212
## @param image.pullPolicy Elasticsearch image pull policy
213
## @param image.pullSecrets Elasticsearch image pull secrets
214
## @param image.debug Enable Elasticsearch image debug mode
215
##
216
image:
217
registry: cgr.dev
218
repository: chainguard-private/elasticsearch-iamguarded
219
tag: 9.5.7
220
digest: ""
221
## Specify a imagePullPolicy
222
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
223
##
224
pullPolicy: IfNotPresent
225
## Optionally specify an array of imagePullSecrets.
226
## Secrets must be manually created in the namespace.
227
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
228
## e.g:
229
## pullSecrets:
230
## - myRegistryKeySecretName
231
##
232
pullSecrets: []
233
## Enable debug mode
234
##
235
debug: false
236
## X-Pack security parameters
237
## Note: TLS configuration is required in order to configure password authentication
238
##
239
security:
240
## @param security.enabled Enable X-Pack Security settings
241
##
242
enabled: false
243
## @param security.elasticPassword Password for 'elastic' user
244
##
245
elasticPassword: ""
246
## @param security.existingSecret Name of the existing secret containing the Elasticsearch password (expected key: `elasticsearch-password`)
247
##
248
existingSecret: ""
249
## FIPS mode
250
## @param security.fipsMode Configure elasticsearch with FIPS 140 compliant mode
251
## Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/fips-140-compliance.html
252
##
253
fipsMode: false
254
## TLS configuration
255
##
256
tls:
257
## @param security.tls.restEncryption Enable SSL/TLS encryption for Elasticsearch REST API.
258
##
259
restEncryption: true
260
## @param security.tls.autoGenerated Create self-signed TLS certificates.
261
## NOTE: If autoGenerated certs are enabled and a new node type is enabled using helm upgrade, make sure you remove previously existing Elasticsearch TLS secrets.
262
## Otherwise, the new node certs won't match the existing certs.
263
##
264
autoGenerated: false
265
## @param security.tls.verificationMode Verification mode for SSL communications.
266
## Supported values: full, certificate, none.
267
## Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html
268
##
269
verificationMode: "full"
270
## @param security.tls.master.existingSecret Existing secret containing the certificates for the master nodes
271
## @param security.tls.data.existingSecret Existing secret containing the certificates for the data nodes
272
## @param security.tls.ingest.existingSecret Existing secret containing the certificates for the ingest nodes
273
## @param security.tls.coordinating.existingSecret Existing secret containing the certificates for the coordinating nodes
274
##
275
master:
276
existingSecret: ""
277
data:
278
existingSecret: ""
279
ingest:
280
existingSecret: ""
281
coordinating:
282
existingSecret: ""
283
## @param security.tls.keystoreFilename Name of the keystore file
284
##
285
keystoreFilename: elasticsearch.keystore.jks
286
## @param security.tls.truststoreFilename Name of the truststore
287
##
288
truststoreFilename: elasticsearch.truststore.jks
289
## @param security.tls.usePemCerts Use this variable if your secrets contain PEM certificates instead of JKS/PKCS12
290
## Ignored when using autoGenerated certs.
291
##
292
usePemCerts: false
293
## @param security.tls.passwordsSecret Existing secret containing the Keystore and Truststore passwords, or key password if PEM certs are used
294
##
295
passwordsSecret: ""
296
## @param security.tls.keystorePassword Password to access the JKS/PKCS12 keystore or PEM key when they are password-protected.
297
## Ignored if security.tls.passwordsSecret is provided.
298
##
299
keystorePassword: ""
300
## @param security.tls.truststorePassword Password to access the JKS/PKCS12 truststore when they are password-protected.
301
## Ignored if security.tls.passwordsSecret is provided.
302
##
303
truststorePassword: ""
304
## @param security.tls.keyPassword Password to access the PEM key when they are password-protected.
305
## Ignored if security.tls.passwordsSecret is provided.
306
##
307
keyPassword: ""
308
## @param security.tls.secretKeystoreKey Name of the secret key containing the Keystore password
309
##
310
secretKeystoreKey: ""
311
## @param security.tls.secretTruststoreKey Name of the secret key containing the Truststore password
312
##
313
secretTruststoreKey: ""
314
## @param security.tls.secretKey Name of the secret key containing the PEM key password
315
##
316
secretKey: ""
317
## @section Traffic Exposure Parameters
318
##
319
320
## Elasticsearch service parameters
321
##
322
service:
323
## @param service.type Elasticsearch service type
324
##
325
type: ClusterIP
326
## @param service.ports.restAPI Elasticsearch service REST API port
327
## @param service.ports.transport Elasticsearch service transport port
328
##
329
ports:
330
restAPI: 9200
331
transport: 9300
332
## Node ports to expose
333
## @param service.nodePorts.restAPI Node port for REST API
334
## @param service.nodePorts.transport Node port for REST API
335
## NOTE: choose port between <30000-32767>
336
##
337
nodePorts:
338
restAPI: ""
339
transport: ""
340
## @param service.clusterIP Elasticsearch service Cluster IP
341
## e.g.:
342
## clusterIP: None
343
##
344
clusterIP: ""
345
## @param service.loadBalancerIP Elasticsearch service Load Balancer IP
346
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
347
##
348
loadBalancerIP: ""
349
## @param service.loadBalancerSourceRanges Elasticsearch service Load Balancer sources
350
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
351
## e.g:
352
## loadBalancerSourceRanges:
353
## - 10.10.10.0/24
354
##
355
loadBalancerSourceRanges: []
356
## @param service.externalTrafficPolicy Elasticsearch service external traffic policy
357
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
358
##
359
externalTrafficPolicy: Cluster
360
## @param service.annotations Additional custom annotations for Elasticsearch service
361
##
362
annotations: {}
363
## @param service.extraPorts Extra ports to expose in Elasticsearch service (normally used with the `sidecars` value)
364
##
365
extraPorts: []
366
## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
367
## If "ClientIP", consecutive client requests will be directed to the same Pod
368
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
369
##
370
sessionAffinity: None
371
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
372
## sessionAffinityConfig:
373
## clientIP:
374
## timeoutSeconds: 300
375
##
376
sessionAffinityConfig: {}
377
## Elasticsearch ingress parameters
378
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
379
##
380
ingress:
381
## @param ingress.enabled Enable ingress record generation for Elasticsearch
382
##
383
enabled: false
384
## @param ingress.pathType Ingress path type
385
##
386
pathType: ImplementationSpecific
387
## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
388
##
389
apiVersion: ""
390
## @param ingress.hostname Default host for the ingress record
391
##
392
hostname: elasticsearch.local
393
## @param ingress.path Default path for the ingress record
394
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
395
##
396
path: /
397
## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
398
## Use this parameter to set the required annotations for cert-manager, see
399
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
400
## e.g:
401
## annotations:
402
## kubernetes.io/ingress.class: nginx
403
## cert-manager.io/cluster-issuer: cluster-issuer-name
404
##
405
annotations: {}
406
## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
407
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
408
## You can:
409
## - Use the `ingress.secrets` parameter to create this TLS secret
410
## - Rely on cert-manager to create it by setting the corresponding annotations
411
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
412
##
413
tls: false
414
## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
415
##
416
selfSigned: false
417
## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
418
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
419
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
420
##
421
ingressClassName: ""
422
## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
423
## e.g:
424
## extraHosts:
425
## - name: elasticsearch.local
426
## path: /
427
##
428
extraHosts: []
429
## @param ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
430
## e.g:
431
## extraPaths:
432
## - path: /*
433
## backend:
434
## serviceName: ssl-redirect
435
## servicePort: use-annotation
436
##
437
extraPaths: []
438
## @param ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
439
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
440
## e.g:
441
## extraTls:
442
## - hosts:
443
## - elasticsearch.local
444
## secretName: elasticsearch.local-tls
445
##
446
extraTls: []
447
## @param ingress.secrets Custom TLS certificates as secrets
448
## NOTE: 'key' and 'certificate' are expected in PEM format
449
## NOTE: 'name' should line up with a 'secretName' set further up
450
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
451
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
452
## It is also possible to create and manage the certificates outside of this helm chart
453
## Please see README.md for more information
454
## e.g:
455
## secrets:
456
## - name: elasticsearch.local-tls
457
## key: |-
458
## -----BEGIN RSA PRIVATE KEY-----
459
## ...
460
## -----END RSA PRIVATE KEY-----
461
## certificate: |-
462
## -----BEGIN CERTIFICATE-----
463
## ...
464
## -----END CERTIFICATE-----
465
##
466
secrets: []
467
## @param ingress.extraRules Additional rules to be covered with this ingress record
468
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
469
## e.g:
470
## extraRules:
471
## - host: example.local
472
## http:
473
## path: /
474
## backend:
475
## service:
476
## name: example-svc
477
## port:
478
## name: http
479
##
480
extraRules: []
481
## @section Master-elegible nodes parameters
482
master:
483
## @param master.masterOnly Deploy the Elasticsearch master-elegible nodes as master-only nodes. Recommended for high-demand deployments.
484
## If you are
485
masterOnly: true
486
## @param master.replicaCount Number of master-elegible replicas to deploy
487
##
488
replicaCount: 2
489
## @param master.extraRoles Append extra roles to the node role
490
##
491
extraRoles: []
492
## Pod Disruption Budget configuration
493
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
494
## @param master.pdb.create Enable/disable a Pod Disruption Budget creation
495
## @param master.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
496
## @param master.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
497
##
498
pdb:
499
create: true
500
minAvailable: ""
501
maxUnavailable: ""
502
## @param master.nameOverride String to partially override elasticsearch.master.fullname
503
##
504
nameOverride: ""
505
## @param master.fullnameOverride String to fully override elasticsearch.master.fullname
506
##
507
fullnameOverride: ""
508
## @param master.servicenameOverride String to fully override elasticsearch.master.servicename
509
##
510
servicenameOverride: ""
511
## @param master.annotations [object] Annotations for the master statefulset
512
##
513
annotations: {}
514
## @param master.updateStrategy.type Master-elegible nodes statefulset stategy type
515
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
516
##
517
updateStrategy:
518
type: RollingUpdate
519
## Elasticsearch resource requests and limits
520
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
521
## We usually recommend not to specify default resources and to leave this as a conscious
522
## choice for the user. This also increases chances charts run on environments with little
523
## resources, such as Minikube. If you do want to specify resources, uncomment the following
524
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
525
## @param master.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if master.resources is set (master.resources is recommended for production).
526
##
527
resourcesPreset: "small"
528
## @param master.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
529
## Example:
530
## resources:
531
## requests:
532
## cpu: 2
533
## memory: 512Mi
534
## limits:
535
## cpu: 3
536
## memory: 1024Mi
537
##
538
resources: {}
539
## @param master.heapSize Elasticsearch master-eligible node heap size.
540
## Note: The recommended heapSize is half of the container's memory.
541
## If omitted, it will be automatically set.
542
## Example:
543
## heapSize: 128m
544
##
545
heapSize: 128m
546
## Configure Pods Security Context
547
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
548
## @param master.podSecurityContext.enabled Enabled master-elegible pods' Security Context
549
## @param master.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
550
## @param master.podSecurityContext.sysctls Set kernel settings using the sysctl interface
551
## @param master.podSecurityContext.supplementalGroups Set filesystem extra groups
552
## @param master.podSecurityContext.fsGroup Set master-elegible pod's Security Context fsGroup
553
##
554
podSecurityContext:
555
enabled: true
556
fsGroupChangePolicy: Always
557
sysctls: []
558
supplementalGroups: []
559
fsGroup: 1001
560
## Configure Container Security Context
561
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
562
## @param master.containerSecurityContext.enabled Elasticseacrh master-eligible container securityContext
563
## @param master.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
564
## @param master.containerSecurityContext.runAsUser User ID for the Elasticseacrh master-eligible container
565
## @param master.containerSecurityContext.runAsGroup Group ID for the Elasticseacrh master-eligible container
566
## @param master.containerSecurityContext.runAsNonRoot Set Elasticsearch master-eligible container's Security Context runAsNonRoot
567
## @param master.containerSecurityContext.privileged Set Elasticsearch master-eligible container's Security Context privileged
568
## @param master.containerSecurityContext.allowPrivilegeEscalation Set Elasticsearch master-eligible container's Security Context allowPrivilegeEscalation
569
## @param master.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
570
## @param master.containerSecurityContext.capabilities.drop List of capabilities to be dropped
571
## @param master.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
572
##
573
containerSecurityContext:
574
enabled: true
575
seLinuxOptions: {}
576
runAsUser: 1001
577
runAsGroup: 1001
578
runAsNonRoot: true
579
privileged: false
580
allowPrivilegeEscalation: false
581
readOnlyRootFilesystem: true
582
capabilities:
583
drop: ["ALL"]
584
seccompProfile:
585
type: "RuntimeDefault"
586
## Network Policies
587
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
588
##
589
networkPolicy:
590
## @param master.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
591
##
592
enabled: true
593
## @param master.networkPolicy.allowExternal Don't require server label for connections
594
## The Policy model to apply. When set to false, only pods with the correct
595
## server label will have network access to the ports server is listening
596
## on. When true, server will accept connections from any source
597
## (with the correct destination port).
598
##
599
allowExternal: true
600
## @param master.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
601
##
602
allowExternalEgress: true
603
## @param master.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
604
## e.g:
605
## extraIngress:
606
## - ports:
607
## - port: 1234
608
## from:
609
## - podSelector:
610
## - matchLabels:
611
## - role: frontend
612
## - podSelector:
613
## - matchExpressions:
614
## - key: role
615
## operator: In
616
## values:
617
## - frontend
618
extraIngress: []
619
## @param master.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
620
## e.g:
621
## extraEgress:
622
## - ports:
623
## - port: 1234
624
## to:
625
## - podSelector:
626
## - matchLabels:
627
## - role: frontend
628
## - podSelector:
629
## - matchExpressions:
630
## - key: role
631
## operator: In
632
## values:
633
## - frontend
634
##
635
extraEgress: []
636
## @param master.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
637
## @param master.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
638
##
639
ingressNSMatchLabels: {}
640
ingressNSPodMatchLabels: {}
641
## @param master.automountServiceAccountToken Mount Service Account token in pod
642
##
643
automountServiceAccountToken: false
644
## @param master.hostAliases master-elegible pods host aliases
645
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
646
##
647
hostAliases: []
648
## @param master.podLabels Extra labels for master-elegible pods
649
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
650
##
651
podLabels: {}
652
## @param master.podAnnotations Annotations for master-elegible pods
653
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
654
##
655
podAnnotations: {}
656
## @param master.shareProcessNamespace Share a single process namespace between all of the containers in pod
657
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
658
##
659
shareProcessNamespace: false
660
## @param master.podAffinityPreset Pod affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
661
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
662
##
663
podAffinityPreset: ""
664
## @param master.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
665
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
666
##
667
podAntiAffinityPreset: ""
668
## Node master.affinity preset
669
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
670
##
671
nodeAffinityPreset:
672
## @param master.nodeAffinityPreset.type Node affinity preset type. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
673
##
674
type: ""
675
## @param master.nodeAffinityPreset.key Node label key to match. Ignored if `master.affinity` is set
676
##
677
key: ""
678
## @param master.nodeAffinityPreset.values Node label values to match. Ignored if `master.affinity` is set
679
## E.g.
680
## values:
681
## - e2e-az1
682
## - e2e-az2
683
##
684
values: []
685
## @param master.affinity Affinity for master-elegible pods assignment
686
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
687
## NOTE: `master.podAffinityPreset`, `master.podAntiAffinityPreset`, and `master.nodeAffinityPreset` will be ignored when it's set
688
##
689
affinity: {}
690
## @param master.nodeSelector Node labels for master-elegible pods assignment
691
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
692
##
693
nodeSelector: {}
694
## @param master.tolerations Tolerations for master-elegible pods assignment
695
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
696
##
697
tolerations: []
698
## @param master.priorityClassName master-elegible pods' priorityClassName
699
##
700
priorityClassName: ""
701
## @param master.schedulerName Name of the k8s scheduler (other than default) for master-elegible pods
702
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
703
##
704
schedulerName: ""
705
## @param master.terminationGracePeriodSeconds In seconds, time the given to the Elasticsearch Master pod needs to terminate gracefully
706
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
707
##
708
terminationGracePeriodSeconds: ""
709
## @param master.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
710
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
711
##
712
topologySpreadConstraints: []
713
## @param master.podManagementPolicy podManagementPolicy to manage scaling operation of Elasticsearch master pods
714
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
715
##
716
podManagementPolicy: "Parallel"
717
## @param master.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
718
##
719
minReadySeconds: 0
720
## Configure extra options for Elasticsearch master-elegible containers' liveness, readiness and startup probes
721
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
722
## @param master.startupProbe.enabled Enable/disable the startup probe (master nodes pod)
723
## @param master.startupProbe.initialDelaySeconds Delay before startup probe is initiated (master nodes pod)
724
## @param master.startupProbe.periodSeconds How often to perform the probe (master nodes pod)
725
## @param master.startupProbe.timeoutSeconds When the probe times out (master nodes pod)
726
## @param master.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master nodes pod)
727
## @param master.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
728
##
729
startupProbe:
730
enabled: false
731
initialDelaySeconds: 90
732
periodSeconds: 10
733
timeoutSeconds: 5
734
successThreshold: 1
735
failureThreshold: 5
736
## @param master.livenessProbe.enabled Enable/disable the liveness probe (master-eligible nodes pod)
737
## @param master.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (master-eligible nodes pod)
738
## @param master.livenessProbe.periodSeconds How often to perform the probe (master-eligible nodes pod)
739
## @param master.livenessProbe.timeoutSeconds When the probe times out (master-eligible nodes pod)
740
## @param master.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master-eligible nodes pod)
741
## @param master.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
742
##
743
livenessProbe:
744
enabled: true
745
initialDelaySeconds: 180
746
periodSeconds: 10
747
timeoutSeconds: 5
748
successThreshold: 1
749
failureThreshold: 5
750
## @param master.readinessProbe.enabled Enable/disable the readiness probe (master-eligible nodes pod)
751
## @param master.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (master-eligible nodes pod)
752
## @param master.readinessProbe.periodSeconds How often to perform the probe (master-eligible nodes pod)
753
## @param master.readinessProbe.timeoutSeconds When the probe times out (master-eligible nodes pod)
754
## @param master.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master-eligible nodes pod)
755
## @param master.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
756
##
757
readinessProbe:
758
enabled: true
759
initialDelaySeconds: 90
760
periodSeconds: 10
761
timeoutSeconds: 5
762
successThreshold: 1
763
failureThreshold: 5
764
## @param master.customStartupProbe Override default startup probe
765
##
766
customStartupProbe: {}
767
## @param master.customLivenessProbe Override default liveness probe
768
##
769
customLivenessProbe: {}
770
## @param master.customReadinessProbe Override default readiness probe
771
##
772
customReadinessProbe: {}
773
## @param master.command Override default container command (useful when using custom images)
774
##
775
command: []
776
## @param master.args Override default container args (useful when using custom images)
777
##
778
args: []
779
## @param master.lifecycleHooks for the master-elegible container(s) to automate configuration before or after startup
780
##
781
lifecycleHooks: {}
782
## @param master.extraEnvVars Array with extra environment variables to add to master-elegible nodes
783
## e.g:
784
## extraEnvVars:
785
## - name: FOO
786
## value: "bar"
787
##
788
extraEnvVars: []
789
## @param master.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for master-elegible nodes
790
##
791
extraEnvVarsCM: ""
792
## @param master.extraEnvVarsSecret Name of existing Secret containing extra env vars for master-elegible nodes
793
##
794
extraEnvVarsSecret: ""
795
## @param master.extraVolumes Optionally specify extra list of additional volumes for the master-elegible pod(s)
796
##
797
extraVolumes: []
798
## @param master.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the master-elegible container(s)
799
##
800
extraVolumeMounts: []
801
## @param master.sidecars Add additional sidecar containers to the master-elegible pod(s)
802
## e.g:
803
## sidecars:
804
## - name: your-image-name
805
## image: your-image
806
## imagePullPolicy: Always
807
## ports:
808
## - name: portname
809
## containerPort: 1234
810
##
811
sidecars: []
812
## @param master.initContainers Add additional init containers to the master-elegible pod(s)
813
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
814
## e.g:
815
## initContainers:
816
## - name: your-image-name
817
## image: your-image
818
## imagePullPolicy: Always
819
## command: ['sh', '-c', 'echo "hello world"']
820
##
821
initContainers: []
822
## Enable persistence using Persistent Volume Claims
823
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
824
##
825
persistence:
826
## @param master.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
827
##
828
enabled: true
829
## @param master.persistence.storageClass Persistent Volume Storage Class
830
## If defined, storageClassName: <storageClass>
831
## If set to "-", storageClassName: "", which disables dynamic provisioning
832
## If undefined (the default) or set to null, no storageClassName spec is
833
## set, choosing the default provisioner. (gp2 on AWS, standard on
834
## GKE, AWS & OpenStack)
835
##
836
storageClass: ""
837
## @param master.persistence.existingClaim Existing Persistent Volume Claim
838
## then accept the value as an existing Persistent Volume Claim to which
839
## the container should be bound
840
##
841
existingClaim: ""
842
## @param master.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `master.persistence.selector` is set.
843
##
844
existingVolume: ""
845
## @param master.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `master.persistence.existingVolume`
846
## selector:
847
## matchLabels:
848
## volume:
849
##
850
selector: {}
851
## @param master.persistence.annotations Persistent Volume Claim annotations
852
##
853
annotations: {}
854
## @param master.persistence.accessModes Persistent Volume Access Modes
855
##
856
accessModes:
857
- ReadWriteOnce
858
## @param master.persistence.size Persistent Volume Size
859
##
860
size: 8Gi
861
## Master Persistent Volume Claim Retention Policy
862
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
863
##
864
persistentVolumeClaimRetentionPolicy:
865
## @param master.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Master StatefulSet
866
##
867
enabled: false
868
## @param master.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
869
##
870
whenScaled: Retain
871
## @param master.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
872
##
873
whenDeleted: Retain
874
## Pods Service Account
875
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
876
## @param master.serviceAccount.create Specifies whether a ServiceAccount should be created
877
## @param master.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
878
## @param master.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
879
## @param master.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
880
##
881
serviceAccount:
882
create: true
883
name: ""
884
automountServiceAccountToken: false
885
annotations: {}
886
## Enable HorizontalPodAutoscaler for Elasticsearch Master pods
887
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
888
## @param master.autoscaling.enabled Whether enable horizontal pod autoscale
889
## @param master.autoscaling.minReplicas Configure a minimum amount of pods
890
## @param master.autoscaling.maxReplicas Configure a maximum amount of pods
891
## @param master.autoscaling.targetCPU Define the CPU target to trigger the scaling actions (utilization percentage)
892
## @param master.autoscaling.targetMemory Define the memory target to trigger the scaling actions (utilization percentage)
893
##
894
autoscaling:
895
enabled: false
896
minReplicas: 3
897
maxReplicas: 11
898
targetCPU: ""
899
targetMemory: ""
900
## @section Data-only nodes parameters
901
data:
902
## @param data.replicaCount Number of data-only replicas to deploy
903
##
904
replicaCount: 2
905
## @param data.extraRoles Append extra roles to the node role
906
##
907
extraRoles: []
908
## Pod Disruption Budget configuration
909
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
910
## @param data.pdb.create Enable/disable a Pod Disruption Budget creation
911
## @param data.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
912
## @param data.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
913
##
914
pdb:
915
create: true
916
minAvailable: ""
917
maxUnavailable: ""
918
## @param data.nameOverride String to partially override elasticsearch.data.fullname
919
##
920
nameOverride: ""
921
## @param data.fullnameOverride String to fully override elasticsearch.data.fullname
922
##
923
fullnameOverride: ""
924
## @param data.servicenameOverride String to fully override elasticsearch.data.servicename
925
##
926
servicenameOverride: ""
927
## @param data.annotations [object] Annotations for the data statefulset
928
##
929
annotations: {}
930
## @param data.updateStrategy.type Data-only nodes statefulset stategy type
931
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
932
##
933
updateStrategy:
934
type: RollingUpdate
935
## Elasticsearch resource requests and limits
936
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
937
## @param data.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if data.resources is set (data.resources is recommended for production).
938
##
939
resourcesPreset: "medium"
940
## @param data.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
941
## Example:
942
## resources:
943
## requests:
944
## cpu: 2
945
## memory: 512Mi
946
## limits:
947
## cpu: 3
948
## memory: 1024Mi
949
##
950
resources: {}
951
## @param data.heapSize Elasticsearch data node heap size.
952
## Note: The recommended heapSize is half of the container's memory.
953
## If omitted, it will be automatically set.
954
## Example:
955
## heapSize: 128m
956
##
957
heapSize: 1024m
958
## Configure Pods Security Context
959
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
960
## @param data.podSecurityContext.enabled Enabled data pods' Security Context
961
## @param data.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
962
## @param data.podSecurityContext.sysctls Set kernel settings using the sysctl interface
963
## @param data.podSecurityContext.supplementalGroups Set filesystem extra groups
964
## @param data.podSecurityContext.fsGroup Set data pod's Security Context fsGroup
965
##
966
podSecurityContext:
967
enabled: true
968
fsGroupChangePolicy: Always
969
sysctls: []
970
supplementalGroups: []
971
fsGroup: 1001
972
## Configure Container Security Context
973
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
974
## @param data.containerSecurityContext.enabled Elasticseacrh data container securityContext
975
## @param data.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
976
## @param data.containerSecurityContext.runAsUser User ID for the Elasticseacrh data container
977
## @param data.containerSecurityContext.runAsGroup Group ID for the Elasticseacrh data container
978
## @param data.containerSecurityContext.runAsNonRoot Set Elasticsearch data container's Security Context runAsNonRoot
979
## @param data.containerSecurityContext.privileged Set Elasticsearch data container's Security Context privileged
980
## @param data.containerSecurityContext.allowPrivilegeEscalation Set Elasticsearch data container's Security Context allowPrivilegeEscalation
981
## @param data.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
982
## @param data.containerSecurityContext.capabilities.drop List of capabilities to be dropped
983
## @param data.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
984
##
985
containerSecurityContext:
986
enabled: true
987
seLinuxOptions: {}
988
runAsUser: 1001
989
runAsGroup: 1001
990
runAsNonRoot: true
991
privileged: false
992
allowPrivilegeEscalation: false
993
readOnlyRootFilesystem: true
994
capabilities:
995
drop: ["ALL"]
996
seccompProfile:
997
type: "RuntimeDefault"
998
## Network Policies
999
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1000
##
1001
networkPolicy:
1002
## @param data.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1003
##
1004
enabled: true
1005
## @param data.networkPolicy.allowExternal Don't require server label for connections
1006
## The Policy model to apply. When set to false, only pods with the correct
1007
## server label will have network access to the ports server is listening
1008
## on. When true, server will accept connections from any source
1009
## (with the correct destination port).
1010
##
1011
allowExternal: true
1012
## @param data.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1013
##
1014
allowExternalEgress: true
1015
## @param data.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1016
## e.g:
1017
## extraIngress:
1018
## - ports:
1019
## - port: 1234
1020
## from:
1021
## - podSelector:
1022
## - matchLabels:
1023
## - role: frontend
1024
## - podSelector:
1025
## - matchExpressions:
1026
## - key: role
1027
## operator: In
1028
## values:
1029
## - frontend
1030
extraIngress: []
1031
## @param data.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1032
## e.g:
1033
## extraEgress:
1034
## - ports:
1035
## - port: 1234
1036
## to:
1037
## - podSelector:
1038
## - matchLabels:
1039
## - role: frontend
1040
## - podSelector:
1041
## - matchExpressions:
1042
## - key: role
1043
## operator: In
1044
## values:
1045
## - frontend
1046
##
1047
extraEgress: []
1048
## @param data.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1049
## @param data.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1050
##
1051
ingressNSMatchLabels: {}
1052
ingressNSPodMatchLabels: {}
1053
## @param data.automountServiceAccountToken Mount Service Account token in pod
1054
##
1055
automountServiceAccountToken: false
1056
## @param data.hostAliases data pods host aliases
1057
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1058
##
1059
hostAliases: []
1060
## @param data.podLabels Extra labels for data pods
1061
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1062
##
1063
podLabels: {}
1064
## @param data.podAnnotations Annotations for data pods
1065
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1066
##
1067
podAnnotations: {}
1068
## @param data.shareProcessNamespace Share a single process namespace between all of the containers in pod
1069
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
1070
##
1071
shareProcessNamespace: false
1072
## @param data.podAffinityPreset Pod affinity preset. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1073
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1074
##
1075
podAffinityPreset: ""
1076
## @param data.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1077
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1078
##
1079
podAntiAffinityPreset: ""
1080
## Node data.affinity preset
1081
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1082
##
1083
nodeAffinityPreset:
1084
## @param data.nodeAffinityPreset.type Node affinity preset type. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1085
##
1086
type: ""
1087
## @param data.nodeAffinityPreset.key Node label key to match. Ignored if `data.affinity` is set
1088
##
1089
key: ""
1090
## @param data.nodeAffinityPreset.values Node label values to match. Ignored if `data.affinity` is set
1091
## E.g.
1092
## values:
1093
## - e2e-az1
1094
## - e2e-az2
1095
##
1096
values: []
1097
## @param data.affinity Affinity for data pods assignment
1098
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1099
## NOTE: `data.podAffinityPreset`, `data.podAntiAffinityPreset`, and `data.nodeAffinityPreset` will be ignored when it's set
1100
##
1101
affinity: {}
1102
## @param data.nodeSelector Node labels for data pods assignment
1103
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1104
##
1105
nodeSelector: {}
1106
## @param data.tolerations Tolerations for data pods assignment
1107
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1108
##
1109
tolerations: []
1110
## @param data.priorityClassName data pods' priorityClassName
1111
##
1112
priorityClassName: ""
1113
## @param data.schedulerName Name of the k8s scheduler (other than default) for data pods
1114
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1115
##
1116
schedulerName: ""
1117
## @param data.terminationGracePeriodSeconds In seconds, time the given to the Elasticsearch data pod needs to terminate gracefully
1118
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1119
##
1120
terminationGracePeriodSeconds: ""
1121
## @param data.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1122
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1123
##
1124
topologySpreadConstraints: []
1125
## @param data.podManagementPolicy podManagementPolicy to manage scaling operation of Elasticsearch data pods
1126
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1127
##
1128
podManagementPolicy: "Parallel"
1129
## @param data.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
1130
##
1131
minReadySeconds: 0
1132
## Configure extra options for Elasticsearch data containers' liveness, readiness and startup probes
1133
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1134
## @param data.startupProbe.enabled Enable/disable the startup probe (data nodes pod)
1135
## @param data.startupProbe.initialDelaySeconds Delay before startup probe is initiated (data nodes pod)
1136
## @param data.startupProbe.periodSeconds How often to perform the probe (data nodes pod)
1137
## @param data.startupProbe.timeoutSeconds When the probe times out (data nodes pod)
1138
## @param data.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1139
## @param data.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1140
##
1141
startupProbe:
1142
enabled: false
1143
initialDelaySeconds: 90
1144
periodSeconds: 10
1145
timeoutSeconds: 5
1146
successThreshold: 1
1147
failureThreshold: 5
1148
## @param data.livenessProbe.enabled Enable/disable the liveness probe (data nodes pod)
1149
## @param data.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (data nodes pod)
1150
## @param data.livenessProbe.periodSeconds How often to perform the probe (data nodes pod)
1151
## @param data.livenessProbe.timeoutSeconds When the probe times out (data nodes pod)
1152
## @param data.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1153
## @param data.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1154
##
1155
livenessProbe:
1156
enabled: true
1157
initialDelaySeconds: 180
1158
periodSeconds: 10
1159
timeoutSeconds: 5
1160
successThreshold: 1
1161
failureThreshold: 5
1162
## @param data.readinessProbe.enabled Enable/disable the readiness probe (data nodes pod)
1163
## @param data.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (data nodes pod)
1164
## @param data.readinessProbe.periodSeconds How often to perform the probe (data nodes pod)
1165
## @param data.readinessProbe.timeoutSeconds When the probe times out (data nodes pod)
1166
## @param data.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1167
## @param data.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1168
##
1169
readinessProbe:
1170
enabled: true
1171
initialDelaySeconds: 90
1172
periodSeconds: 10
1173
timeoutSeconds: 5
1174
successThreshold: 1
1175
failureThreshold: 5
1176
## @param data.customStartupProbe Override default startup probe
1177
##
1178
customStartupProbe: {}
1179
## @param data.customLivenessProbe Override default liveness probe
1180
##
1181
customLivenessProbe: {}
1182
## @param data.customReadinessProbe Override default readiness probe
1183
##
1184
customReadinessProbe: {}
1185
## @param data.command Override default container command (useful when using custom images)
1186
##
1187
command: []
1188
## @param data.args Override default container args (useful when using custom images)
1189
##
1190
args: []
1191
## @param data.lifecycleHooks for the data container(s) to automate configuration before or after startup
1192
##
1193
lifecycleHooks: {}
1194
## @param data.extraEnvVars Array with extra environment variables to add to data nodes
1195
## e.g:
1196
## extraEnvVars:
1197
## - name: FOO
1198
## value: "bar"
1199
##
1200
extraEnvVars: []
1201
## @param data.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for data nodes
1202
##
1203
extraEnvVarsCM: ""
1204
## @param data.extraEnvVarsSecret Name of existing Secret containing extra env vars for data nodes
1205
##
1206
extraEnvVarsSecret: ""
1207
## @param data.extraVolumes Optionally specify extra list of additional volumes for the data pod(s)
1208
##
1209
extraVolumes: []
1210
## @param data.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the data container(s)
1211
##
1212
extraVolumeMounts: []
1213
## @param data.sidecars Add additional sidecar containers to the data pod(s)
1214
## e.g:
1215
## sidecars:
1216
## - name: your-image-name
1217
## image: your-image
1218
## imagePullPolicy: Always
1219
## ports:
1220
## - name: portname
1221
## containerPort: 1234
1222
##
1223
sidecars: []
1224
## @param data.initContainers Add additional init containers to the data pod(s)
1225
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1226
## e.g:
1227
## initContainers:
1228
## - name: your-image-name
1229
## image: your-image
1230
## imagePullPolicy: Always
1231
## command: ['sh', '-c', 'echo "hello world"']
1232
##
1233
initContainers: []
1234
## Enable persistence using Persistent Volume Claims
1235
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1236
##
1237
persistence:
1238
## @param data.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
1239
##
1240
enabled: true
1241
## @param data.persistence.storageClass Persistent Volume Storage Class
1242
## If defined, storageClassName: <storageClass>
1243
## If set to "-", storageClassName: "", which disables dynamic provisioning
1244
## If undefined (the default) or set to null, no storageClassName spec is
1245
## set, choosing the default provisioner. (gp2 on AWS, standard on
1246
## GKE, AWS & OpenStack)
1247
##
1248
storageClass: ""
1249
## @param data.persistence.existingClaim Existing Persistent Volume Claim
1250
## then accept the value as an existing Persistent Volume Claim to which
1251
## the container should be bound
1252
##
1253
existingClaim: ""
1254
## @param data.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `data.persistence.selector` is set.
1255
##
1256
existingVolume: ""
1257
## @param data.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `data.persistence.existingVolume`
1258
## selector:
1259
## matchLabels:
1260
## volume:
1261
##
1262
selector: {}
1263
## @param data.persistence.annotations Persistent Volume Claim annotations
1264
##
1265
annotations: {}
1266
## @param data.persistence.accessModes Persistent Volume Access Modes
1267
##
1268
accessModes:
1269
- ReadWriteOnce
1270
## @param data.persistence.size Persistent Volume Size
1271
##
1272
size: 8Gi
1273
## Data Persistent Volume Claim Retention Policy
1274
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
1275
##
1276
persistentVolumeClaimRetentionPolicy:
1277
## @param data.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Data StatefulSet
1278
##
1279
enabled: false
1280
## @param data.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
1281
##
1282
whenScaled: Retain
1283
## @param data.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
1284
##
1285
whenDeleted: Retain
1286
## Pods Service Account
1287
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1288
## @param data.serviceAccount.create Specifies whether a ServiceAccount should be created
1289
## @param data.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
1290
## @param data.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1291
## @param data.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
1292
##
1293
serviceAccount:
1294
create: true
1295
name: ""
1296
automountServiceAccountToken: false
1297
annotations: {}
1298
## Enable HorizontalPodAutoscaler for Elasticsearch data pods
1299
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1300
## @param data.autoscaling.enabled Whether enable horizontal pod autoscale
1301
## @param data.autoscaling.minReplicas Configure a minimum amount of pods
1302
## @param data.autoscaling.maxReplicas Configure a maximum amount of pods
1303
## @param data.autoscaling.targetCPU Define the CPU target to trigger the scaling actions (utilization percentage)
1304
## @param data.autoscaling.targetMemory Define the memory target to trigger the scaling actions (utilization percentage)
1305
##
1306
autoscaling:
1307
enabled: false
1308
minReplicas: 3
1309
maxReplicas: 11
1310
targetCPU: ""
1311
targetMemory: ""
1312
## @section Coordinating-only nodes parameters
1313
coordinating:
1314
## @param coordinating.replicaCount Number of coordinating-only replicas to deploy
1315
##
1316
replicaCount: 2
1317
## @param coordinating.extraRoles Append extra roles to the node role
1318
## NOTE: In Elasticsearch, all nodes act as coordinators, coordinating-only nodes do not have any other role by default.
1319
##
1320
extraRoles: []
1321
## Pod Disruption Budget configuration
1322
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1323
## @param coordinating.pdb.create Enable/disable a Pod Disruption Budget creation
1324
## @param coordinating.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1325
## @param coordinating.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1326
##
1327
pdb:
1328
create: true
1329
minAvailable: ""
1330
maxUnavailable: ""
1331
## @param coordinating.nameOverride String to partially override elasticsearch.coordinating.fullname
1332
##
1333
nameOverride: ""
1334
## @param coordinating.fullnameOverride String to fully override elasticsearch.coordinating.fullname
1335
##
1336
fullnameOverride: ""
1337
## @param coordinating.servicenameOverride String to fully override elasticsearch.coordinating.servicename
1338
##
1339
servicenameOverride: ""
1340
## @param coordinating.annotations [object] Annotations for the coordinating-only statefulset
1341
##
1342
annotations: {}
1343
## @param coordinating.updateStrategy.type Coordinating-only nodes statefulset stategy type
1344
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1345
##
1346
updateStrategy:
1347
type: RollingUpdate
1348
## Elasticsearch resource requests and limits
1349
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1350
## @param coordinating.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if coordinating.resources is set (coordinating.resources is recommended for production).
1351
##
1352
resourcesPreset: "small"
1353
## @param coordinating.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1354
## Example:
1355
## resources:
1356
## requests:
1357
## cpu: 2
1358
## memory: 512Mi
1359
## limits:
1360
## cpu: 3
1361
## memory: 1024Mi
1362
##
1363
resources: {}
1364
## @param coordinating.heapSize Elasticsearch coordinating node heap size.
1365
## Note: The recommended heapSize is half of the container's memory.
1366
## If omitted, it will be automatically set.
1367
## Example:
1368
## heapSize: 128m
1369
##
1370
heapSize: 128m
1371
## Configure Pods Security Context
1372
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1373
## @param coordinating.podSecurityContext.enabled Enabled coordinating-only pods' Security Context
1374
## @param coordinating.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1375
## @param coordinating.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1376
## @param coordinating.podSecurityContext.supplementalGroups Set filesystem extra groups
1377
## @param coordinating.podSecurityContext.fsGroup Set coordinating-only pod's Security Context fsGroup
1378
##
1379
podSecurityContext:
1380
enabled: true
1381
fsGroupChangePolicy: Always
1382
sysctls: []
1383
supplementalGroups: []
1384
fsGroup: 1001
1385
## Configure Container Security Context
1386
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1387
## @param coordinating.containerSecurityContext.enabled Elasticseacrh coordinating container securityContext
1388
## @param coordinating.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1389
## @param coordinating.containerSecurityContext.runAsUser User ID for the Elasticseacrh coordinating container
1390
## @param coordinating.containerSecurityContext.runAsGroup Group ID for the Elasticseacrh coordinating container
1391
## @param coordinating.containerSecurityContext.runAsNonRoot Set Elasticsearch coordinating container's Security Context runAsNonRoot
1392
## @param coordinating.containerSecurityContext.privileged Set Elasticsearch coordinating container's Security Context privileged
1393
## @param coordinating.containerSecurityContext.allowPrivilegeEscalation Set Elasticsearch coordinating container's Security Context allowPrivilegeEscalation
1394
## @param coordinating.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1395
## @param coordinating.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1396
## @param coordinating.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1397
##
1398
containerSecurityContext:
1399
enabled: true
1400
seLinuxOptions: {}
1401
runAsUser: 1001
1402
runAsGroup: 1001
1403
runAsNonRoot: true
1404
privileged: false
1405
allowPrivilegeEscalation: false
1406
readOnlyRootFilesystem: true
1407
capabilities:
1408
drop: ["ALL"]
1409
seccompProfile:
1410
type: "RuntimeDefault"
1411
## Network Policies
1412
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1413
##
1414
networkPolicy:
1415
## @param coordinating.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1416
##
1417
enabled: true
1418
## @param coordinating.networkPolicy.allowExternal Don't require server label for connections
1419
## The Policy model to apply. When set to false, only pods with the correct
1420
## server label will have network access to the ports server is listening
1421
## on. When true, server will accept connections from any source
1422
## (with the correct destination port).
1423
##
1424
allowExternal: true
1425
## @param coordinating.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1426
##
1427
allowExternalEgress: true
1428
## @param coordinating.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1429
## e.g:
1430
## extraIngress:
1431
## - ports:
1432
## - port: 1234
1433
## from:
1434
## - podSelector:
1435
## - matchLabels:
1436
## - role: frontend
1437
## - podSelector:
1438
## - matchExpressions:
1439
## - key: role
1440
## operator: In
1441
## values:
1442
## - frontend
1443
extraIngress: []
1444
## @param coordinating.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1445
## e.g:
1446
## extraEgress:
1447
## - ports:
1448
## - port: 1234
1449
## to:
1450
## - podSelector:
1451
## - matchLabels:
1452
## - role: frontend
1453
## - podSelector:
1454
## - matchExpressions:
1455
## - key: role
1456
## operator: In
1457
## values:
1458
## - frontend
1459
##
1460
extraEgress: []
1461
## @param coordinating.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1462
## @param coordinating.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1463
##
1464
ingressNSMatchLabels: {}
1465
ingressNSPodMatchLabels: {}
1466
## @param coordinating.automountServiceAccountToken Mount Service Account token in pod
1467
##
1468
automountServiceAccountToken: false
1469
## @param coordinating.hostAliases coordinating-only pods host aliases
1470
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1471
##
1472
hostAliases: []
1473
## @param coordinating.podLabels Extra labels for coordinating-only pods
1474
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1475
##
1476
podLabels: {}
1477
## @param coordinating.podAnnotations Annotations for coordinating-only pods
1478
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1479
##
1480
podAnnotations: {}
1481
## @param coordinating.shareProcessNamespace Share a single process namespace between all of the containers in pod
1482
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
1483
##
1484
shareProcessNamespace: false
1485
## @param coordinating.podAffinityPreset Pod affinity preset. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1486
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1487
##
1488
podAffinityPreset: ""
1489
## @param coordinating.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1490
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1491
##
1492
podAntiAffinityPreset: ""
1493
## Node coordinating.affinity preset
1494
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1495
##
1496
nodeAffinityPreset:
1497
## @param coordinating.nodeAffinityPreset.type Node affinity preset type. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1498
##
1499
type: ""
1500
## @param coordinating.nodeAffinityPreset.key Node label key to match. Ignored if `coordinating.affinity` is set
1501
##
1502
key: ""
1503
## @param coordinating.nodeAffinityPreset.values Node label values to match. Ignored if `coordinating.affinity` is set
1504
## E.g.
1505
## values:
1506
## - e2e-az1
1507
## - e2e-az2
1508
##
1509
values: []
1510
## @param coordinating.affinity Affinity for coordinating-only pods assignment
1511
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1512
## NOTE: `coordinating.podAffinityPreset`, `coordinating.podAntiAffinityPreset`, and `coordinating.nodeAffinityPreset` will be ignored when it's set
1513
##
1514
affinity: {}
1515
## @param coordinating.nodeSelector Node labels for coordinating-only pods assignment
1516
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1517
##
1518
nodeSelector: {}
1519
## @param coordinating.tolerations Tolerations for coordinating-only pods assignment
1520
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1521
##
1522
tolerations: []
1523
## @param coordinating.priorityClassName coordinating-only pods' priorityClassName
1524
##
1525
priorityClassName: ""
1526
## @param coordinating.schedulerName Name of the k8s scheduler (other than default) for coordinating-only pods
1527
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1528
##
1529
schedulerName: ""
1530
## @param coordinating.terminationGracePeriodSeconds In seconds, time the given to the Elasticsearch coordinating pod needs to terminate gracefully
1531
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1532
##
1533
terminationGracePeriodSeconds: ""
1534
## @param coordinating.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1535
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1536
##
1537
topologySpreadConstraints: []
1538
## @param coordinating.podManagementPolicy podManagementPolicy to manage scaling operation of Elasticsearch coordinating pods
1539
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1540
##
1541
podManagementPolicy: "Parallel"
1542
## @param coordinating.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
1543
##
1544
minReadySeconds: 0
1545
## Configure extra options for Elasticsearch coordinating-only containers' liveness, readiness and startup probes
1546
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1547
## @param coordinating.startupProbe.enabled Enable/disable the startup probe (coordinating-only nodes pod)
1548
## @param coordinating.startupProbe.initialDelaySeconds Delay before startup probe is initiated (coordinating-only nodes pod)
1549
## @param coordinating.startupProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1550
## @param coordinating.startupProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1551
## @param coordinating.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1552
## @param coordinating.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1553
##
1554
startupProbe:
1555
enabled: false
1556
initialDelaySeconds: 90
1557
periodSeconds: 10
1558
timeoutSeconds: 5
1559
successThreshold: 1
1560
failureThreshold: 5
1561
## @param coordinating.livenessProbe.enabled Enable/disable the liveness probe (coordinating-only nodes pod)
1562
## @param coordinating.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (coordinating-only nodes pod)
1563
## @param coordinating.livenessProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1564
## @param coordinating.livenessProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1565
## @param coordinating.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1566
## @param coordinating.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1567
##
1568
livenessProbe:
1569
enabled: true
1570
initialDelaySeconds: 180
1571
periodSeconds: 10
1572
timeoutSeconds: 5
1573
successThreshold: 1
1574
failureThreshold: 5
1575
## @param coordinating.readinessProbe.enabled Enable/disable the readiness probe (coordinating-only nodes pod)
1576
## @param coordinating.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (coordinating-only nodes pod)
1577
## @param coordinating.readinessProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1578
## @param coordinating.readinessProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1579
## @param coordinating.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1580
## @param coordinating.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1581
##
1582
readinessProbe:
1583
enabled: true
1584
initialDelaySeconds: 90
1585
periodSeconds: 10
1586
timeoutSeconds: 5
1587
successThreshold: 1
1588
failureThreshold: 5
1589
## @param coordinating.customStartupProbe Override default startup probe
1590
##
1591
customStartupProbe: {}
1592
## @param coordinating.customLivenessProbe Override default liveness probe
1593
##
1594
customLivenessProbe: {}
1595
## @param coordinating.customReadinessProbe Override default readiness probe
1596
##
1597
customReadinessProbe: {}
1598
## @param coordinating.command Override default container command (useful when using custom images)
1599
##
1600
command: []
1601
## @param coordinating.args Override default container args (useful when using custom images)
1602
##
1603
args: []
1604
## @param coordinating.lifecycleHooks for the coordinating-only container(s) to automate configuration before or after startup
1605
##
1606
lifecycleHooks: {}
1607
## @param coordinating.extraEnvVars Array with extra environment variables to add to coordinating-only nodes
1608
## e.g:
1609
## extraEnvVars:
1610
## - name: FOO
1611
## value: "bar"
1612
##
1613
extraEnvVars: []
1614
## @param coordinating.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for coordinating-only nodes
1615
##
1616
extraEnvVarsCM: ""
1617
## @param coordinating.extraEnvVarsSecret Name of existing Secret containing extra env vars for coordinating-only nodes
1618
##
1619
extraEnvVarsSecret: ""
1620
## @param coordinating.extraVolumes Optionally specify extra list of additional volumes for the coordinating-only pod(s)
1621
##
1622
extraVolumes: []
1623
## @param coordinating.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the coordinating-only container(s)
1624
##
1625
extraVolumeMounts: []
1626
## @param coordinating.sidecars Add additional sidecar containers to the coordinating-only pod(s)
1627
## e.g:
1628
## sidecars:
1629
## - name: your-image-name
1630
## image: your-image
1631
## imagePullPolicy: Always
1632
## ports:
1633
## - name: portname
1634
## containerPort: 1234
1635
##
1636
sidecars: []
1637
## @param coordinating.initContainers Add additional init containers to the coordinating-only pod(s)
1638
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1639
## e.g:
1640
## initContainers:
1641
## - name: your-image-name
1642
## image: your-image
1643
## imagePullPolicy: Always
1644
## command: ['sh', '-c', 'echo "hello world"']
1645
##
1646
initContainers: []
1647
## Pods Service Account
1648
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1649
## @param coordinating.serviceAccount.create Specifies whether a ServiceAccount should be created
1650
## @param coordinating.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
1651
## @param coordinating.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1652
## @param coordinating.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
1653
##
1654
serviceAccount:
1655
create: true
1656
name: ""
1657
automountServiceAccountToken: false
1658
annotations: {}
1659
## Enable HorizontalPodAutoscaler for Elasticsearch coordinating pods
1660
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1661
## @param coordinating.autoscaling.enabled Whether enable horizontal pod autoscale
1662
## @param coordinating.autoscaling.minReplicas Configure a minimum amount of pods
1663
## @param coordinating.autoscaling.maxReplicas Configure a maximum amount of pods
1664
## @param coordinating.autoscaling.targetCPU Define the CPU target to trigger the scaling actions (utilization percentage)
1665
## @param coordinating.autoscaling.targetMemory Define the memory target to trigger the scaling actions (utilization percentage)
1666
##
1667
autoscaling:
1668
enabled: false
1669
minReplicas: 3
1670
maxReplicas: 11
1671
targetCPU: ""
1672
targetMemory: ""
1673
## @section Ingest-only nodes parameters
1674
ingest:
1675
## @param ingest.enabled Enable ingest nodes
1676
##
1677
enabled: true
1678
## @param ingest.replicaCount Number of ingest-only replicas to deploy
1679
##
1680
replicaCount: 2
1681
## @param ingest.extraRoles Append extra roles to the node role
1682
##
1683
extraRoles: []
1684
## Pod Disruption Budget configuration
1685
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1686
## @param ingest.pdb.create Enable/disable a Pod Disruption Budget creation
1687
## @param ingest.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1688
## @param ingest.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
1689
##
1690
pdb:
1691
create: true
1692
minAvailable: ""
1693
maxUnavailable: ""
1694
## @param ingest.nameOverride String to partially override elasticsearch.ingest.fullname
1695
##
1696
nameOverride: ""
1697
## @param ingest.fullnameOverride String to fully override elasticsearch.ingest.fullname
1698
##
1699
fullnameOverride: ""
1700
## @param ingest.servicenameOverride String to fully override ingest.master.servicename
1701
##
1702
servicenameOverride: ""
1703
## @param ingest.annotations [object] Annotations for the ingest statefulset
1704
##
1705
annotations: {}
1706
## @param ingest.containerPorts.restAPI Elasticsearch REST API port
1707
## @param ingest.containerPorts.transport Elasticsearch Transport port
1708
##
1709
containerPorts:
1710
restAPI: 9200
1711
transport: 9300
1712
## @param ingest.updateStrategy.type Ingest-only nodes statefulset stategy type
1713
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1714
##
1715
updateStrategy:
1716
type: RollingUpdate
1717
## Elasticsearch resource requests and limits
1718
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1719
## @param ingest.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if ingest.resources is set (ingest.resources is recommended for production).
1720
##
1721
resourcesPreset: "small"
1722
## @param ingest.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1723
## Example:
1724
## resources:
1725
## requests:
1726
## cpu: 2
1727
## memory: 512Mi
1728
## limits:
1729
## cpu: 3
1730
## memory: 1024Mi
1731
##
1732
resources: {}
1733
## @param ingest.heapSize Elasticsearch ingest-only node heap size.
1734
## Note: The recommended heapSize is half of the container's memory.
1735
## If omitted, it will be automatically set.
1736
## Example:
1737
## heapSize: 128m
1738
##
1739
heapSize: 128m
1740
## Configure Pods Security Context
1741
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1742
## @param ingest.podSecurityContext.enabled Enabled ingest-only pods' Security Context
1743
## @param ingest.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1744
## @param ingest.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1745
## @param ingest.podSecurityContext.supplementalGroups Set filesystem extra groups
1746
## @param ingest.podSecurityContext.fsGroup Set ingest-only pod's Security Context fsGroup
1747
##
1748
podSecurityContext:
1749
enabled: true
1750
fsGroupChangePolicy: Always
1751
sysctls: []
1752
supplementalGroups: []
1753
fsGroup: 1001
1754
## Configure Container Security Context
1755
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1756
## @param ingest.containerSecurityContext.enabled Elasticseacrh ingest container securityContext
1757
## @param ingest.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1758
## @param ingest.containerSecurityContext.runAsUser User ID for the Elasticseacrh ingest container
1759
## @param ingest.containerSecurityContext.runAsGroup Group ID for the Elasticseacrh ingest container
1760
## @param ingest.containerSecurityContext.runAsNonRoot Set Elasticsearch ingest container's Security Context runAsNonRoot
1761
## @param ingest.containerSecurityContext.privileged Set Elasticsearch ingest container's Security Context privileged
1762
## @param ingest.containerSecurityContext.allowPrivilegeEscalation Set Elasticsearch ingest container's Security Context allowPrivilegeEscalation
1763
## @param ingest.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1764
## @param ingest.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1765
## @param ingest.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1766
##
1767
containerSecurityContext:
1768
enabled: true
1769
seLinuxOptions: {}
1770
runAsUser: 1001
1771
runAsGroup: 1001
1772
runAsNonRoot: true
1773
privileged: false
1774
allowPrivilegeEscalation: false
1775
readOnlyRootFilesystem: true
1776
capabilities:
1777
drop: ["ALL"]
1778
seccompProfile:
1779
type: "RuntimeDefault"
1780
## Network Policies
1781
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1782
##
1783
networkPolicy:
1784
## @param ingest.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
1785
##
1786
enabled: true
1787
## @param ingest.networkPolicy.allowExternal Don't require server label for connections
1788
## The Policy model to apply. When set to false, only pods with the correct
1789
## server label will have network access to the ports server is listening
1790
## on. When true, server will accept connections from any source
1791
## (with the correct destination port).
1792
##
1793
allowExternal: true
1794
## @param ingest.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1795
##
1796
allowExternalEgress: true
1797
## @param ingest.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1798
## e.g:
1799
## extraIngress:
1800
## - ports:
1801
## - port: 1234
1802
## from:
1803
## - podSelector:
1804
## - matchLabels:
1805
## - role: frontend
1806
## - podSelector:
1807
## - matchExpressions:
1808
## - key: role
1809
## operator: In
1810
## values:
1811
## - frontend
1812
extraIngress: []
1813
## @param ingest.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1814
## e.g:
1815
## extraEgress:
1816
## - ports:
1817
## - port: 1234
1818
## to:
1819
## - podSelector:
1820
## - matchLabels:
1821
## - role: frontend
1822
## - podSelector:
1823
## - matchExpressions:
1824
## - key: role
1825
## operator: In
1826
## values:
1827
## - frontend
1828
##
1829
extraEgress: []
1830
## @param ingest.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1831
## @param ingest.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1832
##
1833
ingressNSMatchLabels: {}
1834
ingressNSPodMatchLabels: {}
1835
## @param ingest.automountServiceAccountToken Mount Service Account token in pod
1836
##
1837
automountServiceAccountToken: false
1838
## @param ingest.hostAliases ingest-only pods host aliases
1839
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1840
##
1841
hostAliases: []
1842
## @param ingest.podLabels Extra labels for ingest-only pods
1843
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1844
##
1845
podLabels: {}
1846
## @param ingest.podAnnotations Annotations for ingest-only pods
1847
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1848
##
1849
podAnnotations: {}
1850
## @param ingest.shareProcessNamespace Share a single process namespace between all of the containers in pod
1851
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
1852
##
1853
shareProcessNamespace: false
1854
## @param ingest.podAffinityPreset Pod affinity preset. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
1855
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1856
##
1857
podAffinityPreset: ""
1858
## @param ingest.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
1859
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1860
##
1861
podAntiAffinityPreset: ""
1862
## Node ingest.affinity preset
1863
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1864
##
1865
nodeAffinityPreset:
1866
## @param ingest.nodeAffinityPreset.type Node affinity preset type. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
1867
##
1868
type: ""
1869
## @param ingest.nodeAffinityPreset.key Node label key to match. Ignored if `ingest.affinity` is set
1870
##
1871
key: ""
1872
## @param ingest.nodeAffinityPreset.values Node label values to match. Ignored if `ingest.affinity` is set
1873
## E.g.
1874
## values:
1875
## - e2e-az1
1876
## - e2e-az2
1877
##
1878
values: []
1879
## @param ingest.affinity Affinity for ingest-only pods assignment
1880
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1881
## NOTE: `ingest.podAffinityPreset`, `ingest.podAntiAffinityPreset`, and `ingest.nodeAffinityPreset` will be ignored when it's set
1882
##
1883
affinity: {}
1884
## @param ingest.nodeSelector Node labels for ingest-only pods assignment
1885
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1886
##
1887
nodeSelector: {}
1888
## @param ingest.tolerations Tolerations for ingest-only pods assignment
1889
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1890
##
1891
tolerations: []
1892
## @param ingest.priorityClassName ingest-only pods' priorityClassName
1893
##
1894
priorityClassName: ""
1895
## @param ingest.schedulerName Name of the k8s scheduler (other than default) for ingest-only pods
1896
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1897
##
1898
schedulerName: ""
1899
## @param ingest.terminationGracePeriodSeconds In seconds, time the given to the Elasticsearch ingest pod needs to terminate gracefully
1900
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1901
##
1902
terminationGracePeriodSeconds: ""
1903
## @param ingest.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1904
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1905
##
1906
topologySpreadConstraints: []
1907
## @param ingest.podManagementPolicy podManagementPolicy to manage scaling operation of Elasticsearch ingest pods
1908
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1909
##
1910
podManagementPolicy: "Parallel"
1911
## @param ingest.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
1912
##
1913
minReadySeconds: 0
1914
## Configure extra options for Elasticsearch ingest-only containers' liveness, readiness and startup probes
1915
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1916
## @param ingest.startupProbe.enabled Enable/disable the startup probe (ingest-only nodes pod)
1917
## @param ingest.startupProbe.initialDelaySeconds Delay before startup probe is initiated (ingest-only nodes pod)
1918
## @param ingest.startupProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
1919
## @param ingest.startupProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
1920
## @param ingest.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
1921
## @param ingest.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1922
##
1923
startupProbe:
1924
enabled: false
1925
initialDelaySeconds: 90
1926
periodSeconds: 10
1927
timeoutSeconds: 5
1928
successThreshold: 1
1929
failureThreshold: 5
1930
## @param ingest.livenessProbe.enabled Enable/disable the liveness probe (ingest-only nodes pod)
1931
## @param ingest.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (ingest-only nodes pod)
1932
## @param ingest.livenessProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
1933
## @param ingest.livenessProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
1934
## @param ingest.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
1935
## @param ingest.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1936
##
1937
livenessProbe:
1938
enabled: true
1939
initialDelaySeconds: 180
1940
periodSeconds: 10
1941
timeoutSeconds: 5
1942
successThreshold: 1
1943
failureThreshold: 5
1944
## @param ingest.readinessProbe.enabled Enable/disable the readiness probe (ingest-only nodes pod)
1945
## @param ingest.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (ingest-only nodes pod)
1946
## @param ingest.readinessProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
1947
## @param ingest.readinessProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
1948
## @param ingest.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
1949
## @param ingest.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1950
##
1951
readinessProbe:
1952
enabled: true
1953
initialDelaySeconds: 90
1954
periodSeconds: 10
1955
timeoutSeconds: 5
1956
successThreshold: 1
1957
failureThreshold: 5
1958
## @param ingest.customStartupProbe Override default startup probe
1959
##
1960
customStartupProbe: {}
1961
## @param ingest.customLivenessProbe Override default liveness probe
1962
##
1963
customLivenessProbe: {}
1964
## @param ingest.customReadinessProbe Override default readiness probe
1965
##
1966
customReadinessProbe: {}
1967
## @param ingest.command Override default container command (useful when using custom images)
1968
##
1969
command: []
1970
## @param ingest.args Override default container args (useful when using custom images)
1971
##
1972
args: []
1973
## @param ingest.lifecycleHooks for the ingest-only container(s) to automate configuration before or after startup
1974
##
1975
lifecycleHooks: {}
1976
## @param ingest.extraEnvVars Array with extra environment variables to add to ingest-only nodes
1977
## e.g:
1978
## extraEnvVars:
1979
## - name: FOO
1980
## value: "bar"
1981
##
1982
extraEnvVars: []
1983
## @param ingest.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for ingest-only nodes
1984
##
1985
extraEnvVarsCM: ""
1986
## @param ingest.extraEnvVarsSecret Name of existing Secret containing extra env vars for ingest-only nodes
1987
##
1988
extraEnvVarsSecret: ""
1989
## @param ingest.extraVolumes Optionally specify extra list of additional volumes for the ingest-only pod(s)
1990
##
1991
extraVolumes: []
1992
## @param ingest.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the ingest-only container(s)
1993
##
1994
extraVolumeMounts: []
1995
## @param ingest.sidecars Add additional sidecar containers to the ingest-only pod(s)
1996
## e.g:
1997
## sidecars:
1998
## - name: your-image-name
1999
## image: your-image
2000
## imagePullPolicy: Always
2001
## ports:
2002
## - name: portname
2003
## containerPort: 1234
2004
##
2005
sidecars: []
2006
## @param ingest.initContainers Add additional init containers to the ingest-only pod(s)
2007
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2008
## e.g:
2009
## initContainers:
2010
## - name: your-image-name
2011
## image: your-image
2012
## imagePullPolicy: Always
2013
## command: ['sh', '-c', 'echo "hello world"']
2014
##
2015
initContainers: []
2016
## Pods Service Account
2017
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
2018
## @param ingest.serviceAccount.create Specifies whether a ServiceAccount should be created
2019
## @param ingest.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
2020
## @param ingest.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
2021
## @param ingest.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
2022
##
2023
serviceAccount:
2024
create: true
2025
name: ""
2026
automountServiceAccountToken: false
2027
annotations: {}
2028
## Enable HorizontalPodAutoscaler for Elasticsearch ingest-only pods
2029
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
2030
## @param ingest.autoscaling.enabled Whether enable horizontal pod autoscale
2031
## @param ingest.autoscaling.minReplicas Configure a minimum amount of pods
2032
## @param ingest.autoscaling.maxReplicas Configure a maximum amount of pods
2033
## @param ingest.autoscaling.targetCPU Define the CPU target to trigger the scaling actions (utilization percentage)
2034
## @param ingest.autoscaling.targetMemory Define the memory target to trigger the scaling actions (utilization percentage)
2035
##
2036
autoscaling:
2037
enabled: false
2038
minReplicas: 3
2039
maxReplicas: 11
2040
targetCPU: ""
2041
targetMemory: ""
2042
## Elasticsearch Ingest-only Service
2043
## Recommended for heavy ingestion, improves performance by sending ingest traffic directly into the ingest nodes.
2044
## NOTE: Ingest nodes will only accept index requests with an associated pipeline, any other request won't be rerouted.
2045
##
2046
service:
2047
## @param ingest.service.enabled Enable Ingest-only service
2048
##
2049
enabled: false
2050
## @param ingest.service.type Elasticsearch ingest-only service type
2051
##
2052
type: ClusterIP
2053
## @param ingest.service.ports.restAPI Elasticsearch service REST API port
2054
## @param ingest.service.ports.transport Elasticsearch service transport port
2055
##
2056
ports:
2057
restAPI: 9200
2058
transport: 9300
2059
## Node ports to expose
2060
## @param ingest.service.nodePorts.restAPI Node port for REST API
2061
## @param ingest.service.nodePorts.transport Node port for REST API
2062
## NOTE: choose port between <30000-32767>
2063
##
2064
nodePorts:
2065
restAPI: ""
2066
transport: ""
2067
## @param ingest.service.clusterIP Elasticsearch ingest-only service Cluster IP
2068
## e.g.:
2069
## clusterIP: None
2070
##
2071
clusterIP: ""
2072
## @param ingest.service.loadBalancerIP Elasticsearch ingest-only service Load Balancer IP
2073
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2074
##
2075
loadBalancerIP: ""
2076
## @param ingest.service.loadBalancerSourceRanges Elasticsearch ingest-only service Load Balancer sources
2077
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2078
## e.g:
2079
## loadBalancerSourceRanges:
2080
## - 10.10.10.0/24
2081
##
2082
loadBalancerSourceRanges: []
2083
## @param ingest.service.externalTrafficPolicy Elasticsearch ingest-only service external traffic policy
2084
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2085
##
2086
externalTrafficPolicy: Cluster
2087
## @param ingest.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
2088
##
2089
extraPorts: []
2090
## @param ingest.service.annotations Additional custom annotations for Elasticsearch ingest-only service
2091
##
2092
annotations: {}
2093
## @param ingest.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
2094
## If "ClientIP", consecutive client requests will be directed to the same Pod
2095
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
2096
##
2097
sessionAffinity: None
2098
## @param ingest.service.sessionAffinityConfig Additional settings for the sessionAffinity
2099
## sessionAffinityConfig:
2100
## clientIP:
2101
## timeoutSeconds: 300
2102
##
2103
sessionAffinityConfig: {}
2104
## Elasticsearch Ingest-only ingress parameters
2105
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
2106
##
2107
ingress:
2108
## @param ingest.ingress.enabled Enable ingress record generation for Elasticsearch
2109
##
2110
enabled: false
2111
## @param ingest.ingress.pathType Ingress path type
2112
##
2113
pathType: ImplementationSpecific
2114
## @param ingest.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2115
##
2116
apiVersion: ""
2117
## @param ingest.ingress.hostname Default host for the ingress record
2118
##
2119
hostname: elasticsearch-ingest.local
2120
## @param ingest.ingress.path Default path for the ingress record
2121
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
2122
##
2123
path: /
2124
## @param ingest.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2125
## Use this parameter to set the required annotations for cert-manager, see
2126
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2127
## e.g:
2128
## annotations:
2129
## kubernetes.io/ingress.class: nginx
2130
## cert-manager.io/cluster-issuer: cluster-issuer-name
2131
##
2132
annotations: {}
2133
## @param ingest.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
2134
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
2135
## You can:
2136
## - Use the `ingress.secrets` parameter to create this TLS secret
2137
## - Rely on cert-manager to create it by setting the corresponding annotations
2138
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
2139
##
2140
tls: false
2141
## @param ingest.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2142
##
2143
selfSigned: false
2144
## @param ingest.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
2145
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
2146
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
2147
##
2148
ingressClassName: ""
2149
## @param ingest.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
2150
## e.g:
2151
## extraHosts:
2152
## - name: elasticsearch.local
2153
## path: /
2154
##
2155
extraHosts: []
2156
## @param ingest.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
2157
## e.g:
2158
## extraPaths:
2159
## - path: /*
2160
## backend:
2161
## serviceName: ssl-redirect
2162
## servicePort: use-annotation
2163
##
2164
extraPaths: []
2165
## @param ingest.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
2166
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
2167
## e.g:
2168
## extraTls:
2169
## - hosts:
2170
## - elasticsearch.local
2171
## secretName: elasticsearch.local-tls
2172
##
2173
extraTls: []
2174
## @param ingest.ingress.secrets Custom TLS certificates as secrets
2175
## NOTE: 'key' and 'certificate' are expected in PEM format
2176
## NOTE: 'name' should line up with a 'secretName' set further up
2177
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
2178
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
2179
## It is also possible to create and manage the certificates outside of this helm chart
2180
## Please see README.md for more information
2181
## e.g:
2182
## secrets:
2183
## - name: elasticsearch.local-tls
2184
## key: |-
2185
## -----BEGIN RSA PRIVATE KEY-----
2186
## ...
2187
## -----END RSA PRIVATE KEY-----
2188
## certificate: |-
2189
## -----BEGIN CERTIFICATE-----
2190
## ...
2191
## -----END CERTIFICATE-----
2192
##
2193
secrets: []
2194
## @param ingest.ingress.extraRules Additional rules to be covered with this ingress record
2195
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
2196
## e.g:
2197
## extraRules:
2198
## - host: example.local
2199
## http:
2200
## path: /
2201
## backend:
2202
## service:
2203
## name: example-svc
2204
## port:
2205
## name: http
2206
##
2207
extraRules: []
2208
## @section Metrics parameters
2209
2210
## Elasticsearch Prometheus exporter configuration
2211
##
2212
metrics:
2213
## @param metrics.enabled Enable prometheus exporter
2214
##
2215
enabled: false
2216
## @param metrics.nameOverride Metrics pod name
2217
##
2218
nameOverride: ""
2219
## @param metrics.fullnameOverride String to fully override common.names.fullname
2220
##
2221
fullnameOverride: ""
2222
## @param metrics.image.registry [default: REGISTRY_NAME] Metrics exporter image registry
2223
## @param metrics.image.repository [default: REPOSITORY_NAME/elasticsearch-exporter] Metrics exporter image repository
2224
## @skip metrics.image.tag Metrics exporter image tag
2225
## @param metrics.image.digest Metrics exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
2226
## @param metrics.image.pullPolicy Metrics exporter image pull policy
2227
## @param metrics.image.pullSecrets Metrics exporter image pull secrets
2228
##
2229
image:
2230
registry: cgr.dev
2231
repository: chainguard-private/prometheus-elasticsearch-exporter-iamguarded
2232
tag: 1.11.0
2233
digest: ""
2234
pullPolicy: IfNotPresent
2235
## Optionally specify an array of imagePullSecrets.
2236
## Secrets must be manually created in the namespace.
2237
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2238
## e.g:
2239
## pullSecrets:
2240
## - myRegistryKeySecretName
2241
##
2242
pullSecrets: []
2243
## @param metrics.annotations [object] Annotations for metrics
2244
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2245
##
2246
annotations:
2247
helm.sh/hook: "post-install,post-upgrade"
2248
helm.sh/hook-weight: "5"
2249
## @param metrics.extraArgs Extra arguments to add to the default exporter command
2250
## ref: https://github.com/justwatchcom/elasticsearch_exporter
2251
## e.g
2252
## extraArgs:
2253
## - --es.snapshots
2254
## - --es.indices
2255
##
2256
extraArgs: []
2257
## @param metrics.automountServiceAccountToken Mount Service Account token in pod
2258
##
2259
automountServiceAccountToken: false
2260
## @param metrics.hostAliases Add deployment host aliases
2261
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
2262
##
2263
hostAliases: []
2264
## @param metrics.schedulerName Name of the k8s scheduler (other than default)
2265
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2266
##
2267
schedulerName: ""
2268
## @param metrics.priorityClassName Elasticsearch metrics exporter pods' priorityClassName
2269
##
2270
priorityClassName: ""
2271
## Elasticsearch Prometheus exporter container ports
2272
## @param metrics.containerPorts.http Metrics HTTP port
2273
##
2274
containerPorts:
2275
http: 9114
2276
## Network Policies
2277
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2278
##
2279
networkPolicy:
2280
## @param metrics.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
2281
##
2282
enabled: true
2283
## @param metrics.networkPolicy.allowExternal Don't require server label for connections
2284
## The Policy model to apply. When set to false, only pods with the correct
2285
## server label will have network access to the ports server is listening
2286
## on. When true, server will accept connections from any source
2287
## (with the correct destination port).
2288
##
2289
allowExternal: true
2290
## @param metrics.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2291
##
2292
allowExternalEgress: true
2293
## @param metrics.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2294
## e.g:
2295
## extraIngress:
2296
## - ports:
2297
## - port: 1234
2298
## from:
2299
## - podSelector:
2300
## - matchLabels:
2301
## - role: frontend
2302
## - podSelector:
2303
## - matchExpressions:
2304
## - key: role
2305
## operator: In
2306
## values:
2307
## - frontend
2308
extraIngress: []
2309
## @param metrics.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2310
## e.g:
2311
## extraEgress:
2312
## - ports:
2313
## - port: 1234
2314
## to:
2315
## - podSelector:
2316
## - matchLabels:
2317
## - role: frontend
2318
## - podSelector:
2319
## - matchExpressions:
2320
## - key: role
2321
## operator: In
2322
## values:
2323
## - frontend
2324
##
2325
extraEgress: []
2326
## @param metrics.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2327
## @param metrics.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2328
##
2329
ingressNSMatchLabels: {}
2330
ingressNSPodMatchLabels: {}
2331
## Elasticsearch Prometheus exporter service type
2332
##
2333
service:
2334
## @param metrics.service.type Metrics exporter endpoint service type
2335
##
2336
type: ClusterIP
2337
## @param metrics.service.port Metrics exporter endpoint service port
2338
##
2339
port: 9114
2340
## @param metrics.service.annotations [object] Provide any additional annotations which may be required.
2341
## This can be used to set the LoadBalancer service type to internal only.
2342
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
2343
##
2344
annotations:
2345
prometheus.io/scrape: "true"
2346
prometheus.io/port: "9114"
2347
## @param metrics.podAffinityPreset Metrics Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
2348
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2349
##
2350
podAffinityPreset: ""
2351
## @param metrics.podAntiAffinityPreset Metrics Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
2352
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2353
##
2354
podAntiAffinityPreset: ""
2355
## Node affinity preset
2356
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2357
## @param metrics.nodeAffinityPreset.type Metrics Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
2358
## @param metrics.nodeAffinityPreset.key Metrics Node label key to match Ignored if `affinity` is set.
2359
## @param metrics.nodeAffinityPreset.values Metrics Node label values to match. Ignored if `affinity` is set.
2360
##
2361
nodeAffinityPreset:
2362
type: ""
2363
## E.g.
2364
## key: "kubernetes.io/e2e-az-name"
2365
##
2366
key: ""
2367
## E.g.
2368
## values:
2369
## - e2e-az1
2370
## - e2e-az2
2371
##
2372
values: []
2373
## @param metrics.affinity Metrics Affinity for pod assignment
2374
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2375
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
2376
##
2377
affinity: {}
2378
## @param metrics.nodeSelector Metrics Node labels for pod assignment
2379
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2380
##
2381
nodeSelector: {}
2382
## @param metrics.tolerations Metrics Tolerations for pod assignment
2383
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2384
##
2385
tolerations: []
2386
## @param metrics.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
2387
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2388
##
2389
topologySpreadConstraints: []
2390
## Elasticsearch Prometheus exporter resource requests and limits
2391
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2392
## We usually recommend not to specify default resources and to leave this as a conscious
2393
## choice for the user. This also increases chances charts run on environments with little
2394
## resources, such as Minikube. If you do want to specify resources, uncomment the following
2395
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
2396
## @param metrics.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.resources is set (metrics.resources is recommended for production).
2397
##
2398
resourcesPreset: "nano"
2399
## @param metrics.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2400
## Example:
2401
## resources:
2402
## requests:
2403
## cpu: 2
2404
## memory: 512Mi
2405
## limits:
2406
## cpu: 3
2407
## memory: 1024Mi
2408
##
2409
resources: {}
2410
## Elasticsearch metrics container's liveness probe
2411
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
2412
## @param metrics.livenessProbe.enabled Enable/disable the liveness probe (metrics pod)
2413
## @param metrics.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (metrics pod)
2414
## @param metrics.livenessProbe.periodSeconds How often to perform the probe (metrics pod)
2415
## @param metrics.livenessProbe.timeoutSeconds When the probe times out (metrics pod)
2416
## @param metrics.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2417
## @param metrics.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (metrics pod)
2418
##
2419
livenessProbe:
2420
enabled: true
2421
initialDelaySeconds: 60
2422
periodSeconds: 10
2423
timeoutSeconds: 5
2424
successThreshold: 1
2425
failureThreshold: 5
2426
## Elasticsearch metrics container's readiness probe
2427
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
2428
## @param metrics.readinessProbe.enabled Enable/disable the readiness probe (metrics pod)
2429
## @param metrics.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (metrics pod)
2430
## @param metrics.readinessProbe.periodSeconds How often to perform the probe (metrics pod)
2431
## @param metrics.readinessProbe.timeoutSeconds When the probe times out (metrics pod)
2432
## @param metrics.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2433
## @param metrics.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (metrics pod)
2434
##
2435
readinessProbe:
2436
enabled: true
2437
initialDelaySeconds: 5
2438
periodSeconds: 10
2439
timeoutSeconds: 1
2440
successThreshold: 1
2441
failureThreshold: 5
2442
## Elasticsearch metrics container's startup probe
2443
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
2444
## @param metrics.startupProbe.enabled Enable/disable the startup probe (metrics pod)
2445
## @param metrics.startupProbe.initialDelaySeconds Delay before startup probe is initiated (metrics pod)
2446
## @param metrics.startupProbe.periodSeconds How often to perform the probe (metrics pod)
2447
## @param metrics.startupProbe.timeoutSeconds When the probe times out (metrics pod)
2448
## @param metrics.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2449
## @param metrics.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (metrics pod)
2450
##
2451
startupProbe:
2452
enabled: false
2453
initialDelaySeconds: 5
2454
periodSeconds: 10
2455
timeoutSeconds: 1
2456
successThreshold: 1
2457
failureThreshold: 5
2458
## @param metrics.customStartupProbe Custom liveness probe for the Web component
2459
##
2460
customStartupProbe: {}
2461
## @param metrics.customLivenessProbe Custom liveness probe for the Web component
2462
##
2463
customLivenessProbe: {}
2464
## @param metrics.customReadinessProbe Custom readiness probe for the Web component
2465
##
2466
customReadinessProbe: {}
2467
## @param metrics.podAnnotations [object] Metrics exporter pod Annotation and Labels
2468
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2469
##
2470
podAnnotations:
2471
prometheus.io/scrape: "true"
2472
prometheus.io/port: "9114"
2473
## @param metrics.podLabels Extra labels to add to Pod
2474
##
2475
podLabels: {}
2476
## Configure Pods Security Context
2477
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2478
## @param metrics.podSecurityContext.enabled Enabled Elasticsearch metrics exporter pods' Security Context
2479
## @param metrics.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
2480
## @param metrics.podSecurityContext.sysctls Set kernel settings using the sysctl interface
2481
## @param metrics.podSecurityContext.supplementalGroups Set filesystem extra groups
2482
## @param metrics.podSecurityContext.fsGroup Set Elasticsearch metrics exporter pod's Security Context fsGroup
2483
##
2484
podSecurityContext:
2485
enabled: true
2486
fsGroupChangePolicy: Always
2487
sysctls: []
2488
supplementalGroups: []
2489
fsGroup: 1001
2490
## Configure Container Security Context
2491
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2492
## @param metrics.containerSecurityContext.enabled Elasticseacrh exporter container securityContext
2493
## @param metrics.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
2494
## @param metrics.containerSecurityContext.runAsUser User ID for the Elasticseacrh exporter container
2495
## @param metrics.containerSecurityContext.runAsGroup Group ID for the Elasticseacrh exporter container
2496
## @param metrics.containerSecurityContext.runAsNonRoot Set Elasticsearch exporter container's Security Context runAsNonRoot
2497
## @param metrics.containerSecurityContext.privileged Set Elasticsearch exporter container's Security Context privileged
2498
## @param metrics.containerSecurityContext.allowPrivilegeEscalation Set Elasticsearch exporter container's Security Context allowPrivilegeEscalation
2499
## @param metrics.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
2500
## @param metrics.containerSecurityContext.capabilities.drop List of capabilities to be dropped
2501
## @param metrics.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
2502
##
2503
containerSecurityContext:
2504
enabled: true
2505
seLinuxOptions: {}
2506
runAsUser: 1001
2507
runAsGroup: 1001
2508
runAsNonRoot: true
2509
privileged: false
2510
allowPrivilegeEscalation: false
2511
readOnlyRootFilesystem: true
2512
capabilities:
2513
drop: ["ALL"]
2514
seccompProfile:
2515
type: "RuntimeDefault"
2516
## @param metrics.command Override default container command (useful when using custom images)
2517
##
2518
command: []
2519
## @param metrics.args Override default container args (useful when using custom images)
2520
##
2521
args: []
2522
## @param metrics.extraEnvVars Array with extra environment variables to add to Elasticsearch metrics exporter nodes
2523
## e.g:
2524
## extraEnvVars:
2525
## - name: FOO
2526
## value: "bar"
2527
##
2528
extraEnvVars: []
2529
## @param metrics.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Elasticsearch metrics exporter nodes
2530
##
2531
extraEnvVarsCM: ""
2532
## @param metrics.extraEnvVarsSecret Name of existing Secret containing extra env vars for Elasticsearch metrics exporter nodes
2533
##
2534
extraEnvVarsSecret: ""
2535
## @param metrics.extraVolumes Optionally specify extra list of additional volumes for the Elasticsearch metrics exporter pod(s)
2536
##
2537
extraVolumes: []
2538
## @param metrics.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Elasticsearch metrics exporter container(s)
2539
##
2540
extraVolumeMounts: []
2541
## @param metrics.sidecars Add additional sidecar containers to the Elasticsearch metrics exporter pod(s)
2542
## e.g:
2543
## sidecars:
2544
## - name: your-image-name
2545
## image: your-image
2546
## imagePullPolicy: Always
2547
## ports:
2548
## - name: portname
2549
## containerPort: 1234
2550
##
2551
sidecars: []
2552
## @param metrics.initContainers Add additional init containers to the Elasticsearch metrics exporter pod(s)
2553
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2554
## e.g:
2555
## initContainers:
2556
## - name: your-image-name
2557
## image: your-image
2558
## imagePullPolicy: Always
2559
## command: ['sh', '-c', 'echo "hello world"']
2560
##
2561
initContainers: []
2562
## Pods Service Account
2563
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
2564
## @param metrics.serviceAccount.create Specifies whether a ServiceAccount should be created
2565
## @param metrics.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
2566
## @param metrics.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
2567
## @param metrics.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
2568
##
2569
serviceAccount:
2570
create: true
2571
name: ""
2572
automountServiceAccountToken: false
2573
annotations: {}
2574
## Prometheus Operator ServiceMonitor configuration
2575
##
2576
serviceMonitor:
2577
## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
2578
##
2579
enabled: false
2580
## @param metrics.serviceMonitor.namespace Namespace which Prometheus is running in
2581
## e.g:
2582
## namespace: monitoring
2583
##
2584
namespace: ""
2585
## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
2586
##
2587
jobLabel: ""
2588
## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped
2589
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2590
##
2591
interval: ""
2592
## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2593
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2594
##
2595
scrapeTimeout: ""
2596
## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
2597
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
2598
##
2599
relabelings: []
2600
## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
2601
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
2602
##
2603
metricRelabelings: []
2604
## @param metrics.serviceMonitor.selector ServiceMonitor selector labels
2605
##
2606
## selector:
2607
## prometheus: my-prometheus
2608
##
2609
selector: {}
2610
## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
2611
##
2612
labels: {}
2613
## @param metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2614
##
2615
honorLabels: false
2616
## Prometheus Operator PrometheusRule configuration
2617
##
2618
prometheusRule:
2619
## @param metrics.prometheusRule.enabled Creates a Prometheus Operator PrometheusRule (also requires `metrics.enabled` to be `true` and `metrics.prometheusRule.rules`)
2620
##
2621
enabled: false
2622
## @param metrics.prometheusRule.namespace Namespace for the PrometheusRule Resource (defaults to the Release Namespace)
2623
##
2624
namespace: ""
2625
## @param metrics.prometheusRule.additionalLabels Additional labels that can be used so PrometheusRule will be discovered by Prometheus
2626
##
2627
additionalLabels: {}
2628
## @param metrics.prometheusRule.rules Prometheus Rule definitions
2629
# - alert: es cluster error
2630
# annotations:
2631
# summary: "es cluster error"
2632
# description: "es cluster error, cluster state {{`{{`}} $labels.color {{`}}`}}"
2633
# expr: elasticsearch_cluster_health_status{color="red"} ==1 or elasticsearch_cluster_health_status{color="yellow"} ==1
2634
# for: 1m
2635
# labels:
2636
# severity: critical
2637
# group: PaaS
2638
##
2639
rules: []
2640
## @section Init Container Parameters
2641
2642
## 'volumePermissions' init container parameters
2643
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
2644
## based on the *podSecurityContext/*containerSecurityContext parameters
2645
##
2646
volumePermissions:
2647
## @param volumePermissions.enabled Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work)
2648
##
2649
enabled: false
2650
## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
2651
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image name
2652
## @skip volumePermissions.image.tag Init container volume-permissions image tag
2653
## @param volumePermissions.image.digest Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
2654
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
2655
## @param volumePermissions.image.pullSecrets Init container volume-permissions image pull secrets
2656
##
2657
image:
2658
registry: cgr.dev
2659
repository: chainguard-private/os-shell-iamguarded
2660
tag: 1.0.0
2661
digest: ""
2662
pullPolicy: IfNotPresent
2663
## Optionally specify an array of imagePullSecrets.
2664
## Secrets must be manually created in the namespace.
2665
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2666
## e.g:
2667
## pullSecrets:
2668
## - myRegistryKeySecretName
2669
##
2670
pullSecrets: []
2671
## Init container' resource requests and limits
2672
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2673
## We usually recommend not to specify default resources and to leave this as a conscious
2674
## choice for the user. This also increases chances charts run on environments with little
2675
## resources, such as Minikube. If you do want to specify resources, uncomment the following
2676
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
2677
## @param volumePermissions.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production).
2678
##
2679
resourcesPreset: "nano"
2680
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2681
## Example:
2682
## resources:
2683
## requests:
2684
## cpu: 2
2685
## memory: 512Mi
2686
## limits:
2687
## cpu: 3
2688
## memory: 1024Mi
2689
##
2690
resources: {}
2691
## Kernel settings modifier image
2692
##
2693
sysctlImage:
2694
## @param sysctlImage.enabled Enable kernel settings modifier image
2695
##
2696
enabled: true
2697
## @param sysctlImage.registry [default: REGISTRY_NAME] Kernel settings modifier image registry
2698
## @param sysctlImage.repository [default: REPOSITORY_NAME/os-shell] Kernel settings modifier image repository
2699
## @skip sysctlImage.tag Kernel settings modifier image tag
2700
## @param sysctlImage.digest Kernel settings modifier image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
2701
## @param sysctlImage.pullPolicy Kernel settings modifier image pull policy
2702
## @param sysctlImage.pullSecrets Kernel settings modifier image pull secrets
2703
##
2704
registry: cgr.dev
2705
repository: chainguard-private/os-shell-iamguarded
2706
tag: 1.0.0
2707
digest: ""
2708
## Specify a imagePullPolicy
2709
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
2710
##
2711
pullPolicy: IfNotPresent
2712
## Optionally specify an array of imagePullSecrets.
2713
## Secrets must be manually created in the namespace.
2714
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2715
## e.g:
2716
## pullSecrets:
2717
## - myRegistryKeySecretName
2718
##
2719
pullSecrets: []
2720
## Init container' resource requests and limits
2721
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2722
## We usually recommend not to specify default resources and to leave this as a conscious
2723
## choice for the user. This also increases chances charts run on environments with little
2724
## resources, such as Minikube. If you do want to specify resources, uncomment the following
2725
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
2726
## @param sysctlImage.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if sysctlImage.resources is set (sysctlImage.resources is recommended for production).
2727
##
2728
resourcesPreset: "nano"
2729
## @param sysctlImage.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2730
## Example:
2731
## resources:
2732
## requests:
2733
## cpu: 2
2734
## memory: 512Mi
2735
## limits:
2736
## cpu: 3
2737
## memory: 1024Mi
2738
##
2739
resources: {}
2740
## @section Kibana Parameters
2741
2742
## Bundled Kibana parameters
2743
## @param kibana.elasticsearch.hosts [array] Array containing hostnames for the ES instances. Used to generate the URL
2744
## @param kibana.elasticsearch.port Port to connect Kibana and ES instance. Used to generate the URL
2745
##
2746
kibana:
2747
elasticsearch:
2748
hosts:
2749
- '{{ include "elasticsearch.service.name" . }}'
2750
port: '{{ include "elasticsearch.service.ports.restAPI" . }}'
2751
image:
2752
registry: cgr.dev
2753
repository: chainguard-private/kibana-iamguarded
2754
tag: 9.5.7
2755
digest: ""
2756
volumePermissions:
2757
image:
2758
registry: cgr.dev
2759
repository: chainguard-private/os-shell-iamguarded
2760
tag: 1.0.0
2761
digest: ""
2762

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.