DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
opensearch logoHELM

opensearch

Helm chart
iamguarded
Last changed
Request a free trial

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

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# This file has been modified by Chainguard, Inc.
2
#
3
# Copyright Chainguard, Inc. All Rights Reserved.
4
# Chainguard, Inc. modifications are subject to the license
5
# available at: https://www.chainguard.dev/legal/software-license-agreement
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
10
## @section Global parameters
11
## Global Docker image parameters
12
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
14
15
## @param global.imageRegistry Global Docker image registry
16
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
17
## @param global.imagePullSecrets Global Docker registry secret names as an array
18
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
19
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
20
##
21
global:
22
imageRegistry: ""
23
useImageTags: false
24
## E.g.
25
## imagePullSecrets:
26
## - myRegistryKeySecretName
27
##
28
imagePullSecrets: []
29
defaultStorageClass: ""
30
storageClass: ""
31
## Security parameters
32
##
33
security:
34
## @param global.security.allowInsecureImages Allows skipping image verification
35
allowInsecureImages: false
36
## Compatibility adaptations for Kubernetes platforms
37
##
38
compatibility:
39
## Compatibility adaptations for Openshift
40
##
41
openshift:
42
## @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)
43
##
44
adaptSecurityContext: auto
45
org: ""
46
## @section Common parameters
47
48
## @param kubeVersion Override Kubernetes version
49
##
50
kubeVersion: ""
51
## @param apiVersions Override Kubernetes API versions reported by .Capabilities
52
##
53
apiVersions: []
54
## @param nameOverride String to partially override common.names.fullname
55
##
56
nameOverride: ""
57
## @param fullnameOverride String to fully override common.names.fullname
58
##
59
fullnameOverride: ""
60
## @param commonLabels Labels to add to all deployed objects
61
##
62
commonLabels: {}
63
## @param commonAnnotations Annotations to add to all deployed objects
64
##
65
commonAnnotations: {}
66
## @param clusterDomain Kubernetes cluster domain name
67
##
68
clusterDomain: cluster.local
69
## @param extraDeploy Array of extra objects to deploy with the release
70
##
71
extraDeploy: []
72
## @param namespaceOverride String to fully override common.names.namespace
73
##
74
namespaceOverride: ""
75
## @param usePasswordFiles Mount credentials as files instead of using environment variables
76
##
77
usePasswordFiles: true
78
## Enable diagnostic mode in the deployment
79
##
80
diagnosticMode:
81
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
82
##
83
enabled: false
84
## @param diagnosticMode.command Command to override all containers in the deployment
85
##
86
command:
87
- sleep
88
## @param diagnosticMode.args Args to override all containers in the deployment
89
##
90
args:
91
- infinity
92
## @section OpenSearch cluster Parameters
93
94
## @param clusterName OpenSearch cluster name
95
##
96
clusterName: open
97
## @param containerPorts.restAPI OpenSearch REST API port
98
## @param containerPorts.transport OpenSearch Transport port
99
##
100
containerPorts:
101
restAPI: 9200
102
transport: 9300
103
## @param plugins Comma, semi-colon or space separated list of plugins to install at initialization
104
##
105
plugins: ""
106
## @param snapshotRepoPath File System snapshot repository path
107
##
108
snapshotRepoPath: ""
109
## @param config Override opensearch configuration
110
##
111
config: {}
112
## @param extraConfig Append extra configuration to the opensearch node configuration
113
## Use this instead of `config` to add more configuration
114
## See below example:
115
## extraConfig:
116
## node:
117
## store:
118
## allow_mmap: false
119
## ref: https://www.open.co/guide/en/opensearch/reference/current/settings.html
120
##
121
extraConfig: {}
122
## @param extraHosts A list of external hosts which are part of this cluster
123
## Example Use Case: When you have a cluster with nodes spanned across multiple K8s or namespaces
124
## extraHosts:
125
## - datacenter2-opensearch-master-hl.namespace2.svc
126
## - datacenter2-opensearch-data-hl.namespace2.svc
127
extraHosts: []
128
## @param extraVolumes A list of volumes to be added to the pod
129
## Example Use Case: mount ssl certificates when opensearch has tls enabled
130
## extraVolumes:
131
## - name: es-certs
132
## secret:
133
## defaultMode: 420
134
## secretName: es-certs
135
extraVolumes: []
136
## @param extraVolumeMounts A list of volume mounts to be added to the pod
137
## extraVolumeMounts:
138
## - name: es-certs
139
## mountPath: /certs
140
## readOnly: true
141
extraVolumeMounts: []
142
## @param initScripts Dictionary of init scripts. Evaluated as a template.
143
## Specify dictionary of scripts to be run at first boot
144
## Alternatively, you can put your scripts under the files/docker-entrypoint-initdb.d directory
145
## For example:
146
## initScripts:
147
## my_init_script.sh: |
148
## #!/bin/sh
149
## echo "Do something."
150
initScripts: {}
151
## @param initScriptsCM ConfigMap with the init scripts. Evaluated as a template.
152
## Note: This will override initScripts
153
##
154
initScriptsCM: ""
155
## @param initScriptsSecret Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time that contain sensitive data. Evaluated as a template.
156
##
157
initScriptsSecret: ""
158
## @param extraEnvVars Array containing extra env vars to be added to all pods (evaluated as a template)
159
## For example:
160
## extraEnvVars:
161
## - name: MY_ENV_VAR
162
## value: env_var_value
163
##
164
extraEnvVars: []
165
## @param extraEnvVarsCM ConfigMap containing extra env vars to be added to all pods (evaluated as a template)
166
##
167
extraEnvVarsCM: ""
168
## @param extraEnvVarsSecret Secret containing extra env vars to be added to all pods (evaluated as a template)
169
##
170
extraEnvVarsSecret: ""
171
## @param sidecars Add additional sidecar containers to the all opensearch node pod(s)
172
## e.g:
173
## sidecars:
174
## - name: your-image-name
175
## image: your-image
176
## imagePullPolicy: Always
177
## ports:
178
## - name: portname
179
## containerPort: 1234
180
##
181
sidecars: []
182
## @param initContainers Add additional init containers to the all opensearch node pod(s)
183
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
184
## e.g:
185
## initContainers:
186
## - name: your-image-name
187
## image: your-image
188
## imagePullPolicy: Always
189
## command: ['sh', '-c', 'echo "hello world"']
190
##
191
initContainers: []
192
## @param useIstioLabels Use this variable to add Istio labels to all pods
193
##
194
useIstioLabels: true
195
## Iamguarded OpenSearch image
196
## @param image.registry [default: REGISTRY_NAME] OpenSearch image registry
197
## @param image.repository [default: REPOSITORY_NAME/opensearch] OpenSearch image repository
198
## @skip image.tag OpenSearch image tag (immutable tags are recommended)
199
## @param image.digest OpenSearch image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
200
## @param image.pullPolicy OpenSearch image pull policy
201
## @param image.pullSecrets OpenSearch image pull secrets
202
## @param image.debug Enable OpenSearch image debug mode
203
##
204
image:
205
registry: cgr.dev
206
repository: chainguard-private/opensearch-iamguarded
207
tag: 3.10.1
208
digest: ""
209
## Specify a imagePullPolicy
210
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
211
##
212
pullPolicy: IfNotPresent
213
## Optionally specify an array of imagePullSecrets.
214
## Secrets must be manually created in the namespace.
215
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
216
## e.g:
217
## pullSecrets:
218
## - myRegistryKeySecretName
219
##
220
pullSecrets: []
221
## Enable debug mode
222
##
223
debug: false
224
## X-Pack security parameters
225
## Note: TLS configuration is required in order to configure password authentication
226
##
227
security:
228
## @param security.enabled Enable X-Pack Security settings
229
##
230
enabled: false
231
## @param security.adminPassword Password for 'admin' user
232
##
233
adminPassword: ""
234
## @param security.logstashPassword Password for Logstash
235
##
236
logstashPassword: ""
237
## @param security.existingSecret Name of the existing secret containing the OpenSearch password and
238
##
239
existingSecret: ""
240
## FIPS mode
241
## @param security.fipsMode Configure opensearch with FIPS 140 compliant mode
242
## Ref: https://www.open.co/guide/en/opensearch/reference/current/fips-140-compliance.html
243
##
244
fipsMode: false
245
## TLS configuration
246
##
247
tls:
248
## @section OpenSearch admin parameters
249
## @param security.tls.admin.existingSecret Existing secret containing the certificates for admin
250
## @param security.tls.admin.certKey Key containing the crt for admin certificate (defaults to admin.crt)
251
## @param security.tls.admin.keyKey Key containing the key for admin certificate (defaults to admin.key)
252
##
253
admin:
254
existingSecret: ""
255
certKey: ""
256
keyKey: ""
257
## @param security.tls.restEncryption Enable SSL/TLS encryption for OpenSearch REST API.
258
##
259
restEncryption: false
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 OpenSearch TLS secrets.
262
## Otherwise, the new node certs won't match the existing certs.
263
##
264
autoGenerated: true
265
## @param security.tls.verificationMode Verification mode for SSL communications.
266
## Supported values: full, certificate, none.
267
## Ref: https://www.open.co/guide/en/opensearch/reference/current/security-settings.html
268
##
269
verificationMode: "full"
270
## TLS configuration for master nodes
271
##
272
master:
273
## @param security.tls.master.existingSecret Existing secret containing the certificates for the master nodes
274
## @param security.tls.master.certKey Key containing the crt for master nodes certificate (defaults to tls.crt)
275
## @param security.tls.master.keyKey Key containing the key for master nodes certificate (defaults to tls.key)
276
## @param security.tls.master.caKey Key containing the ca for master nodes certificate (defaults to ca.crt)
277
##
278
existingSecret: ""
279
certKey: ""
280
keyKey: ""
281
caKey: ""
282
## TLS configuration for data nodes
283
##
284
data:
285
## @param security.tls.data.existingSecret Existing secret containing the certificates for the data nodes
286
## @param security.tls.data.certKey Key containing the crt for data nodes certificate (defaults to tls.crt)
287
## @param security.tls.data.keyKey Key containing the key for data nodes certificate (defaults to tls.key)
288
## @param security.tls.data.caKey Key containing the ca for data nodes certificate (defaults to ca.crt)
289
##
290
existingSecret: ""
291
certKey: ""
292
keyKey: ""
293
caKey: ""
294
## TLS configuration for ingest nodes
295
##
296
ingest:
297
## @param security.tls.ingest.existingSecret Existing secret containing the certificates for the ingest nodes
298
## @param security.tls.ingest.certKey Key containing the crt for ingest nodes certificate (defaults to tls.crt)
299
## @param security.tls.ingest.keyKey Key containing the key for ingest nodes certificate (defaults to tls.key)
300
## @param security.tls.ingest.caKey Key containing the ca for ingest nodes certificate (defaults to ca.crt)
301
##
302
existingSecret: ""
303
certKey: ""
304
keyKey: ""
305
caKey: ""
306
## TLS configuration for coordinating nodes
307
##
308
coordinating:
309
## @param security.tls.coordinating.existingSecret Existing secret containing the certificates for the coordinating nodes
310
## @param security.tls.coordinating.certKey Key containing the crt for coordinating nodes certificate (defaults to tls.crt)
311
## @param security.tls.coordinating.keyKey Key containing the key for coordinating nodes certificate (defaults to tls.key)
312
## @param security.tls.coordinating.caKey Key containing the ca for coordinating nodes certificate (defaults to ca.crt)
313
##
314
existingSecret: ""
315
certKey: ""
316
keyKey: ""
317
caKey: ""
318
## @param security.tls.keystoreFilename Name of the keystore file
319
##
320
keystoreFilename: opensearch.keystore.jks
321
## @param security.tls.truststoreFilename Name of the truststore
322
##
323
truststoreFilename: opensearch.truststore.jks
324
## @param security.tls.usePemCerts Use this variable if your secrets contain PEM certificates instead of JKS/PKCS12
325
## Ignored when using autoGenerated certs.
326
##
327
usePemCerts: false
328
## @param security.tls.passwordsSecret Existing secret containing the Keystore and Truststore passwords, or key password if PEM certs are used
329
##
330
passwordsSecret: ""
331
## @param security.tls.keystorePassword Password to access the JKS/PKCS12 keystore or PEM key when they are password-protected.
332
## Ignored if security.tls.passwordsSecret is provided.
333
##
334
keystorePassword: ""
335
## @param security.tls.truststorePassword Password to access the JKS/PKCS12 truststore when they are password-protected.
336
## Ignored if security.tls.passwordsSecret is provided.
337
##
338
truststorePassword: ""
339
## @param security.tls.keyPassword Password to access the PEM key when they are password-protected.
340
## Ignored if security.tls.passwordsSecret is provided.
341
##
342
keyPassword: ""
343
## @param security.tls.secretKeystoreKey Name of the secret key containing the Keystore password
344
##
345
secretKeystoreKey: ""
346
## @param security.tls.secretTruststoreKey Name of the secret key containing the Truststore password
347
##
348
secretTruststoreKey: ""
349
## @param security.tls.secretKey Name of the secret key containing the PEM key password
350
##
351
secretKey: ""
352
## @param security.tls.nodesDN A comma separated list of DN for nodes
353
## e.g. nodesDN: "O=Example CA,C=SE,UID=c-5ca04c9328c8208704310f7c2ed16414"
354
##
355
##
356
nodesDN: ""
357
## @param security.tls.adminDN A comma separated list of DN for admins
358
## Note that this parameter has lower priority than extraConfig.plugins.security.authcz.admin_dn and will be overridden if both parameters are set.
359
##
360
## Also, due to specifics of the config bootstrap script implementation, spaces will be treated as separators.
361
## For example, "CN=admin,O=Some Organisation,L=SomeCity,C=SomeCountry" will become:
362
## admin_dn:
363
## - CN=admin,O=Some
364
## - Organisation,L=SomeCity,C=SomeCountry
365
##
366
## To avoid this, consider using extraConfig.plugins.security.authcz.admin_dn instead.
367
##
368
##
369
adminDN: "CN=admin;CN=admin"
370
## @section Traffic Exposure Parameters
371
372
## OpenSearch service parameters
373
##
374
service:
375
## @param service.type OpenSearch service type
376
##
377
type: ClusterIP
378
## @param service.ports.restAPI OpenSearch service REST API port
379
## @param service.ports.transport OpenSearch service transport port
380
##
381
ports:
382
restAPI: 9200
383
transport: 9300
384
## Node ports to expose
385
## @param service.nodePorts.restAPI Node port for REST API
386
## @param service.nodePorts.transport Node port for REST API
387
## NOTE: choose port between <30000-32767>
388
##
389
nodePorts:
390
restAPI: ""
391
transport: ""
392
## @param service.clusterIP OpenSearch service Cluster IP
393
## e.g.:
394
## clusterIP: None
395
##
396
clusterIP: ""
397
## @param service.loadBalancerIP OpenSearch service Load Balancer IP
398
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
399
##
400
loadBalancerIP: ""
401
## @param service.loadBalancerSourceRanges OpenSearch service Load Balancer sources
402
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
403
## e.g:
404
## loadBalancerSourceRanges:
405
## - 10.10.10.0/24
406
##
407
loadBalancerSourceRanges: []
408
## @param service.externalTrafficPolicy OpenSearch service external traffic policy
409
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
410
##
411
externalTrafficPolicy: Cluster
412
## @param service.annotations Additional custom annotations for OpenSearch service
413
##
414
annotations: {}
415
## @param service.extraPorts Extra ports to expose in OpenSearch service (normally used with the `sidecars` value)
416
##
417
extraPorts: []
418
## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
419
## If "ClientIP", consecutive client requests will be directed to the same Pod
420
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
421
##
422
sessionAffinity: None
423
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
424
## sessionAffinityConfig:
425
## clientIP:
426
## timeoutSeconds: 300
427
##
428
sessionAffinityConfig: {}
429
## OpenSearch ingress parameters
430
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
431
##
432
ingress:
433
## @param ingress.enabled Enable ingress record generation for OpenSearch
434
##
435
enabled: false
436
## @param ingress.pathType Ingress path type
437
##
438
pathType: ImplementationSpecific
439
## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
440
##
441
apiVersion: ""
442
## @param ingress.hostname Default host for the ingress record
443
##
444
hostname: opensearch.local
445
## @param ingress.path Default path for the ingress record
446
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
447
##
448
path: /
449
## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
450
## Use this parameter to set the required annotations for cert-manager, see
451
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
452
## e.g:
453
## annotations:
454
## kubernetes.io/ingress.class: nginx
455
## cert-manager.io/cluster-issuer: cluster-issuer-name
456
##
457
annotations: {}
458
## @param ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
459
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
460
## You can:
461
## - Use the `ingress.secrets` parameter to create this TLS secret
462
## - Rely on cert-manager to create it by setting the corresponding annotations
463
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
464
##
465
tls: false
466
## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
467
##
468
selfSigned: false
469
## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
470
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
471
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
472
##
473
ingressClassName: ""
474
## @param ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
475
## e.g:
476
## extraHosts:
477
## - name: opensearch.local
478
## path: /
479
##
480
extraHosts: []
481
## @param ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
482
## e.g:
483
## extraPaths:
484
## - path: /*
485
## backend:
486
## serviceName: ssl-redirect
487
## servicePort: use-annotation
488
##
489
extraPaths: []
490
## @param ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
491
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
492
## e.g:
493
## extraTls:
494
## - hosts:
495
## - opensearch.local
496
## secretName: opensearch.local-tls
497
##
498
extraTls: []
499
## @param ingress.secrets Custom TLS certificates as secrets
500
## NOTE: 'key' and 'certificate' are expected in PEM format
501
## NOTE: 'name' should line up with a 'secretName' set further up
502
## 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
503
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
504
## It is also possible to create and manage the certificates outside of this helm chart
505
## Please see README.md for more information
506
## e.g:
507
## secrets:
508
## - name: opensearch.local-tls
509
## key: |-
510
## -----BEGIN RSA PRIVATE KEY-----
511
## ...
512
## -----END RSA PRIVATE KEY-----
513
## certificate: |-
514
## -----BEGIN CERTIFICATE-----
515
## ...
516
## -----END CERTIFICATE-----
517
##
518
secrets: []
519
## @param ingress.extraRules Additional rules to be covered with this ingress record
520
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
521
## e.g:
522
## extraRules:
523
## - host: example.local
524
## http:
525
## path: /
526
## backend:
527
## service:
528
## name: example-svc
529
## port:
530
## name: http
531
##
532
extraRules: []
533
## @section Master-eligible nodes parameters
534
master:
535
## @param master.masterOnly Deploy the OpenSearch master-eligible nodes as master-only nodes. Recommended for high-demand deployments.
536
## If you are
537
masterOnly: true
538
## @param master.replicaCount Number of master-eligible replicas to deploy
539
##
540
replicaCount: 2
541
## @param master.extraRoles Append extra roles to the node role
542
##
543
extraRoles: []
544
## Pod Disruption Budget configuration
545
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
546
## @param master.pdb.create Enable/disable a Pod Disruption Budget creation
547
## @param master.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
548
## @param master.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `master.pdb.minAvailable` and `master.pdb.maxUnavailable` are empty.
549
##
550
pdb:
551
create: true
552
minAvailable: ""
553
maxUnavailable: ""
554
## @param master.nameOverride String to partially override opensearch.master.fullname
555
##
556
nameOverride: ""
557
## @param master.fullnameOverride String to fully override opensearch.master.fullname
558
##
559
fullnameOverride: ""
560
## @param master.servicenameOverride String to fully override opensearch.master.servicename
561
## DEPRECATED: Use master.service.headless.nameOverride instead
562
##
563
servicenameOverride: ""
564
## @param master.annotations [object] Annotations for the master statefulset
565
##
566
annotations: {}
567
## @param master.updateStrategy.type Master-eligible nodes statefulset strategy type
568
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
569
##
570
updateStrategy:
571
type: RollingUpdate
572
## OpenSearch resource requests and limits
573
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
574
## We usually recommend not to specify default resources and to leave this as a conscious
575
## choice for the user. This also increases chances charts run on environments with little
576
## resources, such as Minikube. If you do want to specify resources, uncomment the following
577
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
578
## @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).
579
##
580
resourcesPreset: "medium"
581
## @param master.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
582
## Example:
583
## resources:
584
## requests:
585
## cpu: 2
586
## memory: 512Mi
587
## limits:
588
## cpu: 3
589
## memory: 1024Mi
590
##
591
resources: {}
592
## @param master.heapSize OpenSearch master-eligible node heap size.
593
## Note: The recommended heapSize is half of the container's memory.
594
## If omitted, it will be automatically set.
595
## Example:
596
## heapSize: 128m
597
##
598
heapSize: 512m
599
## Configure Pods Security Context
600
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
601
## @param master.podSecurityContext.enabled Enabled master-eligible pods' Security Context
602
## @param master.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
603
## @param master.podSecurityContext.sysctls Set kernel settings using the sysctl interface
604
## @param master.podSecurityContext.supplementalGroups Set filesystem extra groups
605
## @param master.podSecurityContext.fsGroup Set master-eligible pod's Security Context fsGroup
606
##
607
podSecurityContext:
608
enabled: true
609
fsGroupChangePolicy: Always
610
sysctls: []
611
supplementalGroups: []
612
fsGroup: 1001
613
## Configure Container Security Context
614
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
615
## @param master.containerSecurityContext.enabled Enabled containers' Security Context
616
## @param master.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
617
## @param master.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
618
## @param master.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
619
## @param master.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
620
## @param master.containerSecurityContext.privileged Set container's Security Context privileged
621
## @param master.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
622
## @param master.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
623
## @param master.containerSecurityContext.capabilities.drop List of capabilities to be dropped
624
## @param master.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
625
##
626
containerSecurityContext:
627
enabled: true
628
seLinuxOptions: {}
629
runAsUser: 1001
630
runAsGroup: 1001
631
runAsNonRoot: true
632
privileged: false
633
readOnlyRootFilesystem: true
634
allowPrivilegeEscalation: false
635
capabilities:
636
drop: ["ALL"]
637
seccompProfile:
638
type: "RuntimeDefault"
639
## @param master.automountServiceAccountToken Mount Service Account token in pod
640
##
641
automountServiceAccountToken: false
642
## @param master.hostAliases master-eligible pods host aliases
643
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
644
##
645
hostAliases: []
646
## @param master.podLabels Extra labels for master-eligible pods
647
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
648
##
649
podLabels: {}
650
## @param master.podAnnotations Annotations for master-eligible pods
651
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
652
##
653
podAnnotations: {}
654
## @param master.podAffinityPreset Pod affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
655
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
656
##
657
podAffinityPreset: ""
658
## @param master.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
659
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
660
##
661
podAntiAffinityPreset: ""
662
## Node master.affinity preset
663
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
664
##
665
nodeAffinityPreset:
666
## @param master.nodeAffinityPreset.type Node affinity preset type. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
667
##
668
type: ""
669
## @param master.nodeAffinityPreset.key Node label key to match. Ignored if `master.affinity` is set
670
##
671
key: ""
672
## @param master.nodeAffinityPreset.values Node label values to match. Ignored if `master.affinity` is set
673
## E.g.
674
## values:
675
## - e2e-az1
676
## - e2e-az2
677
##
678
values: []
679
## @param master.affinity Affinity for master-eligible pods assignment
680
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
681
## NOTE: `master.podAffinityPreset`, `master.podAntiAffinityPreset`, and `master.nodeAffinityPreset` will be ignored when it's set
682
##
683
affinity: {}
684
## @param master.nodeSelector Node labels for master-eligible pods assignment
685
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
686
##
687
nodeSelector: {}
688
## @param master.tolerations Tolerations for master-eligible pods assignment
689
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
690
##
691
tolerations: []
692
## @param master.priorityClassName master-eligible pods' priorityClassName
693
##
694
priorityClassName: ""
695
## @param master.schedulerName Name of the k8s scheduler (other than default) for master-eligible pods
696
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
697
##
698
schedulerName: ""
699
## @param master.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch Master pod needs to terminate gracefully
700
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
701
##
702
terminationGracePeriodSeconds: ""
703
## @param master.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
704
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
705
##
706
topologySpreadConstraints: []
707
## @param master.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch master pods
708
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
709
##
710
podManagementPolicy: "Parallel"
711
## Configure extra options for OpenSearch master-eligible containers' liveness, readiness and startup probes
712
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
713
## @param master.startupProbe.enabled Enable/disable the startup probe (master nodes pod)
714
## @param master.startupProbe.initialDelaySeconds Delay before startup probe is initiated (master nodes pod)
715
## @param master.startupProbe.periodSeconds How often to perform the probe (master nodes pod)
716
## @param master.startupProbe.timeoutSeconds When the probe times out (master nodes pod)
717
## @param master.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master nodes pod)
718
## @param master.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
719
##
720
startupProbe:
721
enabled: false
722
initialDelaySeconds: 90
723
periodSeconds: 10
724
timeoutSeconds: 5
725
successThreshold: 1
726
failureThreshold: 5
727
## @param master.livenessProbe.enabled Enable/disable the liveness probe (master-eligible nodes pod)
728
## @param master.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (master-eligible nodes pod)
729
## @param master.livenessProbe.periodSeconds How often to perform the probe (master-eligible nodes pod)
730
## @param master.livenessProbe.timeoutSeconds When the probe times out (master-eligible nodes pod)
731
## @param master.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master-eligible nodes pod)
732
## @param master.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
733
##
734
livenessProbe:
735
enabled: true
736
initialDelaySeconds: 180
737
periodSeconds: 10
738
timeoutSeconds: 5
739
successThreshold: 1
740
failureThreshold: 5
741
## @param master.readinessProbe.enabled Enable/disable the readiness probe (master-eligible nodes pod)
742
## @param master.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (master-eligible nodes pod)
743
## @param master.readinessProbe.periodSeconds How often to perform the probe (master-eligible nodes pod)
744
## @param master.readinessProbe.timeoutSeconds When the probe times out (master-eligible nodes pod)
745
## @param master.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (master-eligible nodes pod)
746
## @param master.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
747
##
748
readinessProbe:
749
enabled: true
750
initialDelaySeconds: 90
751
periodSeconds: 10
752
timeoutSeconds: 5
753
successThreshold: 1
754
failureThreshold: 5
755
## @param master.customStartupProbe Override default startup probe
756
##
757
customStartupProbe: {}
758
## @param master.customLivenessProbe Override default liveness probe
759
##
760
customLivenessProbe: {}
761
## @param master.customReadinessProbe Override default readiness probe
762
##
763
customReadinessProbe: {}
764
## @param master.command Override default container command (useful when using custom images)
765
##
766
command: []
767
## @param master.args Override default container args (useful when using custom images)
768
##
769
args: []
770
## @param master.lifecycleHooks for the master-eligible container(s) to automate configuration before or after startup
771
##
772
lifecycleHooks: {}
773
## @param master.extraEnvVars Array with extra environment variables to add to master-eligible nodes
774
## e.g:
775
## extraEnvVars:
776
## - name: FOO
777
## value: "bar"
778
##
779
extraEnvVars: []
780
## @param master.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for master-eligible nodes
781
##
782
extraEnvVarsCM: ""
783
## @param master.extraEnvVarsSecret Name of existing Secret containing extra env vars for master-eligible nodes
784
##
785
extraEnvVarsSecret: ""
786
## @param master.extraVolumes Optionally specify extra list of additional volumes for the master-eligible pod(s)
787
##
788
extraVolumes: []
789
## @param master.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the master-eligible container(s)
790
##
791
extraVolumeMounts: []
792
## @param master.sidecars Add additional sidecar containers to the master-eligible pod(s)
793
## e.g:
794
## sidecars:
795
## - name: your-image-name
796
## image: your-image
797
## imagePullPolicy: Always
798
## ports:
799
## - name: portname
800
## containerPort: 1234
801
##
802
sidecars: []
803
## @param master.initContainers Add additional init containers to the master-eligible pod(s)
804
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
805
## e.g:
806
## initContainers:
807
## - name: your-image-name
808
## image: your-image
809
## imagePullPolicy: Always
810
## command: ['sh', '-c', 'echo "hello world"']
811
##
812
initContainers: []
813
## Enable persistence using Persistent Volume Claims
814
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
815
##
816
persistence:
817
## @param master.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
818
##
819
enabled: true
820
## @param master.persistence.storageClass Persistent Volume Storage Class
821
## If defined, storageClassName: <storageClass>
822
## If set to "-", storageClassName: "", which disables dynamic provisioning
823
## If undefined (the default) or set to null, no storageClassName spec is
824
## set, choosing the default provisioner. (gp2 on AWS, standard on
825
## GKE, AWS & OpenStack)
826
##
827
storageClass: ""
828
## @param master.persistence.existingClaim Existing Persistent Volume Claim
829
## then accept the value as an existing Persistent Volume Claim to which
830
## the container should be bound
831
##
832
existingClaim: ""
833
## @param master.persistence.volumeName Name of the data volume and of the `volumeClaimTemplate`
834
## The StatefulSet names its PVCs <volumeName>-<StatefulSet name>-<ordinal> and reuses
835
## existing PVCs with those names, for example PVCs created by another chart.
836
## Set this at install time: a StatefulSet's volumeClaimTemplates cannot be changed, so
837
## changing this value on an installed release makes the upgrade fail.
838
##
839
volumeName: data
840
## @param master.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `master.persistence.selector` is set.
841
##
842
existingVolume: ""
843
## @param master.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `master.persistence.existingVolume`
844
## selector:
845
## matchLabels:
846
## volume:
847
##
848
selector: {}
849
## @param master.persistence.annotations Persistent Volume Claim annotations
850
##
851
annotations: {}
852
## @param master.persistence.accessModes Persistent Volume Access Modes
853
##
854
accessModes:
855
- ReadWriteOnce
856
## @param master.persistence.size Persistent Volume Size
857
##
858
size: 8Gi
859
## Pods Service Account
860
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
861
## @param master.serviceAccount.create Specifies whether a ServiceAccount should be created
862
## @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.
863
## @param master.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
864
## @param master.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
865
##
866
serviceAccount:
867
create: false
868
name: ""
869
automountServiceAccountToken: false
870
annotations: {}
871
## Network Policy configuration
872
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
873
##
874
networkPolicy:
875
## @param master.networkPolicy.enabled Enable creation of NetworkPolicy resources
876
##
877
enabled: true
878
## @param master.networkPolicy.allowExternal The Policy model to apply
879
## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
880
## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
881
##
882
allowExternal: true
883
## @param master.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
884
##
885
allowExternalEgress: true
886
## @param master.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
887
## e.g:
888
## extraIngress:
889
## - ports:
890
## - port: 1234
891
## from:
892
## - podSelector:
893
## - matchLabels:
894
## - role: frontend
895
## - podSelector:
896
## - matchExpressions:
897
## - key: role
898
## operator: In
899
## values:
900
## - frontend
901
##
902
extraIngress: []
903
## @param master.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
904
## e.g:
905
## extraEgress:
906
## - ports:
907
## - port: 1234
908
## to:
909
## - podSelector:
910
## - matchLabels:
911
## - role: frontend
912
## - podSelector:
913
## - matchExpressions:
914
## - key: role
915
## operator: In
916
## values:
917
## - frontend
918
##
919
extraEgress: []
920
## @param master.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
921
## @param master.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
922
##
923
ingressNSMatchLabels: {}
924
ingressNSPodMatchLabels: {}
925
autoscaling:
926
vpa:
927
## @param master.autoscaling.vpa.enabled Enable VPA
928
##
929
enabled: false
930
## @param master.autoscaling.vpa.annotations Annotations for VPA resource
931
##
932
annotations: {}
933
## @param master.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
934
##
935
controlledResources: []
936
## @param master.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
937
## cpu: 200m
938
## memory: 100Mi
939
maxAllowed: {}
940
## @param master.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
941
## cpu: 200m
942
## memory: 100Mi
943
minAllowed: {}
944
updatePolicy:
945
## @param master.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
946
## Possible values are "Off", "Initial", "Recreate", and "Auto".
947
##
948
updateMode: Auto
949
hpa:
950
## @param master.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
951
##
952
enabled: false
953
## @param master.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
954
##
955
minReplicas: 3
956
## @param master.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
957
##
958
maxReplicas: 11
959
## @param master.autoscaling.hpa.targetCPU Target CPU utilization percentage
960
##
961
targetCPU: ""
962
## @param master.autoscaling.hpa.targetMemory Target Memory utilization percentage
963
##
964
targetMemory: ""
965
## Master-eligible service parameters
966
##
967
service:
968
## Headless service properties
969
##
970
headless:
971
## @param master.service.headless.annotations Annotations for the Master-eligible headless service.
972
##
973
annotations: {}
974
## @param master.service.headless.nameOverride String to fully override opensearch.master.servicename
975
##
976
nameOverride: ""
977
## @param master.service.headless.trafficDistribution String Traffic distribution for the master headless service
978
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
979
##
980
trafficDistribution: "PreferClose"
981
## Metrics configuration for master-eligible node
982
##
983
metrics:
984
## @param master.metrics.enabled Enable master-eligible node metrics
985
##
986
enabled: false
987
service:
988
## @param master.metrics.service.ports.metrics master-eligible node metrics service port
989
##
990
ports:
991
metrics: 80
992
## @param master.metrics.service.clusterIP master-eligible node metrics service Cluster IP
993
## e.g.:
994
## clusterIP: None
995
##
996
clusterIP: ""
997
## master-eligible node metrics service monitor configuration
998
##
999
serviceMonitor:
1000
## @param master.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
1001
##
1002
enabled: false
1003
## @param master.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
1004
## e.g:
1005
## namespace: monitoring
1006
##
1007
namespace: ""
1008
## @param master.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1009
##
1010
jobLabel: ""
1011
## @param master.metrics.serviceMonitor.interval Interval at which metrics should be scraped
1012
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1013
##
1014
interval: 30s
1015
## @param master.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1016
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1017
##
1018
scrapeTimeout: 10s
1019
## @param master.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1020
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1021
##
1022
relabelings: []
1023
## @param master.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1024
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1025
##
1026
metricRelabelings: []
1027
## @param master.metrics.serviceMonitor.selector ServiceMonitor selector labels
1028
##
1029
## selector:
1030
## prometheus: my-prometheus
1031
##
1032
selector: {}
1033
## @param master.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1034
##
1035
honorLabels: false
1036
## Rules for PrometheusRule object if enabled
1037
##
1038
## E.g.
1039
## @param master.metrics.rules.enabled Enable render extra rules for PrometheusRule object
1040
## @param master.metrics.rules.spec Rules to render into the PrometheusRule object
1041
## @param master.metrics.rules.selector Selector for the PrometheusRule object
1042
## @param master.metrics.rules.namespace Namespace where to create the PrometheusRule object
1043
## @param master.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
1044
##
1045
rules:
1046
enabled: false
1047
## E.g
1048
## - alert: ArgoAppMissing
1049
## expr: |
1050
## absent(argocd_app_info)
1051
## for: 15m
1052
## labels:
1053
## severity: critical
1054
## annotations:
1055
## summary: "[ArgoCD] No reported applications"
1056
## description: >
1057
## ArgoCD has not reported any applications data for the past 15 minutes which
1058
## means that it must be down or not functioning properly. This needs to be
1059
## resolved for this cloud to continue to maintain state.
1060
## - alert: ArgoAppNotSynced
1061
## expr: |
1062
## argocd_app_info{sync_status!="Synced"} == 1
1063
## for: 12h
1064
## labels:
1065
## severity: warning
1066
## annotations:
1067
## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
1068
## description: >
1069
## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
1070
## 12 hours which means that the state of this cloud has drifted away from the
1071
## state inside Git.
1072
##
1073
spec: []
1074
## E.g
1075
## selector:
1076
## prometheus: kube-prometheus
1077
##
1078
selector: {}
1079
namespace: monitoring
1080
additionalLabels: {}
1081
## @section Data-only nodes parameters
1082
data:
1083
## @param data.replicaCount Number of data-only replicas to deploy
1084
##
1085
replicaCount: 2
1086
## @param data.extraRoles Append extra roles to the node role
1087
##
1088
extraRoles: []
1089
## Pod Disruption Budget configuration
1090
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1091
## @param data.pdb.create Enable/disable a Pod Disruption Budget creation
1092
## @param data.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1093
## @param data.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `data.pdb.minAvailable` and `data.pdb.maxUnavailable` are empty.
1094
##
1095
pdb:
1096
create: true
1097
minAvailable: ""
1098
maxUnavailable: ""
1099
## @param data.nameOverride String to partially override opensearch.data.fullname
1100
##
1101
nameOverride: ""
1102
## @param data.fullnameOverride String to fully override opensearch.data.fullname
1103
##
1104
fullnameOverride: ""
1105
## @param data.servicenameOverride String to fully override opensearch.data.servicename
1106
## DEPRECATED: Use data.service.headless.nameOverride instead
1107
##
1108
servicenameOverride: ""
1109
## @param data.annotations [object] Annotations for the data statefulset
1110
##
1111
annotations: {}
1112
## @param data.updateStrategy.type Data-only nodes statefulset strategy type
1113
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1114
##
1115
updateStrategy:
1116
type: RollingUpdate
1117
## OpenSearch resource requests and limits
1118
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1119
## @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).
1120
##
1121
resourcesPreset: "large"
1122
## @param data.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1123
## Example:
1124
## resources:
1125
## requests:
1126
## cpu: 2
1127
## memory: 512Mi
1128
## limits:
1129
## cpu: 3
1130
## memory: 1024Mi
1131
##
1132
resources: {}
1133
## @param data.heapSize OpenSearch data node heap size.
1134
## Note: The recommended heapSize is half of the container's memory.
1135
## If omitted, it will be automatically set.
1136
## Example:
1137
## heapSize: 128m
1138
##
1139
heapSize: 1024m
1140
## Configure Pods Security Context
1141
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1142
## @param data.podSecurityContext.enabled Enabled data pods' Security Context
1143
## @param data.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1144
## @param data.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1145
## @param data.podSecurityContext.supplementalGroups Set filesystem extra groups
1146
## @param data.podSecurityContext.fsGroup Set data pod's Security Context fsGroup
1147
##
1148
podSecurityContext:
1149
enabled: true
1150
fsGroupChangePolicy: Always
1151
sysctls: []
1152
supplementalGroups: []
1153
fsGroup: 1001
1154
## Configure Container Security Context
1155
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1156
## @param data.containerSecurityContext.enabled Enabled containers' Security Context
1157
## @param data.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1158
## @param data.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1159
## @param data.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1160
## @param data.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
1161
## @param data.containerSecurityContext.privileged Set container's Security Context privileged
1162
## @param data.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1163
## @param data.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
1164
## @param data.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1165
## @param data.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1166
##
1167
containerSecurityContext:
1168
enabled: true
1169
seLinuxOptions: {}
1170
runAsUser: 1001
1171
runAsGroup: 1001
1172
runAsNonRoot: true
1173
privileged: false
1174
readOnlyRootFilesystem: true
1175
allowPrivilegeEscalation: false
1176
capabilities:
1177
drop: ["ALL"]
1178
seccompProfile:
1179
type: "RuntimeDefault"
1180
## @param data.automountServiceAccountToken Mount Service Account token in pod
1181
##
1182
automountServiceAccountToken: false
1183
## @param data.hostAliases data pods host aliases
1184
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1185
##
1186
hostAliases: []
1187
## @param data.podLabels Extra labels for data pods
1188
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1189
##
1190
podLabels: {}
1191
## @param data.podAnnotations Annotations for data pods
1192
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1193
##
1194
podAnnotations: {}
1195
## @param data.podAffinityPreset Pod affinity preset. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1196
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1197
##
1198
podAffinityPreset: ""
1199
## @param data.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1200
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1201
##
1202
podAntiAffinityPreset: ""
1203
## Node data.affinity preset
1204
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1205
##
1206
nodeAffinityPreset:
1207
## @param data.nodeAffinityPreset.type Node affinity preset type. Ignored if `data.affinity` is set. Allowed values: `soft` or `hard`
1208
##
1209
type: ""
1210
## @param data.nodeAffinityPreset.key Node label key to match. Ignored if `data.affinity` is set
1211
##
1212
key: ""
1213
## @param data.nodeAffinityPreset.values Node label values to match. Ignored if `data.affinity` is set
1214
## E.g.
1215
## values:
1216
## - e2e-az1
1217
## - e2e-az2
1218
##
1219
values: []
1220
## @param data.affinity Affinity for data pods assignment
1221
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1222
## NOTE: `data.podAffinityPreset`, `data.podAntiAffinityPreset`, and `data.nodeAffinityPreset` will be ignored when it's set
1223
##
1224
affinity: {}
1225
## @param data.nodeSelector Node labels for data pods assignment
1226
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1227
##
1228
nodeSelector: {}
1229
## @param data.tolerations Tolerations for data pods assignment
1230
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1231
##
1232
tolerations: []
1233
## @param data.priorityClassName data pods' priorityClassName
1234
##
1235
priorityClassName: ""
1236
## @param data.schedulerName Name of the k8s scheduler (other than default) for data pods
1237
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1238
##
1239
schedulerName: ""
1240
## @param data.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch data pod needs to terminate gracefully
1241
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1242
##
1243
terminationGracePeriodSeconds: ""
1244
## @param data.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1245
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1246
##
1247
topologySpreadConstraints: []
1248
## @param data.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch data pods
1249
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1250
##
1251
podManagementPolicy: "Parallel"
1252
## Configure extra options for OpenSearch data containers' liveness, readiness and startup probes
1253
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1254
## @param data.startupProbe.enabled Enable/disable the startup probe (data nodes pod)
1255
## @param data.startupProbe.initialDelaySeconds Delay before startup probe is initiated (data nodes pod)
1256
## @param data.startupProbe.periodSeconds How often to perform the probe (data nodes pod)
1257
## @param data.startupProbe.timeoutSeconds When the probe times out (data nodes pod)
1258
## @param data.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1259
## @param data.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1260
##
1261
startupProbe:
1262
enabled: false
1263
initialDelaySeconds: 90
1264
periodSeconds: 10
1265
timeoutSeconds: 5
1266
successThreshold: 1
1267
failureThreshold: 5
1268
## @param data.livenessProbe.enabled Enable/disable the liveness probe (data nodes pod)
1269
## @param data.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (data nodes pod)
1270
## @param data.livenessProbe.periodSeconds How often to perform the probe (data nodes pod)
1271
## @param data.livenessProbe.timeoutSeconds When the probe times out (data nodes pod)
1272
## @param data.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1273
## @param data.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1274
##
1275
livenessProbe:
1276
enabled: true
1277
initialDelaySeconds: 180
1278
periodSeconds: 10
1279
timeoutSeconds: 5
1280
successThreshold: 1
1281
failureThreshold: 5
1282
## @param data.readinessProbe.enabled Enable/disable the readiness probe (data nodes pod)
1283
## @param data.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (data nodes pod)
1284
## @param data.readinessProbe.periodSeconds How often to perform the probe (data nodes pod)
1285
## @param data.readinessProbe.timeoutSeconds When the probe times out (data nodes pod)
1286
## @param data.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
1287
## @param data.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1288
##
1289
readinessProbe:
1290
enabled: true
1291
initialDelaySeconds: 90
1292
periodSeconds: 10
1293
timeoutSeconds: 5
1294
successThreshold: 1
1295
failureThreshold: 5
1296
## @param data.customStartupProbe Override default startup probe
1297
##
1298
customStartupProbe: {}
1299
## @param data.customLivenessProbe Override default liveness probe
1300
##
1301
customLivenessProbe: {}
1302
## @param data.customReadinessProbe Override default readiness probe
1303
##
1304
customReadinessProbe: {}
1305
## @param data.command Override default container command (useful when using custom images)
1306
##
1307
command: []
1308
## @param data.args Override default container args (useful when using custom images)
1309
##
1310
args: []
1311
## @param data.lifecycleHooks for the data container(s) to automate configuration before or after startup
1312
##
1313
lifecycleHooks: {}
1314
## @param data.extraEnvVars Array with extra environment variables to add to data nodes
1315
## e.g:
1316
## extraEnvVars:
1317
## - name: FOO
1318
## value: "bar"
1319
##
1320
extraEnvVars: []
1321
## @param data.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for data nodes
1322
##
1323
extraEnvVarsCM: ""
1324
## @param data.extraEnvVarsSecret Name of existing Secret containing extra env vars for data nodes
1325
##
1326
extraEnvVarsSecret: ""
1327
## @param data.extraVolumes Optionally specify extra list of additional volumes for the data pod(s)
1328
##
1329
extraVolumes: []
1330
## @param data.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the data container(s)
1331
##
1332
extraVolumeMounts: []
1333
## @param data.sidecars Add additional sidecar containers to the data pod(s)
1334
## e.g:
1335
## sidecars:
1336
## - name: your-image-name
1337
## image: your-image
1338
## imagePullPolicy: Always
1339
## ports:
1340
## - name: portname
1341
## containerPort: 1234
1342
##
1343
sidecars: []
1344
## @param data.initContainers Add additional init containers to the data pod(s)
1345
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1346
## e.g:
1347
## initContainers:
1348
## - name: your-image-name
1349
## image: your-image
1350
## imagePullPolicy: Always
1351
## command: ['sh', '-c', 'echo "hello world"']
1352
##
1353
initContainers: []
1354
## Enable persistence using Persistent Volume Claims
1355
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1356
##
1357
persistence:
1358
## @param data.persistence.enabled Enable persistence using a `PersistentVolumeClaim`
1359
##
1360
enabled: true
1361
## @param data.persistence.storageClass Persistent Volume Storage Class
1362
## If defined, storageClassName: <storageClass>
1363
## If set to "-", storageClassName: "", which disables dynamic provisioning
1364
## If undefined (the default) or set to null, no storageClassName spec is
1365
## set, choosing the default provisioner. (gp2 on AWS, standard on
1366
## GKE, AWS & OpenStack)
1367
##
1368
storageClass: ""
1369
## @param data.persistence.existingClaim Existing Persistent Volume Claim
1370
## then accept the value as an existing Persistent Volume Claim to which
1371
## the container should be bound
1372
##
1373
existingClaim: ""
1374
## @param data.persistence.volumeName Name of the data volume and of the `volumeClaimTemplate`
1375
## The StatefulSet names its PVCs <volumeName>-<StatefulSet name>-<ordinal> and reuses
1376
## existing PVCs with those names, for example PVCs created by another chart.
1377
## Set this at install time: a StatefulSet's volumeClaimTemplates cannot be changed, so
1378
## changing this value on an installed release makes the upgrade fail.
1379
##
1380
volumeName: data
1381
## @param data.persistence.existingVolume Existing Persistent Volume for use as volume match label selector to the `volumeClaimTemplate`. Ignored when `data.persistence.selector` is set.
1382
##
1383
existingVolume: ""
1384
## @param data.persistence.selector Configure custom selector for existing Persistent Volume. Overwrites `data.persistence.existingVolume`
1385
## selector:
1386
## matchLabels:
1387
## volume:
1388
##
1389
selector: {}
1390
## @param data.persistence.annotations Persistent Volume Claim annotations
1391
##
1392
annotations: {}
1393
## @param data.persistence.accessModes Persistent Volume Access Modes
1394
##
1395
accessModes:
1396
- ReadWriteOnce
1397
## @param data.persistence.size Persistent Volume Size
1398
##
1399
size: 8Gi
1400
## Pods Service Account
1401
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1402
## @param data.serviceAccount.create Specifies whether a ServiceAccount should be created
1403
## @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.
1404
## @param data.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1405
## @param data.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
1406
##
1407
serviceAccount:
1408
create: false
1409
name: ""
1410
automountServiceAccountToken: false
1411
annotations: {}
1412
## Network Policy configuration
1413
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1414
##
1415
networkPolicy:
1416
## @param data.networkPolicy.enabled Enable creation of NetworkPolicy resources
1417
##
1418
enabled: true
1419
## @param data.networkPolicy.allowExternal The Policy model to apply
1420
## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
1421
## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
1422
##
1423
allowExternal: true
1424
## @param data.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1425
##
1426
allowExternalEgress: true
1427
## @param data.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1428
## e.g:
1429
## extraIngress:
1430
## - ports:
1431
## - port: 1234
1432
## from:
1433
## - podSelector:
1434
## - matchLabels:
1435
## - role: frontend
1436
## - podSelector:
1437
## - matchExpressions:
1438
## - key: role
1439
## operator: In
1440
## values:
1441
## - frontend
1442
##
1443
extraIngress: []
1444
## @param data.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1445
## e.g:
1446
## extraEgress:
1447
## - ports:
1448
## - port: 1234
1449
## to:
1450
## - podSelector:
1451
## - matchLabels:
1452
## - role: frontend
1453
## - podSelector:
1454
## - matchExpressions:
1455
## - key: role
1456
## operator: In
1457
## values:
1458
## - frontend
1459
##
1460
extraEgress: []
1461
## @param data.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1462
## @param data.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1463
##
1464
ingressNSMatchLabels: {}
1465
ingressNSPodMatchLabels: {}
1466
autoscaling:
1467
vpa:
1468
## @param data.autoscaling.vpa.enabled Enable VPA
1469
##
1470
enabled: false
1471
## @param data.autoscaling.vpa.annotations Annotations for VPA resource
1472
##
1473
annotations: {}
1474
## @param data.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
1475
##
1476
controlledResources: []
1477
## @param data.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
1478
## cpu: 200m
1479
## memory: 100Mi
1480
maxAllowed: {}
1481
## @param data.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
1482
## cpu: 200m
1483
## memory: 100Mi
1484
minAllowed: {}
1485
updatePolicy:
1486
## @param data.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
1487
## Possible values are "Off", "Initial", "Recreate", and "Auto".
1488
##
1489
updateMode: Auto
1490
hpa:
1491
## @param data.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
1492
##
1493
enabled: false
1494
## @param data.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
1495
##
1496
minReplicas: 3
1497
## @param data.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
1498
##
1499
maxReplicas: 11
1500
## @param data.autoscaling.hpa.targetCPU Target CPU utilization percentage
1501
##
1502
targetCPU: ""
1503
## @param data.autoscaling.hpa.targetMemory Target Memory utilization percentage
1504
##
1505
targetMemory: ""
1506
## Data service parameters
1507
##
1508
service:
1509
## Headless service properties
1510
##
1511
headless:
1512
## @param data.service.headless.annotations Annotations for the data headless service.
1513
##
1514
annotations: {}
1515
## @param data.service.headless.nameOverride String to fully override opensearch.data.servicename
1516
##
1517
nameOverride: ""
1518
## @param data.service.headless.trafficDistribution String Traffic distribution for the data headless service
1519
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
1520
##
1521
trafficDistribution: "PreferClose"
1522
## Metrics configuration for data node
1523
##
1524
metrics:
1525
## @param data.metrics.enabled Enable data node metrics
1526
##
1527
enabled: false
1528
service:
1529
## @param data.metrics.service.ports.metrics data node metrics service port
1530
##
1531
ports:
1532
metrics: 80
1533
## @param data.metrics.service.clusterIP data node metrics service Cluster IP
1534
## e.g.:
1535
## clusterIP: None
1536
##
1537
clusterIP: ""
1538
## data node metrics service monitor configuration
1539
##
1540
serviceMonitor:
1541
## @param data.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
1542
##
1543
enabled: false
1544
## @param data.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
1545
## e.g:
1546
## namespace: monitoring
1547
##
1548
namespace: ""
1549
## @param data.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1550
##
1551
jobLabel: ""
1552
## @param data.metrics.serviceMonitor.interval Interval at which metrics should be scraped
1553
## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#endpoint
1554
##
1555
interval: 30s
1556
## @param data.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1557
## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#endpoint
1558
##
1559
scrapeTimeout: 10s
1560
## @param data.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1561
## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#relabelconfig
1562
##
1563
relabelings: []
1564
## @param data.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1565
## ref: https://github.com/coreos/prometheus-operator/blob/data/Documentation/api.md#relabelconfig
1566
##
1567
metricRelabelings: []
1568
## @param data.metrics.serviceMonitor.selector ServiceMonitor selector labels
1569
##
1570
## selector:
1571
## prometheus: my-prometheus
1572
##
1573
selector: {}
1574
## @param data.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1575
##
1576
honorLabels: false
1577
## Rules for PrometheusRule object if enabled
1578
##
1579
## E.g.
1580
## @param data.metrics.rules.enabled Enable render extra rules for PrometheusRule object
1581
## @param data.metrics.rules.spec Rules to render into the PrometheusRule object
1582
## @param data.metrics.rules.selector Selector for the PrometheusRule object
1583
## @param data.metrics.rules.namespace Namespace where to create the PrometheusRule object
1584
## @param data.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
1585
##
1586
rules:
1587
enabled: false
1588
## E.g
1589
## - alert: ArgoAppMissing
1590
## expr: |
1591
## absent(argocd_app_info)
1592
## for: 15m
1593
## labels:
1594
## severity: critical
1595
## annotations:
1596
## summary: "[ArgoCD] No reported applications"
1597
## description: >
1598
## ArgoCD has not reported any applications data for the past 15 minutes which
1599
## means that it must be down or not functioning properly. This needs to be
1600
## resolved for this cloud to continue to maintain state.
1601
## - alert: ArgoAppNotSynced
1602
## expr: |
1603
## argocd_app_info{sync_status!="Synced"} == 1
1604
## for: 12h
1605
## labels:
1606
## severity: warning
1607
## annotations:
1608
## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
1609
## description: >
1610
## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
1611
## 12 hours which means that the state of this cloud has drifted away from the
1612
## state inside Git.
1613
##
1614
spec: []
1615
## E.g
1616
## selector:
1617
## prometheus: kube-prometheus
1618
##
1619
selector: {}
1620
namespace: monitoring
1621
additionalLabels: {}
1622
## @section Coordinating-only nodes parameters
1623
coordinating:
1624
## @param coordinating.replicaCount Number of coordinating-only replicas to deploy
1625
##
1626
replicaCount: 2
1627
## @param coordinating.extraRoles Append extra roles to the node role
1628
## NOTE: In OpenSearch, all nodes act as coordinators, coordinating-only nodes do not have any other role by default.
1629
##
1630
extraRoles: []
1631
## Pod Disruption Budget configuration
1632
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1633
## @param coordinating.pdb.create Enable/disable a Pod Disruption Budget creation
1634
## @param coordinating.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1635
## @param coordinating.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `coordinating.pdb.minAvailable` and `coodinating.pdb.maxUnavailable` are empty.
1636
##
1637
pdb:
1638
create: true
1639
minAvailable: ""
1640
maxUnavailable: ""
1641
## @param coordinating.nameOverride String to partially override opensearch.coordinating.fullname
1642
##
1643
nameOverride: ""
1644
## @param coordinating.fullnameOverride String to fully override opensearch.coordinating.fullname
1645
##
1646
fullnameOverride: ""
1647
## @param coordinating.servicenameOverride String to fully override opensearch.coordinating.servicename
1648
## DEPRECATED: Use coordinating.service.headless.nameOverride instead
1649
##
1650
servicenameOverride: ""
1651
## @param coordinating.annotations [object] Annotations for the coordinating-only statefulset
1652
##
1653
annotations: {}
1654
## @param coordinating.updateStrategy.type Coordinating-only nodes statefulset strategy type
1655
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1656
##
1657
updateStrategy:
1658
type: RollingUpdate
1659
## OpenSearch resource requests and limits
1660
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1661
## @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).
1662
##
1663
resourcesPreset: "medium"
1664
## @param coordinating.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1665
## Example:
1666
## resources:
1667
## requests:
1668
## cpu: 2
1669
## memory: 512Mi
1670
## limits:
1671
## cpu: 3
1672
## memory: 1024Mi
1673
##
1674
resources: {}
1675
## @param coordinating.heapSize OpenSearch coordinating node heap size.
1676
## Note: The recommended heapSize is half of the container's memory.
1677
## If omitted, it will be automatically set.
1678
## Example:
1679
## heapSize: 128m
1680
##
1681
heapSize: 512m
1682
## Configure Pods Security Context
1683
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1684
## @param coordinating.podSecurityContext.enabled Enabled coordinating-only pods' Security Context
1685
## @param coordinating.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
1686
## @param coordinating.podSecurityContext.sysctls Set kernel settings using the sysctl interface
1687
## @param coordinating.podSecurityContext.supplementalGroups Set filesystem extra groups
1688
## @param coordinating.podSecurityContext.fsGroup Set coordinating-only pod's Security Context fsGroup
1689
##
1690
podSecurityContext:
1691
enabled: true
1692
fsGroupChangePolicy: Always
1693
sysctls: []
1694
supplementalGroups: []
1695
fsGroup: 1001
1696
## Configure Container Security Context
1697
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1698
## @param coordinating.containerSecurityContext.enabled Enabled containers' Security Context
1699
## @param coordinating.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1700
## @param coordinating.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1701
## @param coordinating.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1702
## @param coordinating.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
1703
## @param coordinating.containerSecurityContext.privileged Set container's Security Context privileged
1704
## @param coordinating.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
1705
## @param coordinating.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
1706
## @param coordinating.containerSecurityContext.capabilities.drop List of capabilities to be dropped
1707
## @param coordinating.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1708
##
1709
containerSecurityContext:
1710
enabled: true
1711
seLinuxOptions: {}
1712
runAsUser: 1001
1713
runAsGroup: 1001
1714
runAsNonRoot: true
1715
privileged: false
1716
readOnlyRootFilesystem: true
1717
allowPrivilegeEscalation: false
1718
capabilities:
1719
drop: ["ALL"]
1720
seccompProfile:
1721
type: "RuntimeDefault"
1722
## @param coordinating.automountServiceAccountToken Mount Service Account token in pod
1723
##
1724
automountServiceAccountToken: false
1725
## @param coordinating.hostAliases coordinating-only pods host aliases
1726
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1727
##
1728
hostAliases: []
1729
## @param coordinating.podLabels Extra labels for coordinating-only pods
1730
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1731
##
1732
podLabels: {}
1733
## @param coordinating.podAnnotations Annotations for coordinating-only pods
1734
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1735
##
1736
podAnnotations: {}
1737
## @param coordinating.podAffinityPreset Pod affinity preset. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1738
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1739
##
1740
podAffinityPreset: ""
1741
## @param coordinating.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1742
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1743
##
1744
podAntiAffinityPreset: ""
1745
## Node coordinating.affinity preset
1746
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1747
##
1748
nodeAffinityPreset:
1749
## @param coordinating.nodeAffinityPreset.type Node affinity preset type. Ignored if `coordinating.affinity` is set. Allowed values: `soft` or `hard`
1750
##
1751
type: ""
1752
## @param coordinating.nodeAffinityPreset.key Node label key to match. Ignored if `coordinating.affinity` is set
1753
##
1754
key: ""
1755
## @param coordinating.nodeAffinityPreset.values Node label values to match. Ignored if `coordinating.affinity` is set
1756
## E.g.
1757
## values:
1758
## - e2e-az1
1759
## - e2e-az2
1760
##
1761
values: []
1762
## @param coordinating.affinity Affinity for coordinating-only pods assignment
1763
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1764
## NOTE: `coordinating.podAffinityPreset`, `coordinating.podAntiAffinityPreset`, and `coordinating.nodeAffinityPreset` will be ignored when it's set
1765
##
1766
affinity: {}
1767
## @param coordinating.nodeSelector Node labels for coordinating-only pods assignment
1768
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1769
##
1770
nodeSelector: {}
1771
## @param coordinating.tolerations Tolerations for coordinating-only pods assignment
1772
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1773
##
1774
tolerations: []
1775
## @param coordinating.priorityClassName coordinating-only pods' priorityClassName
1776
##
1777
priorityClassName: ""
1778
## @param coordinating.schedulerName Name of the k8s scheduler (other than default) for coordinating-only pods
1779
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1780
##
1781
schedulerName: ""
1782
## @param coordinating.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch coordinating pod needs to terminate gracefully
1783
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1784
##
1785
terminationGracePeriodSeconds: ""
1786
## @param coordinating.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
1787
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1788
##
1789
topologySpreadConstraints: []
1790
## @param coordinating.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch coordinating pods
1791
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1792
##
1793
podManagementPolicy: "Parallel"
1794
## Configure extra options for OpenSearch coordinating-only containers' liveness, readiness and startup probes
1795
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1796
## @param coordinating.startupProbe.enabled Enable/disable the startup probe (coordinating-only nodes pod)
1797
## @param coordinating.startupProbe.initialDelaySeconds Delay before startup probe is initiated (coordinating-only nodes pod)
1798
## @param coordinating.startupProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1799
## @param coordinating.startupProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1800
## @param coordinating.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1801
## @param coordinating.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1802
##
1803
startupProbe:
1804
enabled: false
1805
initialDelaySeconds: 90
1806
periodSeconds: 10
1807
timeoutSeconds: 5
1808
successThreshold: 1
1809
failureThreshold: 5
1810
## @param coordinating.livenessProbe.enabled Enable/disable the liveness probe (coordinating-only nodes pod)
1811
## @param coordinating.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (coordinating-only nodes pod)
1812
## @param coordinating.livenessProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1813
## @param coordinating.livenessProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1814
## @param coordinating.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1815
## @param coordinating.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1816
##
1817
livenessProbe:
1818
enabled: true
1819
initialDelaySeconds: 180
1820
periodSeconds: 10
1821
timeoutSeconds: 5
1822
successThreshold: 1
1823
failureThreshold: 5
1824
## @param coordinating.readinessProbe.enabled Enable/disable the readiness probe (coordinating-only nodes pod)
1825
## @param coordinating.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (coordinating-only nodes pod)
1826
## @param coordinating.readinessProbe.periodSeconds How often to perform the probe (coordinating-only nodes pod)
1827
## @param coordinating.readinessProbe.timeoutSeconds When the probe times out (coordinating-only nodes pod)
1828
## @param coordinating.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (coordinating-only nodes pod)
1829
## @param coordinating.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
1830
##
1831
readinessProbe:
1832
enabled: true
1833
initialDelaySeconds: 90
1834
periodSeconds: 10
1835
timeoutSeconds: 5
1836
successThreshold: 1
1837
failureThreshold: 5
1838
## @param coordinating.customStartupProbe Override default startup probe
1839
##
1840
customStartupProbe: {}
1841
## @param coordinating.customLivenessProbe Override default liveness probe
1842
##
1843
customLivenessProbe: {}
1844
## @param coordinating.customReadinessProbe Override default readiness probe
1845
##
1846
customReadinessProbe: {}
1847
## @param coordinating.command Override default container command (useful when using custom images)
1848
##
1849
command: []
1850
## @param coordinating.args Override default container args (useful when using custom images)
1851
##
1852
args: []
1853
## @param coordinating.lifecycleHooks for the coordinating-only container(s) to automate configuration before or after startup
1854
##
1855
lifecycleHooks: {}
1856
## @param coordinating.extraEnvVars Array with extra environment variables to add to coordinating-only nodes
1857
## e.g:
1858
## extraEnvVars:
1859
## - name: FOO
1860
## value: "bar"
1861
##
1862
extraEnvVars: []
1863
## @param coordinating.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for coordinating-only nodes
1864
##
1865
extraEnvVarsCM: ""
1866
## @param coordinating.extraEnvVarsSecret Name of existing Secret containing extra env vars for coordinating-only nodes
1867
##
1868
extraEnvVarsSecret: ""
1869
## @param coordinating.extraVolumes Optionally specify extra list of additional volumes for the coordinating-only pod(s)
1870
##
1871
extraVolumes: []
1872
## @param coordinating.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the coordinating-only container(s)
1873
##
1874
extraVolumeMounts: []
1875
## @param coordinating.sidecars Add additional sidecar containers to the coordinating-only pod(s)
1876
## e.g:
1877
## sidecars:
1878
## - name: your-image-name
1879
## image: your-image
1880
## imagePullPolicy: Always
1881
## ports:
1882
## - name: portname
1883
## containerPort: 1234
1884
##
1885
sidecars: []
1886
## @param coordinating.initContainers Add additional init containers to the coordinating-only pod(s)
1887
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1888
## e.g:
1889
## initContainers:
1890
## - name: your-image-name
1891
## image: your-image
1892
## imagePullPolicy: Always
1893
## command: ['sh', '-c', 'echo "hello world"']
1894
##
1895
initContainers: []
1896
## Pods Service Account
1897
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1898
## @param coordinating.serviceAccount.create Specifies whether a ServiceAccount should be created
1899
## @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.
1900
## @param coordinating.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
1901
## @param coordinating.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
1902
##
1903
serviceAccount:
1904
create: false
1905
name: ""
1906
automountServiceAccountToken: false
1907
annotations: {}
1908
## Network Policy configuration
1909
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1910
##
1911
networkPolicy:
1912
## @param coordinating.networkPolicy.enabled Enable creation of NetworkPolicy resources
1913
##
1914
enabled: true
1915
## @param coordinating.networkPolicy.allowExternal The Policy model to apply
1916
## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
1917
## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
1918
##
1919
allowExternal: true
1920
## @param coordinating.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1921
##
1922
allowExternalEgress: true
1923
## @param coordinating.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1924
## e.g:
1925
## extraIngress:
1926
## - ports:
1927
## - port: 1234
1928
## from:
1929
## - podSelector:
1930
## - matchLabels:
1931
## - role: frontend
1932
## - podSelector:
1933
## - matchExpressions:
1934
## - key: role
1935
## operator: In
1936
## values:
1937
## - frontend
1938
##
1939
extraIngress: []
1940
## @param coordinating.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1941
## e.g:
1942
## extraEgress:
1943
## - ports:
1944
## - port: 1234
1945
## to:
1946
## - podSelector:
1947
## - matchLabels:
1948
## - role: frontend
1949
## - podSelector:
1950
## - matchExpressions:
1951
## - key: role
1952
## operator: In
1953
## values:
1954
## - frontend
1955
##
1956
extraEgress: []
1957
## @param coordinating.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1958
## @param coordinating.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1959
##
1960
ingressNSMatchLabels: {}
1961
ingressNSPodMatchLabels: {}
1962
autoscaling:
1963
vpa:
1964
## @param coordinating.autoscaling.vpa.enabled Enable VPA
1965
##
1966
enabled: false
1967
## @param coordinating.autoscaling.vpa.annotations Annotations for VPA resource
1968
##
1969
annotations: {}
1970
## @param coordinating.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
1971
##
1972
controlledResources: []
1973
## @param coordinating.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
1974
## cpu: 200m
1975
## memory: 100Mi
1976
maxAllowed: {}
1977
## @param coordinating.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
1978
## cpu: 200m
1979
## memory: 100Mi
1980
minAllowed: {}
1981
updatePolicy:
1982
## @param coordinating.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
1983
## Possible values are "Off", "Initial", "Recreate", and "Auto".
1984
##
1985
updateMode: Auto
1986
hpa:
1987
## @param coordinating.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
1988
##
1989
enabled: false
1990
## @param coordinating.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
1991
##
1992
minReplicas: 3
1993
## @param coordinating.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
1994
##
1995
maxReplicas: 11
1996
## @param coordinating.autoscaling.hpa.targetCPU Target CPU utilization percentage
1997
##
1998
targetCPU: ""
1999
## @param coordinating.autoscaling.hpa.targetMemory Target Memory utilization percentage
2000
##
2001
targetMemory: ""
2002
## Coordinating-only service parameters
2003
##
2004
service:
2005
## Headless service properties
2006
##
2007
headless:
2008
## @param coordinating.service.headless.annotations Annotations for the coordinating-only headless service.
2009
##
2010
annotations: {}
2011
## @param coordinating.service.headless.nameOverride String to fully override opensearch.coordinating.servicename
2012
##
2013
nameOverride: ""
2014
## @param coordinating.service.headless.trafficDistribution String Traffic distribution for the coordinating headless service
2015
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
2016
##
2017
trafficDistribution: "PreferClose"
2018
## Metrics configuration for coordinating node
2019
##
2020
metrics:
2021
## @param coordinating.metrics.enabled Enable coordinating node metrics
2022
##
2023
enabled: false
2024
service:
2025
## @param coordinating.metrics.service.ports.metrics coordinating node metrics service port
2026
##
2027
ports:
2028
metrics: 80
2029
## @param coordinating.metrics.service.clusterIP coordinating node metrics service Cluster IP
2030
## e.g.:
2031
## clusterIP: None
2032
##
2033
clusterIP: ""
2034
## coordinating node metrics service monitor configuration
2035
##
2036
serviceMonitor:
2037
## @param coordinating.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
2038
##
2039
enabled: false
2040
## @param coordinating.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
2041
## e.g:
2042
## namespace: monitoring
2043
##
2044
namespace: ""
2045
## @param coordinating.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
2046
##
2047
jobLabel: ""
2048
## @param coordinating.metrics.serviceMonitor.interval Interval at which metrics should be scraped
2049
## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#endpoint
2050
##
2051
interval: 30s
2052
## @param coordinating.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2053
## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#endpoint
2054
##
2055
scrapeTimeout: 10s
2056
## @param coordinating.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
2057
## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#relabelconfig
2058
##
2059
relabelings: []
2060
## @param coordinating.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
2061
## ref: https://github.com/coreos/prometheus-operator/blob/coordinating/Documentation/api.md#relabelconfig
2062
##
2063
metricRelabelings: []
2064
## @param coordinating.metrics.serviceMonitor.selector ServiceMonitor selector labels
2065
##
2066
## selector:
2067
## prometheus: my-prometheus
2068
##
2069
selector: {}
2070
## @param coordinating.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2071
##
2072
honorLabels: false
2073
## Rules for PrometheusRule object if enabled
2074
##
2075
## E.g.
2076
## @param coordinating.metrics.rules.enabled Enable render extra rules for PrometheusRule object
2077
## @param coordinating.metrics.rules.spec Rules to render into the PrometheusRule object
2078
## @param coordinating.metrics.rules.selector Selector for the PrometheusRule object
2079
## @param coordinating.metrics.rules.namespace Namespace where to create the PrometheusRule object
2080
## @param coordinating.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
2081
##
2082
rules:
2083
enabled: false
2084
## E.g
2085
## - alert: ArgoAppMissing
2086
## expr: |
2087
## absent(argocd_app_info)
2088
## for: 15m
2089
## labels:
2090
## severity: critical
2091
## annotations:
2092
## summary: "[ArgoCD] No reported applications"
2093
## description: >
2094
## ArgoCD has not reported any applications data for the past 15 minutes which
2095
## means that it must be down or not functioning properly. This needs to be
2096
## resolved for this cloud to continue to maintain state.
2097
## - alert: ArgoAppNotSynced
2098
## expr: |
2099
## argocd_app_info{sync_status!="Synced"} == 1
2100
## for: 12h
2101
## labels:
2102
## severity: warning
2103
## annotations:
2104
## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
2105
## description: >
2106
## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
2107
## 12 hours which means that the state of this cloud has drifted away from the
2108
## state inside Git.
2109
##
2110
spec: []
2111
## E.g
2112
## selector:
2113
## prometheus: kube-prometheus
2114
##
2115
selector: {}
2116
namespace: monitoring
2117
additionalLabels: {}
2118
## @section Ingest-only nodes parameters
2119
ingest:
2120
## @param ingest.enabled Enable ingest nodes
2121
##
2122
enabled: true
2123
## @param ingest.replicaCount Number of ingest-only replicas to deploy
2124
##
2125
replicaCount: 2
2126
## @param ingest.extraRoles Append extra roles to the node role
2127
##
2128
extraRoles: []
2129
## Pod Disruption Budget configuration
2130
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
2131
## @param ingest.pdb.create Enable/disable a Pod Disruption Budget creation
2132
## @param ingest.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
2133
## @param ingest.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `ingest.pdb.minAvailable` and `ingest.pdb.maxUnavailable` are empty.
2134
##
2135
pdb:
2136
create: true
2137
minAvailable: ""
2138
maxUnavailable: ""
2139
## @param ingest.nameOverride String to partially override opensearch.ingest.fullname
2140
##
2141
nameOverride: ""
2142
## @param ingest.fullnameOverride String to fully override opensearch.ingest.fullname
2143
##
2144
fullnameOverride: ""
2145
## @param ingest.servicenameOverride String to fully override opensearch.ingest.servicename
2146
## DEPRECATED: Use ingest.service.headless.nameOverride instead
2147
##
2148
servicenameOverride: ""
2149
## @param ingest.annotations [object] Annotations for the ingest statefulset
2150
##
2151
annotations: {}
2152
## @param ingest.updateStrategy.type Ingest-only nodes statefulset strategy type
2153
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
2154
##
2155
updateStrategy:
2156
type: RollingUpdate
2157
## OpenSearch resource requests and limits
2158
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2159
## @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).
2160
##
2161
resourcesPreset: "medium"
2162
## @param ingest.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2163
## Example:
2164
## resources:
2165
## requests:
2166
## cpu: 2
2167
## memory: 512Mi
2168
## limits:
2169
## cpu: 3
2170
## memory: 1024Mi
2171
##
2172
resources: {}
2173
## @param ingest.heapSize OpenSearch ingest-only node heap size.
2174
## Note: The recommended heapSize is half of the container's memory.
2175
## If omitted, it will be automatically set.
2176
## Example:
2177
## heapSize: 128m
2178
##
2179
heapSize: 512m
2180
## Configure Pods Security Context
2181
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2182
## @param ingest.podSecurityContext.enabled Enabled ingest-only pods' Security Context
2183
## @param ingest.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
2184
## @param ingest.podSecurityContext.sysctls Set kernel settings using the sysctl interface
2185
## @param ingest.podSecurityContext.supplementalGroups Set filesystem extra groups
2186
## @param ingest.podSecurityContext.fsGroup Set ingest-only pod's Security Context fsGroup
2187
##
2188
podSecurityContext:
2189
enabled: true
2190
fsGroupChangePolicy: Always
2191
sysctls: []
2192
supplementalGroups: []
2193
fsGroup: 1001
2194
## Configure Container Security Context
2195
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2196
## @param ingest.containerSecurityContext.enabled Enabled containers' Security Context
2197
## @param ingest.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
2198
## @param ingest.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
2199
## @param ingest.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
2200
## @param ingest.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
2201
## @param ingest.containerSecurityContext.privileged Set container's Security Context privileged
2202
## @param ingest.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
2203
## @param ingest.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
2204
## @param ingest.containerSecurityContext.capabilities.drop List of capabilities to be dropped
2205
## @param ingest.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
2206
##
2207
containerSecurityContext:
2208
enabled: true
2209
seLinuxOptions: {}
2210
runAsUser: 1001
2211
runAsGroup: 1001
2212
runAsNonRoot: true
2213
privileged: false
2214
readOnlyRootFilesystem: true
2215
allowPrivilegeEscalation: false
2216
capabilities:
2217
drop: ["ALL"]
2218
seccompProfile:
2219
type: "RuntimeDefault"
2220
## @param ingest.automountServiceAccountToken Mount Service Account token in pod
2221
##
2222
automountServiceAccountToken: false
2223
## @param ingest.hostAliases ingest-only pods host aliases
2224
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
2225
##
2226
hostAliases: []
2227
## @param ingest.podLabels Extra labels for ingest-only pods
2228
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2229
##
2230
podLabels: {}
2231
## @param ingest.podAnnotations Annotations for ingest-only pods
2232
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2233
##
2234
podAnnotations: {}
2235
## @param ingest.podAffinityPreset Pod affinity preset. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
2236
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2237
##
2238
podAffinityPreset: ""
2239
## @param ingest.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
2240
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2241
##
2242
podAntiAffinityPreset: ""
2243
## Node ingest.affinity preset
2244
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2245
##
2246
nodeAffinityPreset:
2247
## @param ingest.nodeAffinityPreset.type Node affinity preset type. Ignored if `ingest.affinity` is set. Allowed values: `soft` or `hard`
2248
##
2249
type: ""
2250
## @param ingest.nodeAffinityPreset.key Node label key to match. Ignored if `ingest.affinity` is set
2251
##
2252
key: ""
2253
## @param ingest.nodeAffinityPreset.values Node label values to match. Ignored if `ingest.affinity` is set
2254
## E.g.
2255
## values:
2256
## - e2e-az1
2257
## - e2e-az2
2258
##
2259
values: []
2260
## @param ingest.affinity Affinity for ingest-only pods assignment
2261
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2262
## NOTE: `ingest.podAffinityPreset`, `ingest.podAntiAffinityPreset`, and `ingest.nodeAffinityPreset` will be ignored when it's set
2263
##
2264
affinity: {}
2265
## @param ingest.nodeSelector Node labels for ingest-only pods assignment
2266
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2267
##
2268
nodeSelector: {}
2269
## @param ingest.tolerations Tolerations for ingest-only pods assignment
2270
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2271
##
2272
tolerations: []
2273
## @param ingest.priorityClassName ingest-only pods' priorityClassName
2274
##
2275
priorityClassName: ""
2276
## @param ingest.schedulerName Name of the k8s scheduler (other than default) for ingest-only pods
2277
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2278
##
2279
schedulerName: ""
2280
## @param ingest.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch ingest pod needs to terminate gracefully
2281
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
2282
##
2283
terminationGracePeriodSeconds: ""
2284
## @param ingest.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
2285
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2286
##
2287
topologySpreadConstraints: []
2288
## @param ingest.podManagementPolicy podManagementPolicy to manage scaling operation of OpenSearch ingest pods
2289
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
2290
##
2291
podManagementPolicy: "Parallel"
2292
## Configure extra options for OpenSearch ingest-only containers' liveness, readiness and startup probes
2293
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2294
## @param ingest.startupProbe.enabled Enable/disable the startup probe (ingest-only nodes pod)
2295
## @param ingest.startupProbe.initialDelaySeconds Delay before startup probe is initiated (ingest-only nodes pod)
2296
## @param ingest.startupProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
2297
## @param ingest.startupProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
2298
## @param ingest.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
2299
## @param ingest.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2300
##
2301
startupProbe:
2302
enabled: false
2303
initialDelaySeconds: 90
2304
periodSeconds: 10
2305
timeoutSeconds: 5
2306
successThreshold: 1
2307
failureThreshold: 5
2308
## @param ingest.livenessProbe.enabled Enable/disable the liveness probe (ingest-only nodes pod)
2309
## @param ingest.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (ingest-only nodes pod)
2310
## @param ingest.livenessProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
2311
## @param ingest.livenessProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
2312
## @param ingest.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
2313
## @param ingest.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2314
##
2315
livenessProbe:
2316
enabled: true
2317
initialDelaySeconds: 180
2318
periodSeconds: 10
2319
timeoutSeconds: 5
2320
successThreshold: 1
2321
failureThreshold: 5
2322
## @param ingest.readinessProbe.enabled Enable/disable the readiness probe (ingest-only nodes pod)
2323
## @param ingest.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (ingest-only nodes pod)
2324
## @param ingest.readinessProbe.periodSeconds How often to perform the probe (ingest-only nodes pod)
2325
## @param ingest.readinessProbe.timeoutSeconds When the probe times out (ingest-only nodes pod)
2326
## @param ingest.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (ingest-only nodes pod)
2327
## @param ingest.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
2328
##
2329
readinessProbe:
2330
enabled: true
2331
initialDelaySeconds: 90
2332
periodSeconds: 10
2333
timeoutSeconds: 5
2334
successThreshold: 1
2335
failureThreshold: 5
2336
## @param ingest.customStartupProbe Override default startup probe
2337
##
2338
customStartupProbe: {}
2339
## @param ingest.customLivenessProbe Override default liveness probe
2340
##
2341
customLivenessProbe: {}
2342
## @param ingest.customReadinessProbe Override default readiness probe
2343
##
2344
customReadinessProbe: {}
2345
## @param ingest.command Override default container command (useful when using custom images)
2346
##
2347
command: []
2348
## @param ingest.args Override default container args (useful when using custom images)
2349
##
2350
args: []
2351
## @param ingest.lifecycleHooks for the ingest-only container(s) to automate configuration before or after startup
2352
##
2353
lifecycleHooks: {}
2354
## @param ingest.extraEnvVars Array with extra environment variables to add to ingest-only nodes
2355
## e.g:
2356
## extraEnvVars:
2357
## - name: FOO
2358
## value: "bar"
2359
##
2360
extraEnvVars: []
2361
## @param ingest.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for ingest-only nodes
2362
##
2363
extraEnvVarsCM: ""
2364
## @param ingest.extraEnvVarsSecret Name of existing Secret containing extra env vars for ingest-only nodes
2365
##
2366
extraEnvVarsSecret: ""
2367
## @param ingest.extraVolumes Optionally specify extra list of additional volumes for the ingest-only pod(s)
2368
##
2369
extraVolumes: []
2370
## @param ingest.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the ingest-only container(s)
2371
##
2372
extraVolumeMounts: []
2373
## @param ingest.sidecars Add additional sidecar containers to the ingest-only pod(s)
2374
## e.g:
2375
## sidecars:
2376
## - name: your-image-name
2377
## image: your-image
2378
## imagePullPolicy: Always
2379
## ports:
2380
## - name: portname
2381
## containerPort: 1234
2382
##
2383
sidecars: []
2384
## @param ingest.initContainers Add additional init containers to the ingest-only pod(s)
2385
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2386
## e.g:
2387
## initContainers:
2388
## - name: your-image-name
2389
## image: your-image
2390
## imagePullPolicy: Always
2391
## command: ['sh', '-c', 'echo "hello world"']
2392
##
2393
initContainers: []
2394
## Pods Service Account
2395
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
2396
## @param ingest.serviceAccount.create Specifies whether a ServiceAccount should be created
2397
## @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.
2398
## @param ingest.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
2399
## @param ingest.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
2400
##
2401
serviceAccount:
2402
create: false
2403
name: ""
2404
automountServiceAccountToken: false
2405
annotations: {}
2406
## Network Policy configuration
2407
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2408
##
2409
networkPolicy:
2410
## @param ingest.networkPolicy.enabled Enable creation of NetworkPolicy resources
2411
##
2412
enabled: true
2413
## @param ingest.networkPolicy.allowExternal The Policy model to apply
2414
## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
2415
## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
2416
##
2417
allowExternal: true
2418
## @param ingest.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2419
##
2420
allowExternalEgress: true
2421
## @param ingest.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2422
## e.g:
2423
## extraIngress:
2424
## - ports:
2425
## - port: 1234
2426
## from:
2427
## - podSelector:
2428
## - matchLabels:
2429
## - role: frontend
2430
## - podSelector:
2431
## - matchExpressions:
2432
## - key: role
2433
## operator: In
2434
## values:
2435
## - frontend
2436
##
2437
extraIngress: []
2438
## @param ingest.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2439
## e.g:
2440
## extraEgress:
2441
## - ports:
2442
## - port: 1234
2443
## to:
2444
## - podSelector:
2445
## - matchLabels:
2446
## - role: frontend
2447
## - podSelector:
2448
## - matchExpressions:
2449
## - key: role
2450
## operator: In
2451
## values:
2452
## - frontend
2453
##
2454
extraEgress: []
2455
## @param ingest.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2456
## @param ingest.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2457
##
2458
ingressNSMatchLabels: {}
2459
ingressNSPodMatchLabels: {}
2460
autoscaling:
2461
vpa:
2462
## @param ingest.autoscaling.vpa.enabled Enable VPA
2463
##
2464
enabled: false
2465
## @param ingest.autoscaling.vpa.annotations Annotations for VPA resource
2466
##
2467
annotations: {}
2468
## @param ingest.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
2469
##
2470
controlledResources: []
2471
## @param ingest.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
2472
## cpu: 200m
2473
## memory: 100Mi
2474
maxAllowed: {}
2475
## @param ingest.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
2476
## cpu: 200m
2477
## memory: 100Mi
2478
minAllowed: {}
2479
updatePolicy:
2480
## @param ingest.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
2481
## Possible values are "Off", "Initial", "Recreate", and "Auto".
2482
##
2483
updateMode: Auto
2484
hpa:
2485
## @param ingest.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
2486
##
2487
enabled: false
2488
## @param ingest.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
2489
##
2490
minReplicas: 3
2491
## @param ingest.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
2492
##
2493
maxReplicas: 11
2494
## @param ingest.autoscaling.hpa.targetCPU Target CPU utilization percentage
2495
##
2496
targetCPU: ""
2497
## @param ingest.autoscaling.hpa.targetMemory Target Memory utilization percentage
2498
##
2499
targetMemory: ""
2500
## OpenSearch Ingest-only Service
2501
## Recommended for heavy ingestion, improves performance by sending ingest traffic directly into the ingest nodes.
2502
## NOTE: Ingest nodes will only accept index requests with an associated pipeline, any other request won't be rerouted.
2503
##
2504
service:
2505
## @param ingest.service.enabled Enable Ingest-only service
2506
##
2507
enabled: false
2508
## @param ingest.service.type OpenSearch ingest-only service type
2509
##
2510
type: ClusterIP
2511
## @param ingest.service.ports.restAPI OpenSearch service REST API port
2512
## @param ingest.service.ports.transport OpenSearch service transport port
2513
##
2514
ports:
2515
restAPI: 9200
2516
transport: 9300
2517
## Node ports to expose
2518
## @param ingest.service.nodePorts.restAPI Node port for REST API
2519
## @param ingest.service.nodePorts.transport Node port for REST API
2520
## NOTE: choose port between <30000-32767>
2521
##
2522
nodePorts:
2523
restAPI: ""
2524
transport: ""
2525
## @param ingest.service.clusterIP OpenSearch ingest-only service Cluster IP
2526
## e.g.:
2527
## clusterIP: None
2528
##
2529
clusterIP: ""
2530
## @param ingest.service.loadBalancerIP OpenSearch ingest-only service Load Balancer IP
2531
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2532
##
2533
loadBalancerIP: ""
2534
## @param ingest.service.loadBalancerSourceRanges OpenSearch ingest-only service Load Balancer sources
2535
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2536
## e.g:
2537
## loadBalancerSourceRanges:
2538
## - 10.10.10.0/24
2539
##
2540
loadBalancerSourceRanges: []
2541
## @param ingest.service.externalTrafficPolicy OpenSearch ingest-only service external traffic policy
2542
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2543
##
2544
externalTrafficPolicy: Cluster
2545
## @param ingest.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
2546
##
2547
extraPorts: []
2548
## @param ingest.service.annotations Additional custom annotations for OpenSearch ingest-only service
2549
##
2550
annotations: {}
2551
## @param ingest.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
2552
## If "ClientIP", consecutive client requests will be directed to the same Pod
2553
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
2554
##
2555
sessionAffinity: None
2556
## @param ingest.service.sessionAffinityConfig Additional settings for the sessionAffinity
2557
## sessionAffinityConfig:
2558
## clientIP:
2559
## timeoutSeconds: 300
2560
##
2561
sessionAffinityConfig: {}
2562
## Headless service properties
2563
##
2564
headless:
2565
## @param ingest.service.headless.annotations Annotations for the ingest headless service.
2566
##
2567
annotations: {}
2568
## @param ingest.service.headless.nameOverride String to fully override opensearch.ingest.servicename
2569
##
2570
nameOverride: ""
2571
## @param ingest.service.headless.trafficDistribution String Traffic distribution for the ingest headless service
2572
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
2573
##
2574
trafficDistribution: "PreferClose"
2575
## OpenSearch Ingest-only ingress parameters
2576
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
2577
##
2578
ingress:
2579
## @param ingest.ingress.enabled Enable ingress record generation for OpenSearch
2580
##
2581
enabled: false
2582
## @param ingest.ingress.pathType Ingress path type
2583
##
2584
pathType: ImplementationSpecific
2585
## @param ingest.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2586
##
2587
apiVersion: ""
2588
## @param ingest.ingress.hostname Default host for the ingress record
2589
##
2590
hostname: opensearch-ingest.local
2591
## @param ingest.ingress.path Default path for the ingress record
2592
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
2593
##
2594
path: /
2595
## @param ingest.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2596
## Use this parameter to set the required annotations for cert-manager, see
2597
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2598
## e.g:
2599
## annotations:
2600
## kubernetes.io/ingress.class: nginx
2601
## cert-manager.io/cluster-issuer: cluster-issuer-name
2602
##
2603
annotations: {}
2604
## @param ingest.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
2605
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
2606
## You can:
2607
## - Use the `ingress.secrets` parameter to create this TLS secret
2608
## - Rely on cert-manager to create it by setting the corresponding annotations
2609
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
2610
##
2611
tls: false
2612
## @param ingest.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2613
##
2614
selfSigned: false
2615
## @param ingest.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
2616
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
2617
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
2618
##
2619
ingressClassName: ""
2620
## @param ingest.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
2621
## e.g:
2622
## extraHosts:
2623
## - name: opensearch.local
2624
## path: /
2625
##
2626
extraHosts: []
2627
## @param ingest.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
2628
## e.g:
2629
## extraPaths:
2630
## - path: /*
2631
## backend:
2632
## serviceName: ssl-redirect
2633
## servicePort: use-annotation
2634
##
2635
extraPaths: []
2636
## @param ingest.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
2637
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
2638
## e.g:
2639
## extraTls:
2640
## - hosts:
2641
## - opensearch.local
2642
## secretName: opensearch.local-tls
2643
##
2644
extraTls: []
2645
## @param ingest.ingress.secrets Custom TLS certificates as secrets
2646
## NOTE: 'key' and 'certificate' are expected in PEM format
2647
## NOTE: 'name' should line up with a 'secretName' set further up
2648
## 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
2649
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
2650
## It is also possible to create and manage the certificates outside of this helm chart
2651
## Please see README.md for more information
2652
## e.g:
2653
## secrets:
2654
## - name: opensearch.local-tls
2655
## key: |-
2656
## -----BEGIN RSA PRIVATE KEY-----
2657
## ...
2658
## -----END RSA PRIVATE KEY-----
2659
## certificate: |-
2660
## -----BEGIN CERTIFICATE-----
2661
## ...
2662
## -----END CERTIFICATE-----
2663
##
2664
secrets: []
2665
## @param ingest.ingress.extraRules Additional rules to be covered with this ingress record
2666
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
2667
## e.g:
2668
## extraRules:
2669
## - host: example.local
2670
## http:
2671
## path: /
2672
## backend:
2673
## service:
2674
## name: example-svc
2675
## port:
2676
## name: http
2677
##
2678
extraRules: []
2679
## Metrics configuration for ingest node
2680
##
2681
metrics:
2682
## @param ingest.metrics.enabled Enable ingest node metrics
2683
##
2684
enabled: false
2685
service:
2686
## @param ingest.metrics.service.ports.metrics ingest node metrics service port
2687
##
2688
ports:
2689
metrics: 80
2690
## @param ingest.metrics.service.clusterIP ingest node metrics service Cluster IP
2691
## e.g.:
2692
## clusterIP: None
2693
##
2694
clusterIP: ""
2695
## ingest node metrics service monitor configuration
2696
##
2697
serviceMonitor:
2698
## @param ingest.metrics.serviceMonitor.enabled Create ServiceMonitor Resource for scraping metrics using PrometheusOperator
2699
##
2700
enabled: false
2701
## @param ingest.metrics.serviceMonitor.namespace Namespace which Prometheus is running in
2702
## e.g:
2703
## namespace: monitoring
2704
##
2705
namespace: ""
2706
## @param ingest.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
2707
##
2708
jobLabel: ""
2709
## @param ingest.metrics.serviceMonitor.interval Interval at which metrics should be scraped
2710
## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#endpoint
2711
##
2712
interval: 30s
2713
## @param ingest.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2714
## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#endpoint
2715
##
2716
scrapeTimeout: 10s
2717
## @param ingest.metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
2718
## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#relabelconfig
2719
##
2720
relabelings: []
2721
## @param ingest.metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
2722
## ref: https://github.com/coreos/prometheus-operator/blob/ingest/Documentation/api.md#relabelconfig
2723
##
2724
metricRelabelings: []
2725
## @param ingest.metrics.serviceMonitor.selector ServiceMonitor selector labels
2726
##
2727
## selector:
2728
## prometheus: my-prometheus
2729
##
2730
selector: {}
2731
## @param ingest.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2732
##
2733
honorLabels: false
2734
## Rules for PrometheusRule object if enabled
2735
##
2736
## E.g.
2737
## @param ingest.metrics.rules.enabled Enable render extra rules for PrometheusRule object
2738
## @param ingest.metrics.rules.spec Rules to render into the PrometheusRule object
2739
## @param ingest.metrics.rules.selector Selector for the PrometheusRule object
2740
## @param ingest.metrics.rules.namespace Namespace where to create the PrometheusRule object
2741
## @param ingest.metrics.rules.additionalLabels Additional lables to add to the PrometheusRule object
2742
##
2743
rules:
2744
enabled: false
2745
## E.g
2746
## - alert: ArgoAppMissing
2747
## expr: |
2748
## absent(argocd_app_info)
2749
## for: 15m
2750
## labels:
2751
## severity: critical
2752
## annotations:
2753
## summary: "[ArgoCD] No reported applications"
2754
## description: >
2755
## ArgoCD has not reported any applications data for the past 15 minutes which
2756
## means that it must be down or not functioning properly. This needs to be
2757
## resolved for this cloud to continue to maintain state.
2758
## - alert: ArgoAppNotSynced
2759
## expr: |
2760
## argocd_app_info{sync_status!="Synced"} == 1
2761
## for: 12h
2762
## labels:
2763
## severity: warning
2764
## annotations:
2765
## summary: "[{{`{{ $labels.name }}`}}] Application not synchronized"
2766
## description: >
2767
## The application [{{`{{ $labels.name }}`}} has not been synchronized for over
2768
## 12 hours which means that the state of this cloud has drifted away from the
2769
## state inside Git.
2770
##
2771
spec: []
2772
## E.g
2773
## selector:
2774
## prometheus: kube-prometheus
2775
##
2776
selector: {}
2777
namespace: monitoring
2778
additionalLabels: {}
2779
## @section Init Container Parameters
2780
2781
## 'volumePermissions' init container parameters
2782
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
2783
## based on the *podSecurityContext/*containerSecurityContext parameters
2784
##
2785
volumePermissions:
2786
## @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)
2787
##
2788
enabled: false
2789
## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
2790
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image name
2791
## @skip volumePermissions.image.tag Init container volume-permissions image tag
2792
## @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
2793
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
2794
## @param volumePermissions.image.pullSecrets Init container volume-permissions image pull secrets
2795
##
2796
image:
2797
registry: cgr.dev
2798
repository: chainguard-private/os-shell-iamguarded
2799
tag: 1.0.0
2800
digest: ""
2801
pullPolicy: IfNotPresent
2802
## Optionally specify an array of imagePullSecrets.
2803
## Secrets must be manually created in the namespace.
2804
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2805
## e.g:
2806
## pullSecrets:
2807
## - myRegistryKeySecretName
2808
##
2809
pullSecrets: []
2810
## Init container' resource requests and limits
2811
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2812
## We usually recommend not to specify default resources and to leave this as a conscious
2813
## choice for the user. This also increases chances charts run on environments with little
2814
## resources, such as Minikube. If you do want to specify resources, uncomment the following
2815
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
2816
## @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).
2817
##
2818
resourcesPreset: "nano"
2819
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2820
## Example:
2821
## resources:
2822
## requests:
2823
## cpu: 2
2824
## memory: 512Mi
2825
## limits:
2826
## cpu: 3
2827
## memory: 1024Mi
2828
##
2829
resources: {}
2830
## Kernel settings modifier image
2831
##
2832
sysctlImage:
2833
## @param sysctlImage.enabled Enable kernel settings modifier image
2834
##
2835
enabled: true
2836
## @param sysctlImage.registry [default: REGISTRY_NAME] Kernel settings modifier image registry
2837
## @param sysctlImage.repository [default: REPOSITORY_NAME/os-shell] Kernel settings modifier image repository
2838
## @skip sysctlImage.tag Kernel settings modifier image tag
2839
## @param sysctlImage.digest Kernel settings modifier image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
2840
## @param sysctlImage.pullPolicy Kernel settings modifier image pull policy
2841
## @param sysctlImage.pullSecrets Kernel settings modifier image pull secrets
2842
##
2843
registry: cgr.dev
2844
repository: chainguard-private/os-shell-iamguarded
2845
tag: 1.0.0
2846
digest: ""
2847
## Specify a imagePullPolicy
2848
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
2849
##
2850
pullPolicy: IfNotPresent
2851
## Optionally specify an array of imagePullSecrets.
2852
## Secrets must be manually created in the namespace.
2853
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2854
## e.g:
2855
## pullSecrets:
2856
## - myRegistryKeySecretName
2857
##
2858
pullSecrets: []
2859
## Init container' resource requests and limits
2860
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2861
## We usually recommend not to specify default resources and to leave this as a conscious
2862
## choice for the user. This also increases chances charts run on environments with little
2863
## resources, such as Minikube. If you do want to specify resources, uncomment the following
2864
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
2865
## @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).
2866
##
2867
resourcesPreset: "nano"
2868
## @param sysctlImage.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
2869
## Example:
2870
## resources:
2871
## requests:
2872
## cpu: 2
2873
## memory: 512Mi
2874
## limits:
2875
## cpu: 3
2876
## memory: 1024Mi
2877
##
2878
resources: {}
2879
## @section OpenSearch Dashboards Parameters
2880
dashboards:
2881
## @param dashboards.enabled Enables OpenSearch Dashboards deployment
2882
##
2883
enabled: false
2884
## Iamguarded OpenSearch Dashboards image
2885
## @param dashboards.image.registry [default: REGISTRY_NAME] OpenSearch Dashboards image registry
2886
## @param dashboards.image.repository [default: REPOSITORY_NAME/opensearch-dashboards] OpenSearch Dashboards image repository
2887
## @skip dashboards.image.tag OpenSearch Dashboards image tag (immutable tags are recommended)
2888
## @param dashboards.image.digest OpenSearch Dashboards image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
2889
## @param dashboards.image.pullPolicy OpenSearch Dashboards image pull policy
2890
## @param dashboards.image.pullSecrets OpenSearch Dashboards image pull secrets
2891
## @param dashboards.image.debug Enable OpenSearch Dashboards image debug mode
2892
##
2893
image:
2894
registry: cgr.dev
2895
repository: chainguard-private/opensearch-dashboards-iamguarded
2896
tag: 3.10.0
2897
digest: ""
2898
## Specify a imagePullPolicy
2899
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
2900
##
2901
pullPolicy: IfNotPresent
2902
## Optionally specify an array of imagePullSecrets.
2903
## Secrets must be manually created in the namespace.
2904
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
2905
## e.g:
2906
## pullSecrets:
2907
## - myRegistryKeySecretName
2908
##
2909
pullSecrets: []
2910
## Enable debug mode
2911
##
2912
debug: false
2913
## OpenSearch Dashboards service parameters
2914
##
2915
service:
2916
## @param dashboards.service.type OpenSearch Dashboards service type
2917
##
2918
type: ClusterIP
2919
## @param dashboards.service.ports.http OpenSearch Dashboards service web UI port
2920
##
2921
ports:
2922
http: 5601
2923
## Node ports to expose
2924
## @param dashboards.service.nodePorts.http Node port for web UI
2925
## NOTE: choose port between <30000-32767>
2926
##
2927
nodePorts:
2928
http: ""
2929
## @param dashboards.service.clusterIP OpenSearch Dashboards service Cluster IP
2930
## e.g.:
2931
## clusterIP: None
2932
##
2933
clusterIP: ""
2934
## @param dashboards.service.loadBalancerIP OpenSearch Dashboards service Load Balancer IP
2935
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2936
##
2937
loadBalancerIP: ""
2938
## @param dashboards.service.loadBalancerSourceRanges OpenSearch Dashboards service Load Balancer sources
2939
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2940
## e.g:
2941
## loadBalancerSourceRanges:
2942
## - 10.10.10.0/24
2943
##
2944
loadBalancerSourceRanges: []
2945
## @param dashboards.service.externalTrafficPolicy OpenSearch Dashboards service external traffic policy
2946
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2947
##
2948
externalTrafficPolicy: Cluster
2949
## @param dashboards.service.annotations Additional custom annotations for OpenSearch Dashboards service
2950
##
2951
annotations: {}
2952
## @param dashboards.service.extraPorts Extra ports to expose in OpenSearch Dashboards service (normally used with the `sidecars` value)
2953
##
2954
extraPorts: []
2955
## @param dashboards.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
2956
## If "ClientIP", consecutive client requests will be directed to the same Pod
2957
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
2958
##
2959
sessionAffinity: None
2960
## @param dashboards.service.sessionAffinityConfig Additional settings for the sessionAffinity
2961
## sessionAffinityConfig:
2962
## clientIP:
2963
## timeoutSeconds: 300
2964
##
2965
sessionAffinityConfig: {}
2966
## @param dashboards.service.nameOverride String to fully override opensearch.dashboards.servicename
2967
##
2968
nameOverride: ""
2969
## OpenSearch Dashboards ingress parameters
2970
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
2971
##
2972
ingress:
2973
## @param dashboards.ingress.enabled Enable ingress record generation for OpenSearch Dashboards
2974
##
2975
enabled: false
2976
## @param dashboards.ingress.pathType Ingress path type
2977
##
2978
pathType: ImplementationSpecific
2979
## @param dashboards.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2980
##
2981
apiVersion: ""
2982
## @param dashboards.ingress.hostname Default host for the ingress record
2983
##
2984
hostname: opensearch-dashboards.local
2985
## @param dashboards.ingress.path Default path for the ingress record
2986
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
2987
##
2988
path: /
2989
## @param dashboards.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2990
## Use this parameter to set the required annotations for cert-manager, see
2991
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2992
## e.g:
2993
## annotations:
2994
## kubernetes.io/ingress.class: nginx
2995
## cert-manager.io/cluster-issuer: cluster-issuer-name
2996
##
2997
annotations: {}
2998
## @param dashboards.ingress.tls Enable TLS configuration for the host defined at `dashboards.ingress.hostname` parameter
2999
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
3000
## You can:
3001
## - Use the `ingress.secrets` parameter to create this TLS secret
3002
## - Rely on cert-manager to create it by setting the corresponding annotations
3003
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
3004
##
3005
tls: false
3006
## @param dashboards.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
3007
##
3008
selfSigned: false
3009
## @param dashboards.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
3010
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
3011
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
3012
##
3013
ingressClassName: ""
3014
## @param dashboards.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
3015
## e.g:
3016
## extraHosts:
3017
## - name: opensearch-dashboards.local
3018
## path: /
3019
##
3020
extraHosts: []
3021
## @param dashboards.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
3022
## e.g:
3023
## extraPaths:
3024
## - path: /*
3025
## backend:
3026
## serviceName: ssl-redirect
3027
## servicePort: use-annotation
3028
##
3029
extraPaths: []
3030
## @param dashboards.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
3031
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
3032
## e.g:
3033
## extraTls:
3034
## - hosts:
3035
## - opensearch-dashboards.local
3036
## secretName: opensearch-dashboards.local-tls
3037
##
3038
extraTls: []
3039
## @param dashboards.ingress.secrets Custom TLS certificates as secrets
3040
## NOTE: 'key' and 'certificate' are expected in PEM format
3041
## NOTE: 'name' should line up with a 'secretName' set further up
3042
## 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
3043
## If it is not set, and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
3044
## It is also possible to create and manage the certificates outside of this helm chart
3045
## Please see README.md for more information
3046
## e.g:
3047
## secrets:
3048
## - name: opensearch-dashboards.local-tls
3049
## key: |-
3050
## -----BEGIN RSA PRIVATE KEY-----
3051
## ...
3052
## -----END RSA PRIVATE KEY-----
3053
## certificate: |-
3054
## -----BEGIN CERTIFICATE-----
3055
## ...
3056
## -----END CERTIFICATE-----
3057
##
3058
secrets: []
3059
## @param dashboards.ingress.extraRules Additional rules to be covered with this ingress record
3060
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
3061
## e.g:
3062
## extraRules:
3063
## - host: example.local
3064
## http:
3065
## path: /
3066
## backend:
3067
## service:
3068
## name: example-svc
3069
## port:
3070
## name: http
3071
##
3072
extraRules: []
3073
## @param dashboards.containerPorts.http OpenSearch Dashboards HTTP port
3074
##
3075
containerPorts:
3076
http: 5601
3077
## @param dashboards.password Password for OpenSearch Dashboards
3078
##
3079
password: ""
3080
## @param dashboards.replicaCount Number of data-only replicas to deploy
3081
##
3082
replicaCount: 1
3083
## Pod Disruption Budget configuration
3084
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
3085
## @param dashboards.pdb.create Enable/disable a Pod Disruption Budget creation
3086
## @param dashboards.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
3087
## @param dashboards.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `dashboards.pdb.minAvailable` and `dashboards.pdb.maxUnavailable` are empty.
3088
##
3089
pdb:
3090
create: true
3091
minAvailable: ""
3092
maxUnavailable: ""
3093
## @param dashboards.nameOverride String to partially override opensearch.dashboards.fullname
3094
##
3095
nameOverride: ""
3096
## @param dashboards.fullnameOverride String to fully override opensearch.dashboards.fullname
3097
##
3098
fullnameOverride: ""
3099
## @param dashboards.servicenameOverride String to fully override opensearch.dashboards.servicename
3100
## DEPRECATED: Use dashboards.service.nameOverride instead
3101
##
3102
servicenameOverride: ""
3103
## @param dashboards.updateStrategy.type Data-only nodes statefulset strategy type
3104
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
3105
##
3106
updateStrategy:
3107
type: RollingUpdate
3108
## OpenSearch resource requests and limits
3109
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3110
## @param dashboards.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if dashboards.resources is set (dashboards.resources is recommended for production).
3111
##
3112
resourcesPreset: "small"
3113
## @param dashboards.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3114
## Example:
3115
## resources:
3116
## requests:
3117
## cpu: 2
3118
## memory: 512Mi
3119
## limits:
3120
## cpu: 3
3121
## memory: 1024Mi
3122
##
3123
resources: {}
3124
## @param dashboards.heapSize OpenSearch data node heap size.
3125
## Note: The recommended heapSize is half of the container's memory.
3126
## If omitted, it will be automatically set.
3127
## Example:
3128
## heapSize: 128m
3129
##
3130
heapSize: 1024m
3131
## Configure Pods Security Context
3132
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3133
## @param dashboards.podSecurityContext.enabled Enabled data pods' Security Context
3134
## @param dashboards.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
3135
## @param dashboards.podSecurityContext.sysctls Set kernel settings using the sysctl interface
3136
## @param dashboards.podSecurityContext.supplementalGroups Set filesystem extra groups
3137
## @param dashboards.podSecurityContext.fsGroup Set dashboards pod's Security Context fsGroup
3138
##
3139
podSecurityContext:
3140
enabled: true
3141
fsGroupChangePolicy: Always
3142
sysctls: []
3143
supplementalGroups: []
3144
fsGroup: 1001
3145
## Configure Container Security Context
3146
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3147
## @param dashboards.containerSecurityContext.enabled Enabled containers' Security Context
3148
## @param dashboards.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
3149
## @param dashboards.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
3150
## @param dashboards.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
3151
## @param dashboards.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
3152
## @param dashboards.containerSecurityContext.privileged Set container's Security Context privileged
3153
## @param dashboards.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
3154
## @param dashboards.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
3155
## @param dashboards.containerSecurityContext.capabilities.drop List of capabilities to be dropped
3156
## @param dashboards.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
3157
##
3158
containerSecurityContext:
3159
enabled: true
3160
seLinuxOptions: {}
3161
runAsUser: 1001
3162
runAsGroup: 1001
3163
runAsNonRoot: true
3164
privileged: false
3165
readOnlyRootFilesystem: true
3166
allowPrivilegeEscalation: false
3167
capabilities:
3168
drop: ["ALL"]
3169
seccompProfile:
3170
type: "RuntimeDefault"
3171
## @param dashboards.automountServiceAccountToken Mount Service Account token in pod
3172
##
3173
automountServiceAccountToken: false
3174
## @param dashboards.hostAliases data pods host aliases
3175
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
3176
##
3177
hostAliases: []
3178
## @param dashboards.podLabels Extra labels for data pods
3179
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3180
##
3181
podLabels: {}
3182
## @param dashboards.podAnnotations Annotations for data pods
3183
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3184
##
3185
podAnnotations: {}
3186
## @param dashboards.podAffinityPreset Pod affinity preset. Ignored if `dashboards.affinity` is set. Allowed values: `soft` or `hard`
3187
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3188
##
3189
podAffinityPreset: ""
3190
## @param dashboards.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `dashboards.affinity` is set. Allowed values: `soft` or `hard`
3191
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3192
##
3193
podAntiAffinityPreset: ""
3194
## Node dashboards.affinity preset
3195
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3196
##
3197
nodeAffinityPreset:
3198
## @param dashboards.nodeAffinityPreset.type Node affinity preset type. Ignored if `dashboards.affinity` is set. Allowed values: `soft` or `hard`
3199
##
3200
type: ""
3201
## @param dashboards.nodeAffinityPreset.key Node label key to match. Ignored if `dashboards.affinity` is set
3202
##
3203
key: ""
3204
## @param dashboards.nodeAffinityPreset.values Node label values to match. Ignored if `dashboards.affinity` is set
3205
## E.g.
3206
## values:
3207
## - e2e-az1
3208
## - e2e-az2
3209
##
3210
values: []
3211
## @param dashboards.affinity Affinity for data pods assignment
3212
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
3213
## NOTE: `dashboards.podAffinityPreset`, `dashboards.podAntiAffinityPreset`, and `dashboards.nodeAffinityPreset` will be ignored when it's set
3214
##
3215
affinity: {}
3216
## @param dashboards.nodeSelector Node labels for data pods assignment
3217
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3218
##
3219
nodeSelector: {}
3220
## @param dashboards.tolerations Tolerations for data pods assignment
3221
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3222
##
3223
tolerations: []
3224
## @param dashboards.priorityClassName data pods' priorityClassName
3225
##
3226
priorityClassName: ""
3227
## @param dashboards.schedulerName Name of the k8s scheduler (other than default) for data pods
3228
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
3229
##
3230
schedulerName: ""
3231
## @param dashboards.terminationGracePeriodSeconds In seconds, time the given to the OpenSearch data pod needs to terminate gracefully
3232
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
3233
##
3234
terminationGracePeriodSeconds: ""
3235
## @param dashboards.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
3236
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
3237
##
3238
topologySpreadConstraints: []
3239
## Configure extra options for OpenSearch data containers' liveness, readiness and startup probes
3240
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
3241
## @param dashboards.startupProbe.enabled Enable/disable the startup probe (data nodes pod)
3242
## @param dashboards.startupProbe.initialDelaySeconds Delay before startup probe is initiated (data nodes pod)
3243
## @param dashboards.startupProbe.periodSeconds How often to perform the probe (data nodes pod)
3244
## @param dashboards.startupProbe.timeoutSeconds When the probe times out (data nodes pod)
3245
## @param dashboards.startupProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
3246
## @param dashboards.startupProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
3247
##
3248
startupProbe:
3249
enabled: false
3250
initialDelaySeconds: 120
3251
periodSeconds: 10
3252
timeoutSeconds: 5
3253
successThreshold: 1
3254
failureThreshold: 5
3255
## @param dashboards.livenessProbe.enabled Enable/disable the liveness probe (data nodes pod)
3256
## @param dashboards.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated (data nodes pod)
3257
## @param dashboards.livenessProbe.periodSeconds How often to perform the probe (data nodes pod)
3258
## @param dashboards.livenessProbe.timeoutSeconds When the probe times out (data nodes pod)
3259
## @param dashboards.livenessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
3260
## @param dashboards.livenessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
3261
##
3262
livenessProbe:
3263
enabled: true
3264
initialDelaySeconds: 180
3265
periodSeconds: 20
3266
timeoutSeconds: 5
3267
successThreshold: 1
3268
failureThreshold: 8
3269
## @param dashboards.readinessProbe.enabled Enable/disable the readiness probe (data nodes pod)
3270
## @param dashboards.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated (data nodes pod)
3271
## @param dashboards.readinessProbe.periodSeconds How often to perform the probe (data nodes pod)
3272
## @param dashboards.readinessProbe.timeoutSeconds When the probe times out (data nodes pod)
3273
## @param dashboards.readinessProbe.successThreshold Minimum consecutive successes for the probe to be considered successful after having failed (data nodes pod)
3274
## @param dashboards.readinessProbe.failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded
3275
##
3276
readinessProbe:
3277
enabled: true
3278
initialDelaySeconds: 120
3279
periodSeconds: 10
3280
timeoutSeconds: 5
3281
successThreshold: 1
3282
failureThreshold: 5
3283
## @param dashboards.customStartupProbe Override default startup probe
3284
##
3285
customStartupProbe: {}
3286
## @param dashboards.customLivenessProbe Override default liveness probe
3287
##
3288
customLivenessProbe: {}
3289
## @param dashboards.customReadinessProbe Override default readiness probe
3290
##
3291
customReadinessProbe: {}
3292
## @param dashboards.command Override default container command (useful when using custom images)
3293
##
3294
command: []
3295
## @param dashboards.args Override default container args (useful when using custom images)
3296
##
3297
args: []
3298
## @param dashboards.lifecycleHooks for the data container(s) to automate configuration before or after startup
3299
##
3300
lifecycleHooks: {}
3301
## @param dashboards.extraEnvVars Array with extra environment variables to add to data nodes
3302
## e.g:
3303
## extraEnvVars:
3304
## - name: FOO
3305
## value: "bar"
3306
##
3307
extraEnvVars: []
3308
## @param dashboards.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for data nodes
3309
##
3310
extraEnvVarsCM: ""
3311
## @param dashboards.extraEnvVarsSecret Name of existing Secret containing extra env vars for data nodes
3312
##
3313
extraEnvVarsSecret: ""
3314
## @param dashboards.extraVolumes Optionally specify extra list of additional volumes for the data pod(s)
3315
##
3316
extraVolumes: []
3317
## @param dashboards.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the data container(s)
3318
##
3319
extraVolumeMounts: []
3320
## @param dashboards.sidecars Add additional sidecar containers to the data pod(s)
3321
## e.g:
3322
## sidecars:
3323
## - name: your-image-name
3324
## image: your-image
3325
## imagePullPolicy: Always
3326
## ports:
3327
## - name: portname
3328
## containerPort: 1234
3329
##
3330
sidecars: []
3331
## @param dashboards.initContainers Add additional init containers to the data pod(s)
3332
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
3333
## e.g:
3334
## initContainers:
3335
## - name: your-image-name
3336
## image: your-image
3337
## imagePullPolicy: Always
3338
## command: ['sh', '-c', 'echo "hello world"']
3339
##
3340
initContainers: []
3341
## Pods Service Account
3342
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
3343
## @param dashboards.serviceAccount.create Specifies whether a ServiceAccount should be created
3344
## @param dashboards.serviceAccount.name Name of the service account to use. If not set and create is true, a name is generated using the fullname template.
3345
## @param dashboards.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
3346
## @param dashboards.serviceAccount.annotations Annotations for service account. Evaluated as a template. Only used if `create` is `true`.
3347
##
3348
serviceAccount:
3349
create: false
3350
name: ""
3351
automountServiceAccountToken: false
3352
annotations: {}
3353
## Network Policy configuration
3354
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3355
##
3356
networkPolicy:
3357
## @param dashboards.networkPolicy.enabled Enable creation of NetworkPolicy resources
3358
##
3359
enabled: true
3360
## @param dashboards.networkPolicy.allowExternal The Policy model to apply
3361
## When set to false, only pods with the correct client label will have network access to the ports OpenSearch is
3362
## listening on. When true, OpenSearch will accept connections from any source (with the correct destination port).
3363
##
3364
allowExternal: true
3365
## @param dashboards.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
3366
##
3367
allowExternalEgress: true
3368
## @param dashboards.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
3369
## e.g:
3370
## extraIngress:
3371
## - ports:
3372
## - port: 1234
3373
## from:
3374
## - podSelector:
3375
## - matchLabels:
3376
## - role: frontend
3377
## - podSelector:
3378
## - matchExpressions:
3379
## - key: role
3380
## operator: In
3381
## values:
3382
## - frontend
3383
##
3384
extraIngress: []
3385
## @param dashboards.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
3386
## e.g:
3387
## extraEgress:
3388
## - ports:
3389
## - port: 1234
3390
## to:
3391
## - podSelector:
3392
## - matchLabels:
3393
## - role: frontend
3394
## - podSelector:
3395
## - matchExpressions:
3396
## - key: role
3397
## operator: In
3398
## values:
3399
## - frontend
3400
##
3401
extraEgress: []
3402
## @param dashboards.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
3403
## @param dashboards.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
3404
##
3405
ingressNSMatchLabels: {}
3406
ingressNSPodMatchLabels: {}
3407
autoscaling:
3408
vpa:
3409
## @param dashboards.autoscaling.vpa.enabled Enable VPA
3410
##
3411
enabled: false
3412
## @param dashboards.autoscaling.vpa.annotations Annotations for VPA resource
3413
##
3414
annotations: {}
3415
## @param dashboards.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
3416
##
3417
controlledResources: []
3418
## @param dashboards.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
3419
## cpu: 200m
3420
## memory: 100Mi
3421
maxAllowed: {}
3422
## @param dashboards.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
3423
## cpu: 200m
3424
## memory: 100Mi
3425
minAllowed: {}
3426
updatePolicy:
3427
## @param dashboards.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
3428
## Possible values are "Off", "Initial", "Recreate", and "Auto".
3429
##
3430
updateMode: Auto
3431
hpa:
3432
## @param dashboards.autoscaling.hpa.enabled Enable HPA for APISIX Data Plane
3433
##
3434
enabled: false
3435
## @param dashboards.autoscaling.hpa.minReplicas Minimum number of APISIX Data Plane replicas
3436
##
3437
minReplicas: 3
3438
## @param dashboards.autoscaling.hpa.maxReplicas Maximum number of APISIX Data Plane replicas
3439
##
3440
maxReplicas: 11
3441
## @param dashboards.autoscaling.hpa.targetCPU Target CPU utilization percentage
3442
##
3443
targetCPU: ""
3444
## @param dashboards.autoscaling.hpa.targetMemory Target Memory utilization percentage
3445
##
3446
targetMemory: ""
3447
## TLS configuration
3448
##
3449
tls:
3450
## @param dashboards.tls.enabled Enable TLS for OpenSearch Dashboards webserver
3451
##
3452
enabled: false
3453
## @param dashboards.tls.existingSecret Existing secret containing the certificates for OpenSearch Dashboards webserver
3454
##
3455
existingSecret: ""
3456
## @param dashboards.tls.autoGenerated Create self-signed TLS certificates.
3457
## NOTE: If autoGenerated certs are enabled and a new node type is enabled using helm upgrade, make sure you remove previously existing TLS secrets.
3458
## Otherwise, the new node certs won't match the existing certs.
3459
##
3460
autoGenerated: true
3461
## Enable persistence using Persistent Volume Claims
3462
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
3463
##
3464
persistence:
3465
## @param dashboards.persistence.enabled Enable persistence using Persistent Volume Claims
3466
##
3467
enabled: false
3468
## @param dashboards.persistence.mountPath Path to mount the volume at.
3469
##
3470
mountPath: /iamguarded/opensearch-dashboards
3471
## @param dashboards.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
3472
##
3473
subPath: ""
3474
## @param dashboards.persistence.storageClass Storage class of backing PVC
3475
## If defined, storageClassName: <storageClass>
3476
## If set to "-", storageClassName: "", which disables dynamic provisioning
3477
## If undefined (the default) or set to null, no storageClassName spec is
3478
## set, choosing the default provisioner. (gp2 on AWS, standard on
3479
## GKE, AWS & OpenStack)
3480
##
3481
storageClass: ""
3482
## @param dashboards.persistence.annotations Persistent Volume Claim annotations
3483
##
3484
annotations: {}
3485
## @param dashboards.persistence.accessModes Persistent Volume Access Modes
3486
##
3487
accessModes:
3488
- ReadWriteOnce
3489
## @param dashboards.persistence.size Size of data volume
3490
##
3491
size: 8Gi
3492
## @param dashboards.persistence.existingClaim The name of an existing PVC to use for persistence
3493
##
3494
existingClaim: ""
3495
## @param dashboards.persistence.selector Selector to match an existing Persistent Volume for OpenSearch data PVC
3496
## If set, the PVC can't have a PV dynamically provisioned for it
3497
## E.g.
3498
## selector:
3499
## matchLabels:
3500
## app: my-app
3501
##
3502
selector: {}
3503
## @param dashboards.persistence.dataSource Custom PVC data source
3504
##
3505
dataSource: {}
3506
## @section OpenSearch Snapshots Parameters
3507
snapshots:
3508
## @param snapshots.enabled Enable automatic setup of repositories and snapshot policies
3509
##
3510
enabled: false
3511
## @param snapshots.command Override default container command (useful when using custom images)
3512
##
3513
command: []
3514
## Configure Container Security Context
3515
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3516
## @param snapshots.containerSecurityContext.enabled Enabled containers' Security Context
3517
## @param snapshots.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
3518
## @param snapshots.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
3519
## @param snapshots.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
3520
## @param snapshots.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
3521
## @param snapshots.containerSecurityContext.privileged Set container's Security Context privileged
3522
## @param snapshots.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
3523
## @param snapshots.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
3524
## @param snapshots.containerSecurityContext.capabilities.drop List of capabilities to be dropped
3525
## @param snapshots.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
3526
##
3527
containerSecurityContext:
3528
enabled: true
3529
seLinuxOptions: null
3530
runAsUser: 1001
3531
runAsGroup: 1001
3532
runAsNonRoot: true
3533
privileged: false
3534
readOnlyRootFilesystem: true
3535
allowPrivilegeEscalation: false
3536
capabilities:
3537
drop: ["ALL"]
3538
seccompProfile:
3539
type: "RuntimeDefault"
3540
## @param snapshots.fullnameOverride String to fully override opensearch.snapshots.fullname
3541
##
3542
fullnameOverride: ""
3543
## Iamguarded OpenSearch Snapshots image
3544
## @param snapshots.image.registry [default: REGISTRY_NAME] OpenSearch Snapshots image registry
3545
## @param snapshots.image.repository [default: REPOSITORY_NAME/os-shell] OpenSearch Snapshots image repository
3546
## @skip snapshots.image.tag OpenSearch Snapshots image tag (immutable tags are recommended)
3547
## @param snapshots.image.digest OpenSearch Snapshots image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
3548
## @param snapshots.image.pullPolicy OpenSearch Snapshots image pull policy
3549
## @param snapshots.image.pullSecrets OpenSearch Snapshots image pull secrets
3550
## @param snapshots.image.debug Enable OpenSearch Snapshots image debug mode
3551
##
3552
image:
3553
registry: cgr.dev
3554
repository: chainguard-private/os-shell-iamguarded
3555
tag: 1.0.0
3556
digest: ""
3557
## Specify a imagePullPolicy
3558
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
3559
## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
3560
##
3561
pullPolicy: IfNotPresent
3562
## Optionally specify an array of imagePullSecrets.
3563
## Secrets must be manually created in the namespace.
3564
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
3565
## e.g:
3566
## pullSecrets:
3567
## - myRegistryKeySecretName
3568
##
3569
pullSecrets: []
3570
## Enable debug mode
3571
##
3572
debug: false
3573
## @param snapshots.nameOverride String to partially override common.names.fullname
3574
##
3575
nameOverride: ""
3576
## Enable persistence using Persistent Volume Claims
3577
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
3578
##
3579
persistence:
3580
## @param snapshots.persistence.enabled Enable persistence using Persistent Volume Claims
3581
##
3582
enabled: false
3583
## @param snapshots.persistence.accessModes Persistent Volume Access Modes
3584
##
3585
accessModes:
3586
- ReadWriteMany
3587
## @param snapshots.persistence.annotations Persistent Volume Claim annotations
3588
##
3589
annotations: {}
3590
## @param snapshots.persistence.dataSource Custom PVC data source
3591
##
3592
dataSource: {}
3593
## @param snapshots.persistence.existingClaim The name of an existing PVC to use for persistence
3594
##
3595
existingClaim: ""
3596
## @param snapshots.persistence.labels Extra labels for the Persistent Volume Claim
3597
##
3598
labels: {}
3599
## @param snapshots.persistence.selector Selector to match an existing Persistent Volume for OpenSearch data PVC
3600
## If set, the PVC can't have a PV dynamically provisioned for it
3601
## E.g.
3602
## selector:
3603
## matchLabels:
3604
## app: my-app
3605
##
3606
selector: {}
3607
## @param snapshots.persistence.size Size of data volume
3608
##
3609
size: 8Gi
3610
## @param snapshots.persistence.storageClass Storage class of backing PVC
3611
## If defined, storageClassName: <storageClass>
3612
## If set to "-", storageClassName: "", which disables dynamic provisioning
3613
## If undefined (the default) or set to null, no storageClassName spec is
3614
## set, choosing the default provisioner. (gp2 on AWS, standard on
3615
## GKE, AWS & OpenStack)
3616
##
3617
storageClass: ""
3618
## @param snapshots.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
3619
##
3620
subPath: ""
3621
## Configure Pods Security Context
3622
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3623
## @param snapshots.podSecurityContext.enabled Enabled data pods' Security Context
3624
## @param snapshots.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
3625
## @param snapshots.podSecurityContext.sysctls Set kernel settings using the sysctl interface
3626
## @param snapshots.podSecurityContext.supplementalGroups Set filesystem extra groups
3627
## @param snapshots.podSecurityContext.fsGroup Set snapshots pod's Security Context fsGroup
3628
##
3629
podSecurityContext:
3630
enabled: true
3631
fsGroupChangePolicy: Always
3632
sysctls: []
3633
supplementalGroups: []
3634
fsGroup: 1001
3635
## @param snapshots.policies [default: SNAPSHOT_POLICY_API_BODY] Each object represents a snapshot policy in YAML form, which will be converted to JSON and then passed as the HTTP body data to the OpenSearch REST API.
3636
## NOTE: The field `snapshot_config.repository` in each policy must match a repo name in `snapshots.repositories`.
3637
##
3638
policies:
3639
default:
3640
creation:
3641
schedule:
3642
cron:
3643
expression: "0 20 * * *"
3644
timezone: UTC
3645
deletion:
3646
condition:
3647
max_age: 7d
3648
min_count: 1
3649
schedule:
3650
cron:
3651
expression: 0 20 * * *
3652
timezone: UTC
3653
description: Default snapshot policy
3654
enabled: true
3655
snapshot_config:
3656
repository: default
3657
## @param snapshots.repositories [default: SNAPSHOT_REPO_API_BODY] Each object represents a snapshot repository in YAML form, which will be converted to JSON and then passed as the HTTP body data to the OpenSearch REST API.
3658
## NOTE: The field `settings.location` in each repo must match the snapshot repo path configured in `snapshotRepoPath`, if its `type` is `fs`.
3659
##
3660
repositories:
3661
default:
3662
settings:
3663
location: /snapshots
3664
type: fs
3665
## OpenSearch resource requests and limits
3666
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3667
## @param snapshots.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if snapshots.resources is set (snapshots.resources is recommended for production).
3668
##
3669
resourcesPreset: "nano"
3670
## @param snapshots.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3671
## Example:
3672
## resources:
3673
## requests:
3674
## cpu: 100m
3675
## memory: 10Mi
3676
## limits:
3677
## cpu: 200m
3678
## memory: 20Mi
3679
##
3680
resources: {}
3681

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

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