1# This file has been modified by Chainguard, Inc.
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
7# Copyright Broadcom, Inc. All Rights Reserved.
8# SPDX-License-Identifier: APACHE-2.0
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
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
30 ## - myRegistryKeySecretName
33 defaultStorageClass: ""
35 ## Security parameters
38 ## @param global.security.allowInsecureImages Allows skipping image verification
39 allowInsecureImages: false
47 ## Compatibility adaptations for Kubernetes platforms
50 ## Compatibility adaptations for 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)
55 adaptSecurityContext: auto
57## @section Common parameters
59## @param kubeVersion Override Kubernetes version
62## @param nameOverride String to partially override common.names.fullname
65## @param fullnameOverride String to fully override common.names.fullname
68## @param commonLabels Labels to add to all deployed objects
71## @param commonAnnotations Annotations to add to all deployed objects
74## @param clusterDomain Kubernetes cluster domain name
76clusterDomain: cluster.local
77## @param extraDeploy Array of extra objects to deploy with the release
80## @param namespaceOverride String to fully override common.names.namespace
83## @param usePasswordFiles Mount credentials as files instead of using environment variables
86## Enable diagnostic mode in the deployment
89 ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
92 ## @param diagnosticMode.command Command to override all containers in the deployment
96 ## @param diagnosticMode.args Args to override all containers in the deployment
100## @section Elasticsearch cluster Parameters
102## @param clusterName Elasticsearch cluster name
105## @param containerPorts.restAPI Elasticsearch REST API port
106## @param containerPorts.transport Elasticsearch Transport port
111## @param plugins Comma, semi-colon or space separated list of plugins to install at initialization
114## @param snapshotRepoPath File System snapshot repository path
117## @param config Override elasticsearch configuration
120## @param extraConfig Append extra configuration to the elasticsearch node configuration
121## Use this instead of `config` to add more configuration
127## ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
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
133## - datacenter2-elasticsearch-master-hl.namespace2.svc
134## - datacenter2-elasticsearch-data-hl.namespace2.svc
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
142## secretName: es-certs
144## @param extraVolumeMounts A list of volume mounts to be added to the pod
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
155## my_init_script.sh: |
157## echo "Do something."
160## @param initScriptsCM ConfigMap with the init scripts. Evaluated as a template.
161## Note: This will override initScripts
164## @param initScriptsSecret Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time that contain sensitive data. Evaluated as a template.
167## @param extraEnvVars Array containing extra env vars to be added to all pods (evaluated as a template)
171## value: env_var_value
174## @param extraEnvVarsCM ConfigMap containing extra env vars to be added to all pods (evaluated as a template)
177## @param extraEnvVarsSecret Secret containing extra env vars to be added to all pods (evaluated as a template)
179extraEnvVarsSecret: ""
180## @param sidecars Add additional sidecar containers to the all elasticsearch node pod(s)
183## - name: your-image-name
185## imagePullPolicy: Always
188## containerPort: 1234
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/
195## - name: your-image-name
197## imagePullPolicy: Always
198## command: ['sh', '-c', 'echo "hello world"']
201## @param enableDefaultInitContainers enables (or disables if false) the default init containers (sysctl, volume permissions, copy plugins etc...)
203enableDefaultInitContainers: true
204## @param useIstioLabels Use this variable to add Istio labels to all pods
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
218 repository: chainguard-private/elasticsearch-iamguarded
221 ## Specify a imagePullPolicy
222 ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
230 ## - myRegistryKeySecretName
236## X-Pack security parameters
237## Note: TLS configuration is required in order to configure password authentication
240 ## @param security.enabled Enable X-Pack Security settings
243 ## @param security.elasticPassword Password for 'elastic' user
246 ## @param security.existingSecret Name of the existing secret containing the Elasticsearch password (expected key: `elasticsearch-password`)
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
257 ## @param security.tls.restEncryption Enable SSL/TLS encryption for Elasticsearch REST API.
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.
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
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
283 ## @param security.tls.keystoreFilename Name of the keystore file
285 keystoreFilename: elasticsearch.keystore.jks
286 ## @param security.tls.truststoreFilename Name of the truststore
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.
293 ## @param security.tls.passwordsSecret Existing secret containing the Keystore and Truststore passwords, or key password if PEM certs are used
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.
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.
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.
308 ## @param security.tls.secretKeystoreKey Name of the secret key containing the Keystore password
310 secretKeystoreKey: ""
311 ## @param security.tls.secretTruststoreKey Name of the secret key containing the Truststore password
313 secretTruststoreKey: ""
314 ## @param security.tls.secretKey Name of the secret key containing the PEM key password
317## @section Traffic Exposure Parameters
320## Elasticsearch service parameters
323 ## @param service.type Elasticsearch service type
326 ## @param service.ports.restAPI Elasticsearch service REST API port
327 ## @param service.ports.transport Elasticsearch service transport port
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>
340 ## @param service.clusterIP Elasticsearch service Cluster IP
345 ## @param service.loadBalancerIP Elasticsearch service Load Balancer IP
346 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
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
352 ## loadBalancerSourceRanges:
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
359 externalTrafficPolicy: Cluster
360 ## @param service.annotations Additional custom annotations for Elasticsearch service
363 ## @param service.extraPorts Extra ports to expose in Elasticsearch service (normally used with the `sidecars` value)
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
370 sessionAffinity: None
371 ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
372 ## sessionAffinityConfig:
374 ## timeoutSeconds: 300
376 sessionAffinityConfig: {}
377## Elasticsearch ingress parameters
378## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
381 ## @param ingress.enabled Enable ingress record generation for Elasticsearch
384 ## @param ingress.pathType Ingress path type
386 pathType: ImplementationSpecific
387 ## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
390 ## @param ingress.hostname Default host for the ingress record
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
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
402 ## kubernetes.io/ingress.class: nginx
403 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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 }}`
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`
414 ## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
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/
422 ## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
425 ## - name: elasticsearch.local
429 ## @param ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
434 ## serviceName: ssl-redirect
435 ## servicePort: use-annotation
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
443 ## - elasticsearch.local
444 ## secretName: elasticsearch.local-tls
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
456 ## - name: elasticsearch.local-tls
458 ## -----BEGIN RSA PRIVATE KEY-----
460 ## -----END RSA PRIVATE KEY-----
462 ## -----BEGIN CERTIFICATE-----
464 ## -----END CERTIFICATE-----
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
471 ## - host: example.local
481## @section Master-elegible nodes parameters
483 ## @param master.masterOnly Deploy the Elasticsearch master-elegible nodes as master-only nodes. Recommended for high-demand deployments.
486 ## @param master.replicaCount Number of master-elegible replicas to deploy
489 ## @param master.extraRoles Append extra roles to the node role
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
502 ## @param master.nameOverride String to partially override elasticsearch.master.fullname
505 ## @param master.fullnameOverride String to fully override elasticsearch.master.fullname
508 ## @param master.servicenameOverride String to fully override elasticsearch.master.servicename
510 servicenameOverride: ""
511 ## @param master.annotations [object] Annotations for the master statefulset
514 ## @param master.updateStrategy.type Master-elegible nodes statefulset stategy type
515 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
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).
527 resourcesPreset: "small"
528 ## @param master.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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.
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
556 fsGroupChangePolicy: Always
558 supplementalGroups: []
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
573 containerSecurityContext:
580 allowPrivilegeEscalation: false
581 readOnlyRootFilesystem: true
585 type: "RuntimeDefault"
587 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
590 ## @param master.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
600 ## @param master.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
602 allowExternalEgress: true
603 ## @param master.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
613 ## - matchExpressions:
619 ## @param master.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
629 ## - matchExpressions:
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
639 ingressNSMatchLabels: {}
640 ingressNSPodMatchLabels: {}
641 ## @param master.automountServiceAccountToken Mount Service Account token in pod
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/
648 ## @param master.podLabels Extra labels for master-elegible pods
649 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
652 ## @param master.podAnnotations Annotations for master-elegible pods
653 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
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/
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
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
667 podAntiAffinityPreset: ""
668 ## Node master.affinity preset
669 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
672 ## @param master.nodeAffinityPreset.type Node affinity preset type. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
675 ## @param master.nodeAffinityPreset.key Node label key to match. Ignored if `master.affinity` is set
678 ## @param master.nodeAffinityPreset.values Node label values to match. Ignored if `master.affinity` is set
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
690 ## @param master.nodeSelector Node labels for master-elegible pods assignment
691 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
694 ## @param master.tolerations Tolerations for master-elegible pods assignment
695 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
698 ## @param master.priorityClassName master-elegible pods' priorityClassName
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/
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
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
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
716 podManagementPolicy: "Parallel"
717 ## @param master.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
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
731 initialDelaySeconds: 90
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
745 initialDelaySeconds: 180
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
759 initialDelaySeconds: 90
764 ## @param master.customStartupProbe Override default startup probe
766 customStartupProbe: {}
767 ## @param master.customLivenessProbe Override default liveness probe
769 customLivenessProbe: {}
770 ## @param master.customReadinessProbe Override default readiness probe
772 customReadinessProbe: {}
773 ## @param master.command Override default container command (useful when using custom images)
776 ## @param master.args Override default container args (useful when using custom images)
779 ## @param master.lifecycleHooks for the master-elegible container(s) to automate configuration before or after startup
782 ## @param master.extraEnvVars Array with extra environment variables to add to master-elegible nodes
789 ## @param master.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for master-elegible nodes
792 ## @param master.extraEnvVarsSecret Name of existing Secret containing extra env vars for master-elegible nodes
794 extraEnvVarsSecret: ""
795 ## @param master.extraVolumes Optionally specify extra list of additional volumes for the master-elegible pod(s)
798 ## @param master.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the master-elegible container(s)
800 extraVolumeMounts: []
801 ## @param master.sidecars Add additional sidecar containers to the master-elegible pod(s)
804 ## - name: your-image-name
806 ## imagePullPolicy: Always
809 ## containerPort: 1234
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/
816 ## - name: your-image-name
818 ## imagePullPolicy: Always
819 ## command: ['sh', '-c', 'echo "hello world"']
822 ## Enable persistence using Persistent Volume Claims
823 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
826 ## @param master.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
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)
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
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.
845 ## @param master.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `master.persistence.existingVolume`
851 ## @param master.persistence.annotations Persistent Volume Claim annotations
854 ## @param master.persistence.accessModes Persistent Volume Access Modes
858 ## @param master.persistence.size Persistent Volume Size
861 ## Master Persistent Volume Claim Retention Policy
862 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
864 persistentVolumeClaimRetentionPolicy:
865 ## @param master.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Master StatefulSet
868 ## @param master.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
871 ## @param master.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
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`.
884 automountServiceAccountToken: false
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)
900## @section Data-only nodes parameters
902 ## @param data.replicaCount Number of data-only replicas to deploy
905 ## @param data.extraRoles Append extra roles to the node role
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
918 ## @param data.nameOverride String to partially override elasticsearch.data.fullname
921 ## @param data.fullnameOverride String to fully override elasticsearch.data.fullname
924 ## @param data.servicenameOverride String to fully override elasticsearch.data.servicename
926 servicenameOverride: ""
927 ## @param data.annotations [object] Annotations for the data statefulset
930 ## @param data.updateStrategy.type Data-only nodes statefulset stategy type
931 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
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).
939 resourcesPreset: "medium"
940 ## @param data.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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.
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
968 fsGroupChangePolicy: Always
970 supplementalGroups: []
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
985 containerSecurityContext:
992 allowPrivilegeEscalation: false
993 readOnlyRootFilesystem: true
997 type: "RuntimeDefault"
999 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1002 ## @param data.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1012 ## @param data.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1014 allowExternalEgress: true
1015 ## @param data.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1025 ## - matchExpressions:
1031 ## @param data.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1041 ## - matchExpressions:
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
1051 ingressNSMatchLabels: {}
1052 ingressNSPodMatchLabels: {}
1053 ## @param data.automountServiceAccountToken Mount Service Account token in pod
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/
1060 ## @param data.podLabels Extra labels for data pods
1061 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1064 ## @param data.podAnnotations Annotations for data pods
1065 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
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/
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
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
1079 podAntiAffinityPreset: ""
1080 ## Node data.affinity preset
1081 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1084 ## @param data.nodeAffinityPreset.type Node affinity preset type. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1087 ## @param data.nodeAffinityPreset.key Node label key to match. Ignored if `data.affinity` is set
1090 ## @param data.nodeAffinityPreset.values Node label values to match. Ignored if `data.affinity` is set
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
1102 ## @param data.nodeSelector Node labels for data pods assignment
1103 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1106 ## @param data.tolerations Tolerations for data pods assignment
1107 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1110 ## @param data.priorityClassName data pods' priorityClassName
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/
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
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
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
1128 podManagementPolicy: "Parallel"
1129 ## @param data.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
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
1143 initialDelaySeconds: 90
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
1157 initialDelaySeconds: 180
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
1171 initialDelaySeconds: 90
1176 ## @param data.customStartupProbe Override default startup probe
1178 customStartupProbe: {}
1179 ## @param data.customLivenessProbe Override default liveness probe
1181 customLivenessProbe: {}
1182 ## @param data.customReadinessProbe Override default readiness probe
1184 customReadinessProbe: {}
1185 ## @param data.command Override default container command (useful when using custom images)
1188 ## @param data.args Override default container args (useful when using custom images)
1191 ## @param data.lifecycleHooks for the data container(s) to automate configuration before or after startup
1194 ## @param data.extraEnvVars Array with extra environment variables to add to data nodes
1201 ## @param data.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for data nodes
1204 ## @param data.extraEnvVarsSecret Name of existing Secret containing extra env vars for data nodes
1206 extraEnvVarsSecret: ""
1207 ## @param data.extraVolumes Optionally specify extra list of additional volumes for the data pod(s)
1210 ## @param data.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the data container(s)
1212 extraVolumeMounts: []
1213 ## @param data.sidecars Add additional sidecar containers to the data pod(s)
1216 ## - name: your-image-name
1217 ## image: your-image
1218 ## imagePullPolicy: Always
1221 ## containerPort: 1234
1224 ## @param data.initContainers Add additional init containers to the data pod(s)
1225 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1228 ## - name: your-image-name
1229 ## image: your-image
1230 ## imagePullPolicy: Always
1231 ## command: ['sh', '-c', 'echo "hello world"']
1234 ## Enable persistence using Persistent Volume Claims
1235 ## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1238 ## @param data.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
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)
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
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.
1257 ## @param data.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `data.persistence.existingVolume`
1263 ## @param data.persistence.annotations Persistent Volume Claim annotations
1266 ## @param data.persistence.accessModes Persistent Volume Access Modes
1270 ## @param data.persistence.size Persistent Volume Size
1273 ## Data Persistent Volume Claim Retention Policy
1274 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
1276 persistentVolumeClaimRetentionPolicy:
1277 ## @param data.persistentVolumeClaimRetentionPolicy.enabled Enable Persistent volume retention policy for Data StatefulSet
1280 ## @param data.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
1283 ## @param data.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
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`.
1296 automountServiceAccountToken: false
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)
1312## @section Coordinating-only nodes parameters
1314 ## @param coordinating.replicaCount Number of coordinating-only replicas to deploy
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.
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
1331 ## @param coordinating.nameOverride String to partially override elasticsearch.coordinating.fullname
1334 ## @param coordinating.fullnameOverride String to fully override elasticsearch.coordinating.fullname
1336 fullnameOverride: ""
1337 ## @param coordinating.servicenameOverride String to fully override elasticsearch.coordinating.servicename
1339 servicenameOverride: ""
1340 ## @param coordinating.annotations [object] Annotations for the coordinating-only statefulset
1343 ## @param coordinating.updateStrategy.type Coordinating-only nodes statefulset stategy type
1344 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
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).
1352 resourcesPreset: "small"
1353 ## @param coordinating.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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.
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
1381 fsGroupChangePolicy: Always
1383 supplementalGroups: []
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
1398 containerSecurityContext:
1405 allowPrivilegeEscalation: false
1406 readOnlyRootFilesystem: true
1410 type: "RuntimeDefault"
1412 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1415 ## @param coordinating.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1425 ## @param coordinating.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1427 allowExternalEgress: true
1428 ## @param coordinating.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1438 ## - matchExpressions:
1444 ## @param coordinating.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1454 ## - matchExpressions:
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
1464 ingressNSMatchLabels: {}
1465 ingressNSPodMatchLabels: {}
1466 ## @param coordinating.automountServiceAccountToken Mount Service Account token in pod
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/
1473 ## @param coordinating.podLabels Extra labels for coordinating-only pods
1474 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1477 ## @param coordinating.podAnnotations Annotations for coordinating-only pods
1478 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
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/
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
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
1492 podAntiAffinityPreset: ""
1493 ## Node coordinating.affinity preset
1494 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1497 ## @param coordinating.nodeAffinityPreset.type Node affinity preset type. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1500 ## @param coordinating.nodeAffinityPreset.key Node label key to match. Ignored if `coordinating.affinity` is set
1503 ## @param coordinating.nodeAffinityPreset.values Node label values to match. Ignored if `coordinating.affinity` is set
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
1515 ## @param coordinating.nodeSelector Node labels for coordinating-only pods assignment
1516 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1519 ## @param coordinating.tolerations Tolerations for coordinating-only pods assignment
1520 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1523 ## @param coordinating.priorityClassName coordinating-only pods' priorityClassName
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/
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
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
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
1541 podManagementPolicy: "Parallel"
1542 ## @param coordinating.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
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
1556 initialDelaySeconds: 90
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
1570 initialDelaySeconds: 180
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
1584 initialDelaySeconds: 90
1589 ## @param coordinating.customStartupProbe Override default startup probe
1591 customStartupProbe: {}
1592 ## @param coordinating.customLivenessProbe Override default liveness probe
1594 customLivenessProbe: {}
1595 ## @param coordinating.customReadinessProbe Override default readiness probe
1597 customReadinessProbe: {}
1598 ## @param coordinating.command Override default container command (useful when using custom images)
1601 ## @param coordinating.args Override default container args (useful when using custom images)
1604 ## @param coordinating.lifecycleHooks for the coordinating-only container(s) to automate configuration before or after startup
1607 ## @param coordinating.extraEnvVars Array with extra environment variables to add to coordinating-only nodes
1614 ## @param coordinating.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for coordinating-only nodes
1617 ## @param coordinating.extraEnvVarsSecret Name of existing Secret containing extra env vars for coordinating-only nodes
1619 extraEnvVarsSecret: ""
1620 ## @param coordinating.extraVolumes Optionally specify extra list of additional volumes for the coordinating-only pod(s)
1623 ## @param coordinating.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the coordinating-only container(s)
1625 extraVolumeMounts: []
1626 ## @param coordinating.sidecars Add additional sidecar containers to the coordinating-only pod(s)
1629 ## - name: your-image-name
1630 ## image: your-image
1631 ## imagePullPolicy: Always
1634 ## containerPort: 1234
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/
1641 ## - name: your-image-name
1642 ## image: your-image
1643 ## imagePullPolicy: Always
1644 ## command: ['sh', '-c', 'echo "hello world"']
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`.
1657 automountServiceAccountToken: false
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)
1673## @section Ingest-only nodes parameters
1675 ## @param ingest.enabled Enable ingest nodes
1678 ## @param ingest.replicaCount Number of ingest-only replicas to deploy
1681 ## @param ingest.extraRoles Append extra roles to the node role
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
1694 ## @param ingest.nameOverride String to partially override elasticsearch.ingest.fullname
1697 ## @param ingest.fullnameOverride String to fully override elasticsearch.ingest.fullname
1699 fullnameOverride: ""
1700 ## @param ingest.servicenameOverride String to fully override ingest.master.servicename
1702 servicenameOverride: ""
1703 ## @param ingest.annotations [object] Annotations for the ingest statefulset
1706 ## @param ingest.containerPorts.restAPI Elasticsearch REST API port
1707 ## @param ingest.containerPorts.transport Elasticsearch Transport port
1712 ## @param ingest.updateStrategy.type Ingest-only nodes statefulset stategy type
1713 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
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).
1721 resourcesPreset: "small"
1722 ## @param ingest.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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.
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
1750 fsGroupChangePolicy: Always
1752 supplementalGroups: []
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
1767 containerSecurityContext:
1774 allowPrivilegeEscalation: false
1775 readOnlyRootFilesystem: true
1779 type: "RuntimeDefault"
1781 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1784 ## @param ingest.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1794 ## @param ingest.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1796 allowExternalEgress: true
1797 ## @param ingest.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1807 ## - matchExpressions:
1813 ## @param ingest.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1823 ## - matchExpressions:
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
1833 ingressNSMatchLabels: {}
1834 ingressNSPodMatchLabels: {}
1835 ## @param ingest.automountServiceAccountToken Mount Service Account token in pod
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/
1842 ## @param ingest.podLabels Extra labels for ingest-only pods
1843 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1846 ## @param ingest.podAnnotations Annotations for ingest-only pods
1847 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
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/
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
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
1861 podAntiAffinityPreset: ""
1862 ## Node ingest.affinity preset
1863 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1866 ## @param ingest.nodeAffinityPreset.type Node affinity preset type. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
1869 ## @param ingest.nodeAffinityPreset.key Node label key to match. Ignored if `ingest.affinity` is set
1872 ## @param ingest.nodeAffinityPreset.values Node label values to match. Ignored if `ingest.affinity` is set
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
1884 ## @param ingest.nodeSelector Node labels for ingest-only pods assignment
1885 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1888 ## @param ingest.tolerations Tolerations for ingest-only pods assignment
1889 ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1892 ## @param ingest.priorityClassName ingest-only pods' priorityClassName
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/
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
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
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
1910 podManagementPolicy: "Parallel"
1911 ## @param ingest.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
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
1925 initialDelaySeconds: 90
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
1939 initialDelaySeconds: 180
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
1953 initialDelaySeconds: 90
1958 ## @param ingest.customStartupProbe Override default startup probe
1960 customStartupProbe: {}
1961 ## @param ingest.customLivenessProbe Override default liveness probe
1963 customLivenessProbe: {}
1964 ## @param ingest.customReadinessProbe Override default readiness probe
1966 customReadinessProbe: {}
1967 ## @param ingest.command Override default container command (useful when using custom images)
1970 ## @param ingest.args Override default container args (useful when using custom images)
1973 ## @param ingest.lifecycleHooks for the ingest-only container(s) to automate configuration before or after startup
1976 ## @param ingest.extraEnvVars Array with extra environment variables to add to ingest-only nodes
1983 ## @param ingest.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for ingest-only nodes
1986 ## @param ingest.extraEnvVarsSecret Name of existing Secret containing extra env vars for ingest-only nodes
1988 extraEnvVarsSecret: ""
1989 ## @param ingest.extraVolumes Optionally specify extra list of additional volumes for the ingest-only pod(s)
1992 ## @param ingest.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the ingest-only container(s)
1994 extraVolumeMounts: []
1995 ## @param ingest.sidecars Add additional sidecar containers to the ingest-only pod(s)
1998 ## - name: your-image-name
1999 ## image: your-image
2000 ## imagePullPolicy: Always
2003 ## containerPort: 1234
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/
2010 ## - name: your-image-name
2011 ## image: your-image
2012 ## imagePullPolicy: Always
2013 ## command: ['sh', '-c', 'echo "hello world"']
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`.
2026 automountServiceAccountToken: false
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)
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.
2047 ## @param ingest.service.enabled Enable Ingest-only service
2050 ## @param ingest.service.type Elasticsearch ingest-only service type
2053 ## @param ingest.service.ports.restAPI Elasticsearch service REST API port
2054 ## @param ingest.service.ports.transport Elasticsearch service transport port
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>
2067 ## @param ingest.service.clusterIP Elasticsearch ingest-only service Cluster IP
2072 ## @param ingest.service.loadBalancerIP Elasticsearch ingest-only service Load Balancer IP
2073 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
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
2079 ## loadBalancerSourceRanges:
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
2086 externalTrafficPolicy: Cluster
2087 ## @param ingest.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
2090 ## @param ingest.service.annotations Additional custom annotations for Elasticsearch ingest-only service
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
2097 sessionAffinity: None
2098 ## @param ingest.service.sessionAffinityConfig Additional settings for the sessionAffinity
2099 ## sessionAffinityConfig:
2101 ## timeoutSeconds: 300
2103 sessionAffinityConfig: {}
2104 ## Elasticsearch Ingest-only ingress parameters
2105 ## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
2108 ## @param ingest.ingress.enabled Enable ingress record generation for Elasticsearch
2111 ## @param ingest.ingress.pathType Ingress path type
2113 pathType: ImplementationSpecific
2114 ## @param ingest.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2117 ## @param ingest.ingress.hostname Default host for the ingress record
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
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
2129 ## kubernetes.io/ingress.class: nginx
2130 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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 }}`
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`
2141 ## @param ingest.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
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/
2148 ingressClassName: ""
2149 ## @param ingest.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
2152 ## - name: elasticsearch.local
2156 ## @param ingest.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
2161 ## serviceName: ssl-redirect
2162 ## servicePort: use-annotation
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
2170 ## - elasticsearch.local
2171 ## secretName: elasticsearch.local-tls
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
2183 ## - name: elasticsearch.local-tls
2185 ## -----BEGIN RSA PRIVATE KEY-----
2187 ## -----END RSA PRIVATE KEY-----
2189 ## -----BEGIN CERTIFICATE-----
2191 ## -----END CERTIFICATE-----
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
2198 ## - host: example.local
2203 ## name: example-svc
2208## @section Metrics parameters
2210## Elasticsearch Prometheus exporter configuration
2213 ## @param metrics.enabled Enable prometheus exporter
2216 ## @param metrics.nameOverride Metrics pod name
2219 ## @param metrics.fullnameOverride String to fully override common.names.fullname
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
2231 repository: chainguard-private/prometheus-elasticsearch-exporter-iamguarded
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/
2240 ## - myRegistryKeySecretName
2243 ## @param metrics.annotations [object] Annotations for metrics
2244 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/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
2257 ## @param metrics.automountServiceAccountToken Mount Service Account token in pod
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/
2264 ## @param metrics.schedulerName Name of the k8s scheduler (other than default)
2265 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2268 ## @param metrics.priorityClassName Elasticsearch metrics exporter pods' priorityClassName
2270 priorityClassName: ""
2271 ## Elasticsearch Prometheus exporter container ports
2272 ## @param metrics.containerPorts.http Metrics HTTP port
2277 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2280 ## @param metrics.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
2290 ## @param metrics.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2292 allowExternalEgress: true
2293 ## @param metrics.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2303 ## - matchExpressions:
2309 ## @param metrics.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2319 ## - matchExpressions:
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
2329 ingressNSMatchLabels: {}
2330 ingressNSPodMatchLabels: {}
2331 ## Elasticsearch Prometheus exporter service type
2334 ## @param metrics.service.type Metrics exporter endpoint service type
2337 ## @param metrics.service.port Metrics exporter endpoint service port
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
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
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
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.
2364 ## key: "kubernetes.io/e2e-az-name"
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
2378 ## @param metrics.nodeSelector Metrics Node labels for pod assignment
2379 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2382 ## @param metrics.tolerations Metrics Tolerations for pod assignment
2383 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
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).
2398 resourcesPreset: "nano"
2399 ## @param metrics.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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)
2421 initialDelaySeconds: 60
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)
2437 initialDelaySeconds: 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)
2453 initialDelaySeconds: 5
2458 ## @param metrics.customStartupProbe Custom liveness probe for the Web component
2460 customStartupProbe: {}
2461 ## @param metrics.customLivenessProbe Custom liveness probe for the Web component
2463 customLivenessProbe: {}
2464 ## @param metrics.customReadinessProbe Custom readiness probe for the Web component
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/
2471 prometheus.io/scrape: "true"
2472 prometheus.io/port: "9114"
2473 ## @param metrics.podLabels Extra labels to add to Pod
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
2486 fsGroupChangePolicy: Always
2488 supplementalGroups: []
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
2503 containerSecurityContext:
2510 allowPrivilegeEscalation: false
2511 readOnlyRootFilesystem: true
2515 type: "RuntimeDefault"
2516 ## @param metrics.command Override default container command (useful when using custom images)
2519 ## @param metrics.args Override default container args (useful when using custom images)
2522 ## @param metrics.extraEnvVars Array with extra environment variables to add to Elasticsearch metrics exporter nodes
2529 ## @param metrics.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Elasticsearch metrics exporter nodes
2532 ## @param metrics.extraEnvVarsSecret Name of existing Secret containing extra env vars for Elasticsearch metrics exporter nodes
2534 extraEnvVarsSecret: ""
2535 ## @param metrics.extraVolumes Optionally specify extra list of additional volumes for the Elasticsearch metrics exporter pod(s)
2538 ## @param metrics.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Elasticsearch metrics exporter container(s)
2540 extraVolumeMounts: []
2541 ## @param metrics.sidecars Add additional sidecar containers to the Elasticsearch metrics exporter pod(s)
2544 ## - name: your-image-name
2545 ## image: your-image
2546 ## imagePullPolicy: Always
2549 ## containerPort: 1234
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/
2556 ## - name: your-image-name
2557 ## image: your-image
2558 ## imagePullPolicy: Always
2559 ## command: ['sh', '-c', 'echo "hello world"']
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`.
2572 automountServiceAccountToken: false
2574 ## Prometheus Operator ServiceMonitor configuration
2577 ## @param metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
2580 ## @param metrics.serviceMonitor.namespace Namespace which Prometheus is running in
2582 ## namespace: monitoring
2585 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
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
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
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
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
2603 metricRelabelings: []
2604 ## @param metrics.serviceMonitor.selector ServiceMonitor selector labels
2607 ## prometheus: my-prometheus
2610 ## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
2613 ## @param metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2616 ## Prometheus Operator PrometheusRule configuration
2619 ## @param metrics.prometheusRule.enabled Creates a Prometheus Operator PrometheusRule (also requires `metrics.enabled` to be `true` and `metrics.prometheusRule.rules`)
2622 ## @param metrics.prometheusRule.namespace Namespace for the PrometheusRule Resource (defaults to the Release Namespace)
2625 ## @param metrics.prometheusRule.additionalLabels Additional labels that can be used so PrometheusRule will be discovered by Prometheus
2627 additionalLabels: {}
2628 ## @param metrics.prometheusRule.rules Prometheus Rule definitions
2629 # - alert: es cluster error
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
2636 # severity: critical
2640## @section Init Container Parameters
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
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)
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
2659 repository: chainguard-private/os-shell-iamguarded
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/
2668 ## - myRegistryKeySecretName
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).
2679 resourcesPreset: "nano"
2680 ## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2691## Kernel settings modifier image
2694 ## @param sysctlImage.enabled Enable kernel settings modifier image
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
2705 repository: chainguard-private/os-shell-iamguarded
2708 ## Specify a imagePullPolicy
2709 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
2717 ## - myRegistryKeySecretName
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).
2728 resourcesPreset: "nano"
2729 ## @param sysctlImage.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2740## @section Kibana Parameters
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
2749 - '{{ include "elasticsearch.service.name" . }}'
2750 port: '{{ include "elasticsearch.service.ports.restAPI" . }}'
2753 repository: chainguard-private/kibana-iamguarded
2759 repository: chainguard-private/os-shell-iamguarded