DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
valkey-cluster logoHELM

valkey-cluster

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
16
## @param global.imageRegistry Global Docker image registry
17
## @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.
18
## @param global.imagePullSecrets Global Docker registry secret names as an array
19
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
20
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
21
## @param global.valkey.password Valkey password (overrides `password`)
22
##
23
global:
24
imageRegistry: ""
25
useImageTags: false
26
## E.g.
27
## imagePullSecrets:
28
## - myRegistryKeySecretName
29
##
30
imagePullSecrets: []
31
defaultStorageClass: ""
32
storageClass: ""
33
## Security parameters
34
##
35
security:
36
## @param global.security.allowInsecureImages Allows skipping image verification
37
allowInsecureImages: false
38
valkey:
39
password: ""
40
## Compatibility adaptations for Kubernetes platforms
41
##
42
compatibility:
43
## Compatibility adaptations for Openshift
44
##
45
openshift:
46
## @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)
47
##
48
adaptSecurityContext: auto
49
org: ""
50
## @section Valkey Cluster Common parameters
51
##
52
53
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
54
##
55
nameOverride: ""
56
## @param fullnameOverride String to fully override common.names.fullname template
57
##
58
fullnameOverride: ""
59
## @param clusterDomain Kubernetes Cluster Domain
60
##
61
clusterDomain: cluster.local
62
## @param commonAnnotations Annotations to add to all deployed objects
63
##
64
commonAnnotations: {}
65
## @param commonLabels Labels to add to all deployed objects
66
##
67
commonLabels: {}
68
## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template)
69
##
70
extraDeploy: []
71
## Enable diagnostic mode in the deployment
72
##
73
diagnosticMode:
74
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
75
##
76
enabled: false
77
## @param diagnosticMode.command Command to override all containers in the deployment
78
##
79
command:
80
- sleep
81
## @param diagnosticMode.args Args to override all containers in the deployment
82
##
83
args:
84
- infinity
85
## Iamguarded Valkey image version
86
## @param image.registry [default: REGISTRY_NAME] Valkey cluster image registry
87
## @param image.repository [default: REPOSITORY_NAME/valkey-cluster] Valkey cluster image repository
88
## @skip image.tag Valkey cluster image tag (immutable tags are recommended)
89
## @param image.digest Valkey cluster image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
90
## @param image.pullPolicy Valkey cluster image pull policy
91
## @param image.pullSecrets Specify docker-registry secret names as an array
92
## @param image.debug Enable image debug mode
93
##
94
image:
95
registry: cgr.dev
96
repository: chainguard-private/valkey-cluster-iamguarded
97
tag: 9.1.4
98
digest: sha256:42c3b18c14ba6a3eb373cebca4d8b978fe4511ba701321ea24b964e7c11244da
99
## Specify a imagePullPolicy
100
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
101
##
102
pullPolicy: IfNotPresent
103
## Optionally specify an array of imagePullSecrets.
104
## Secrets must be manually created in the namespace.
105
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
106
## e.g:
107
## pullSecrets:
108
## - myRegistryKeySecretName
109
##
110
pullSecrets: []
111
## Enable debug mode
112
##
113
debug: false
114
## Network Policy configuration
115
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
116
##
117
networkPolicy:
118
## @param networkPolicy.enabled Enable creation of NetworkPolicy resources
119
##
120
enabled: true
121
## @param networkPolicy.allowExternal The Policy model to apply
122
## When set to false, only pods with the correct client label will have network access to the ports Valkey Cluster is
123
## listening on. When true, Valkey Cluster will accept connections from any source (with the correct destination port).
124
##
125
allowExternal: true
126
## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
127
##
128
allowExternalEgress: true
129
## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
130
## e.g:
131
## extraIngress:
132
## - ports:
133
## - port: 1234
134
## from:
135
## - podSelector:
136
## - matchLabels:
137
## - role: frontend
138
## - podSelector:
139
## - matchExpressions:
140
## - key: role
141
## operator: In
142
## values:
143
## - frontend
144
##
145
extraIngress: []
146
## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
147
## e.g:
148
## extraEgress:
149
## - ports:
150
## - port: 1234
151
## to:
152
## - podSelector:
153
## - matchLabels:
154
## - role: frontend
155
## - podSelector:
156
## - matchExpressions:
157
## - key: role
158
## operator: In
159
## values:
160
## - frontend
161
##
162
extraEgress: []
163
## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
164
## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
165
##
166
ingressNSMatchLabels: {}
167
ingressNSPodMatchLabels: {}
168
serviceAccount:
169
## @param serviceAccount.create Specifies whether a ServiceAccount should be created
170
##
171
create: true
172
## @param serviceAccount.name The name of the ServiceAccount to create
173
## If not set and create is true, a name is generated using the fullname template
174
##
175
name: ""
176
## @param serviceAccount.annotations Annotations for Cassandra Service Account
177
##
178
annotations: {}
179
## @param serviceAccount.automountServiceAccountToken Automount API credentials for a service account.
180
##
181
automountServiceAccountToken: false
182
rbac:
183
## @param rbac.create Specifies whether RBAC resources should be created
184
##
185
create: false
186
role:
187
## @param rbac.role.rules Rules to create. It follows the role specification
188
## rules:
189
## - apiGroups:
190
## - extensions
191
## resources:
192
## - podsecuritypolicies
193
## verbs:
194
## - use
195
## resourceNames:
196
## - gce.unprivileged
197
##
198
rules: []
199
## Valkey pod Security Context
200
## @param podSecurityContext.enabled Enable Valkey pod Security Context
201
## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
202
## @param podSecurityContext.supplementalGroups Set filesystem extra groups
203
## @param podSecurityContext.fsGroup Group ID for the pods
204
## @param podSecurityContext.sysctls Set namespaced sysctls for the pods
205
##
206
podSecurityContext:
207
enabled: true
208
fsGroupChangePolicy: Always
209
supplementalGroups: []
210
fsGroup: 1001
211
## Uncomment the setting below to increase the net.core.somaxconn value
212
## e.g:
213
## sysctls:
214
## - name: net.core.somaxconn
215
## value: "10000"
216
##
217
sysctls: []
218
## @param podDisruptionBudget DEPRECATED please use pdb instead
219
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions
220
##
221
podDisruptionBudget: {}
222
## Pod Disruption Budget configuration
223
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
224
##
225
pdb:
226
## @param pdb.create Created a PodDisruptionBudget
227
##
228
create: true
229
## @param pdb.minAvailable Min number of pods that must still be available after the eviction.
230
## You can specify an integer or a percentage by setting the value to a string representation of a percentage (eg. "50%"). It will be disabled if set to 0
231
##
232
minAvailable: ""
233
## @param pdb.maxUnavailable Max number of pods that can be unavailable after the eviction.
234
## You can specify an integer or a percentage by setting the value to a string representation of a percentage (eg. "50%"). It will be disabled if set to 0
235
##
236
maxUnavailable: ""
237
## Containers Security Context
238
## @param containerSecurityContext.enabled Enabled containers' Security Context
239
## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
240
## @param containerSecurityContext.runAsUser Set containers' Security Context runAsUser
241
## @param containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
242
## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
243
## @param containerSecurityContext.privileged Set container's Security Context privileged
244
## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
245
## @param containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
246
## @param containerSecurityContext.capabilities.drop List of capabilities to be dropped
247
## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
248
##
249
containerSecurityContext:
250
enabled: true
251
seLinuxOptions: {}
252
runAsUser: 1001
253
runAsGroup: 1001
254
runAsNonRoot: true
255
privileged: false
256
readOnlyRootFilesystem: true
257
allowPrivilegeEscalation: false
258
capabilities:
259
drop: ["ALL"]
260
seccompProfile:
261
type: "RuntimeDefault"
262
## @param usePassword Use password authentication
263
##
264
usePassword: true
265
## @param password Valkey password (ignored if existingSecret set)
266
## Defaults to a random 10-character alphanumeric string if not set and usePassword is true
267
##
268
password: ""
269
## @param existingSecret Name of existing secret object (for password authentication)
270
##
271
existingSecret: ""
272
## @param existingSecretPasswordKey Name of key containing password to be retrieved from the existing secret
273
##
274
existingSecretPasswordKey: ""
275
## @param usePasswordFiles Mount passwords as files instead of environment variables
276
##
277
usePasswordFiles: true
278
##
279
## TLS configuration
280
##
281
tls:
282
## @param tls.enabled Enable TLS support for replication traffic
283
##
284
enabled: false
285
## @param tls.authClients Require clients to authenticate or not
286
##
287
authClients: true
288
## @param tls.autoGenerated Generate automatically self-signed TLS certificates
289
##
290
autoGenerated: false
291
## @param tls.existingSecret The name of the existing secret that contains the TLS certificates
292
##
293
existingSecret: ""
294
## @param tls.certificatesSecret DEPRECATED. Use tls.existingSecret instead
295
##
296
certificatesSecret: ""
297
## @param tls.certFilename Certificate filename
298
##
299
certFilename: ""
300
## @param tls.certKeyFilename Certificate key filename
301
##
302
certKeyFilename: ""
303
## @param tls.certCAFilename CA Certificate filename
304
##
305
certCAFilename: ""
306
## @param tls.dhParamsFilename File containing DH params (in order to support DH based ciphers)
307
##
308
dhParamsFilename: ""
309
## Valkey Service properties for standalone mode.
310
##
311
service:
312
## @param service.ports.valkey Kubernetes Valkey service port
313
##
314
ports:
315
valkey: 6379
316
## Node ports to expose
317
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
318
## @param service.nodePorts.valkey Node port for Valkey
319
##
320
nodePorts:
321
valkey: ""
322
## @param service.extraPorts Extra ports to expose in the service (normally used with the `sidecar` value)
323
##
324
extraPorts: []
325
## @param service.annotations Provide any additional annotations which may be required.
326
## This can be used to set the LoadBalancer service type to internal only.
327
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
328
##
329
annotations: {}
330
## @param service.labels Additional labels for valkey service
331
##
332
labels: {}
333
## @param service.type Service type for default valkey service
334
## Setting this to LoadBalancer may require corresponding service annotations for loadbalancer creation to succeed.
335
## Currently supported types are ClusterIP (default) and LoadBalancer
336
##
337
type: ClusterIP
338
## @param service.clusterIP Service Cluster IP
339
## e.g.:
340
## clusterIP: None
341
##
342
clusterIP: ""
343
## @param service.loadBalancerIP Load balancer IP if `service.type` is `LoadBalancer`
344
## If service.type is LoadBalancer, request a specific static IP address if supported by the cloud provider, otherwise leave blank
345
##
346
loadBalancerIP: ""
347
## @param service.loadBalancerSourceRanges Service Load Balancer sources
348
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
349
## e.g:
350
## loadBalancerSourceRanges:
351
## - 10.10.10.0/24
352
##
353
loadBalancerSourceRanges: []
354
## @param service.externalTrafficPolicy Service external traffic policy
355
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
356
##
357
externalTrafficPolicy: Cluster
358
## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
359
## If "ClientIP", consecutive client requests will be directed to the same Pod
360
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
361
##
362
sessionAffinity: None
363
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
364
## sessionAffinityConfig:
365
## clientIP:
366
## timeoutSeconds: 300
367
##
368
sessionAffinityConfig: {}
369
## Headless service properties
370
##
371
headless:
372
## @param service.headless.annotations Annotations for the headless service.
373
##
374
annotations: {}
375
## Enable persistence using Persistent Volume Claims
376
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
377
##
378
persistence:
379
## @param persistence.enabled Enable persistence on Valkey
380
## If enabled, nodes are using Persistent Volume Claims
381
## If disabled, an emptyDir volume is used. This is not recommended.
382
##
383
enabled: true
384
## @param persistence.path Path to mount the volume at, to use other images Valkey images.
385
##
386
path: /iamguarded/valkey/data
387
## @param persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
388
##
389
subPath: ""
390
## @param persistence.storageClass Storage class of backing PVC
391
## If defined, storageClassName: <storageClass>
392
## If set to "-", storageClassName: "", which disables dynamic provisioning
393
## If undefined (the default) or set to null, no storageClassName spec is
394
## set, choosing the default provisioner. (gp2 on AWS, standard on
395
## GKE, AWS & OpenStack)
396
##
397
storageClass: ""
398
## @param persistence.annotations Persistent Volume Claim annotations
399
##
400
annotations: {}
401
## @param persistence.labels Persistent Volume Claim labels
402
##
403
labels: {}
404
## @param persistence.accessModes Persistent Volume Access Modes
405
##
406
accessModes:
407
- ReadWriteOnce
408
## @param persistence.size Size of data volume
409
##
410
size: 8Gi
411
## @param persistence.matchLabels Persistent Volume selectors
412
## https://kubernetes.io/docs/concepts/storage/persistent-volumes/#selector
413
##
414
matchLabels: {}
415
## @param persistence.matchExpressions matchExpressions Persistent Volume selectors
416
##
417
matchExpressions: {}
418
## persistentVolumeClaimRetentionPolicy
419
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
420
## @param persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of a StatefulSet
421
## @param persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
422
## @param persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
423
persistentVolumeClaimRetentionPolicy:
424
enabled: false
425
whenScaled: Retain
426
whenDeleted: Retain
427
## Init containers parameters:
428
## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup
429
##
430
volumePermissions:
431
## @param volumePermissions.enabled Enable init container that changes volume permissions in the registry (for cases where the default k8s `runAsUser` and `fsUser` values do not work)
432
##
433
enabled: false
434
## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
435
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image repository
436
## @skip volumePermissions.image.tag Init container volume-permissions image tag
437
## @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
438
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
439
## @param volumePermissions.image.pullSecrets Specify docker-registry secret names as an array
440
##
441
image:
442
registry: cgr.dev
443
repository: chainguard-private/os-shell-iamguarded
444
tag: 1.0.0
445
digest: sha256:7401ee05d8e0e6a6be960433db429bf05a6ca21be356b99cd87597199fb355a2
446
pullPolicy: IfNotPresent
447
## Optionally specify an array of imagePullSecrets.
448
## Secrets must be manually created in the namespace.
449
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
450
## e.g:
451
## pullSecrets:
452
## - myRegistryKeySecretName
453
##
454
pullSecrets: []
455
## Containers Security Context
456
## @param volumePermissions.containerSecurityContext.enabled Enable Containers' Security Context
457
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
458
## @param volumePermissions.containerSecurityContext.runAsUser User ID for the containers.
459
## @param volumePermissions.containerSecurityContext.privileged Run container as privileged
460
##
461
containerSecurityContext:
462
enabled: true
463
seLinuxOptions: {}
464
runAsUser: 0
465
privileged: false
466
## Container resource requests and limits
467
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
468
## @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).
469
##
470
resourcesPreset: "nano"
471
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
472
## Example:
473
## resources:
474
## requests:
475
## cpu: 2
476
## memory: 512Mi
477
## limits:
478
## cpu: 3
479
## memory: 1024Mi
480
##
481
resources: {}
482
## @section Valkey statefulset parameters
483
##
484
valkey:
485
## @param valkey.command Valkey entrypoint string. The command `valkey-server` is executed if this is not provided
486
##
487
command: []
488
## @param valkey.args Arguments for the provided command if needed
489
##
490
args: []
491
## @param valkey.updateStrategy.type Argo Workflows statefulset strategy type
492
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
493
##
494
updateStrategy:
495
## StrategyType
496
## Can be set to RollingUpdate or OnDelete
497
##
498
type: RollingUpdate
499
## @param valkey.updateStrategy.rollingUpdate.partition Partition update strategy
500
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
501
##
502
rollingUpdate:
503
partition: 0
504
## @param valkey.podManagementPolicy Statefulset Pod management policy, it needs to be Parallel to be able to complete the cluster join
505
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
506
##
507
podManagementPolicy: Parallel
508
## @param valkey.automountServiceAccountToken Mount Service Account token in pod
509
##
510
automountServiceAccountToken: false
511
## @param valkey.hostAliases Deployment pod host aliases
512
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
513
##
514
hostAliases: []
515
## @param valkey.hostNetwork Host networking requested for this pod. Use the host's network namespace.
516
## https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#podspec-v1-core
517
##
518
hostNetwork: false
519
## @param valkey.useAOFPersistence Whether to use AOF Persistence mode or not
520
## It is strongly recommended to use this type when dealing with clusters
521
## ref: https://valkey.io/topics/persistence#append-only-file
522
## ref: https://valkey.io/topics/cluster-tutorial#creating-and-using-a-valkey-cluster
523
##
524
useAOFPersistence: "yes"
525
## @param valkey.containerPorts.valkey Valkey port
526
## @param valkey.containerPorts.bus The busPort should be obtained adding 10000 to the valkeyPort. By default: 10000 + 6379 = 16379
527
##
528
containerPorts:
529
valkey: 6379
530
bus: 16379
531
## @param valkey.lifecycleHooks LifecycleHook to set additional configuration before or after startup. Evaluated as a template
532
##
533
lifecycleHooks: {}
534
## @param valkey.extraVolumes Extra volumes to add to the deployment
535
##
536
extraVolumes: []
537
## @param valkey.extraVolumeMounts Extra volume mounts to add to the container
538
##
539
extraVolumeMounts: []
540
## @param valkey.customLivenessProbe Override default liveness probe
541
##
542
customLivenessProbe: {}
543
## @param valkey.customReadinessProbe Override default readiness probe
544
##
545
customReadinessProbe: {}
546
## @param valkey.customStartupProbe Custom startupProbe that overrides the default one
547
##
548
customStartupProbe: {}
549
## @param valkey.initContainers Extra init containers to add to the deployment
550
##
551
initContainers: []
552
## @param valkey.sidecars Extra sidecar containers to add to the deployment
553
##
554
sidecars: []
555
## @param valkey.podLabels Additional labels for Valkey pod
556
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
557
##
558
podLabels: {}
559
## @param valkey.priorityClassName Valkey Primary pod priorityClassName
560
##
561
priorityClassName: ""
562
## @param valkey.defaultConfigOverride Optional default Valkey configuration for the nodes
563
## If not set, the default Valkey configuration from the chart is used
564
## ref: https://valkey.io/topics/config
565
##
566
defaultConfigOverride: ""
567
## @param valkey.configmap Additional Valkey configuration for the nodes
568
## ref: https://valkey.io/topics/config
569
##
570
configmap: ""
571
## @param valkey.extraEnvVars An array to add extra environment variables
572
## For example:
573
## - name: BEARER_AUTH
574
## value: true
575
##
576
extraEnvVars: []
577
## @param valkey.extraEnvVarsCM ConfigMap with extra environment variables
578
##
579
extraEnvVarsCM: ""
580
## @param valkey.extraEnvVarsSecret Secret with extra environment variables
581
##
582
extraEnvVarsSecret: ""
583
## @param valkey.podAnnotations Valkey additional annotations
584
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
585
##
586
podAnnotations: {}
587
## Valkey resource requests and limits
588
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
589
## @param valkey.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if valkey.resources is set (valkey.resources is recommended for production).
590
##
591
resourcesPreset: "nano"
592
## @param valkey.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
593
## Example:
594
## resources:
595
## requests:
596
## cpu: 2
597
## memory: 512Mi
598
## limits:
599
## cpu: 3
600
## memory: 1024Mi
601
##
602
resources: {}
603
## @param valkey.schedulerName Use an alternate scheduler, e.g. "stork".
604
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
605
##
606
schedulerName: ""
607
## @param valkey.shareProcessNamespace Enable shared process namespace in a pod.
608
## If set to false (default), each container will run in separate namespace, valkey will have PID=1.
609
## If set to true, the /pause will run as init process and will reap any zombie PIDs,
610
## for example, generated by a custom exec probe running longer than a probe timeoutSeconds.
611
## Enable this only if customLivenessProbe or customReadinessProbe is used and zombie PIDs are accumulating.
612
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
613
##
614
shareProcessNamespace: false
615
## Configure extra options for Valkey liveness probes
616
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
617
## @param valkey.livenessProbe.enabled Enable livenessProbe
618
## @param valkey.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
619
## @param valkey.livenessProbe.periodSeconds Period seconds for livenessProbe
620
## @param valkey.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
621
## @param valkey.livenessProbe.failureThreshold Failure threshold for livenessProbe
622
## @param valkey.livenessProbe.successThreshold Success threshold for livenessProbe
623
##
624
livenessProbe:
625
enabled: true
626
initialDelaySeconds: 5
627
periodSeconds: 5
628
timeoutSeconds: 5
629
successThreshold: 1
630
failureThreshold: 5
631
## Configure extra options for Valkey readiness probes
632
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
633
## @param valkey.readinessProbe.enabled Enable readinessProbe
634
## @param valkey.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
635
## @param valkey.readinessProbe.periodSeconds Period seconds for readinessProbe
636
## @param valkey.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
637
## @param valkey.readinessProbe.failureThreshold Failure threshold for readinessProbe
638
## @param valkey.readinessProbe.successThreshold Success threshold for readinessProbe
639
##
640
readinessProbe:
641
enabled: true
642
initialDelaySeconds: 5
643
periodSeconds: 5
644
timeoutSeconds: 1
645
successThreshold: 1
646
failureThreshold: 5
647
## @param valkey.startupProbe.enabled Enable startupProbe
648
## @param valkey.startupProbe.path Path to check for startupProbe
649
## @param valkey.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
650
## @param valkey.startupProbe.periodSeconds Period seconds for startupProbe
651
## @param valkey.startupProbe.timeoutSeconds Timeout seconds for startupProbe
652
## @param valkey.startupProbe.failureThreshold Failure threshold for startupProbe
653
## @param valkey.startupProbe.successThreshold Success threshold for startupProbe
654
##
655
startupProbe:
656
enabled: false
657
path: /
658
initialDelaySeconds: 300
659
periodSeconds: 10
660
timeoutSeconds: 5
661
failureThreshold: 6
662
successThreshold: 1
663
## @param valkey.podAffinityPreset Valkey pod affinity preset. Ignored if `valkey.affinity` is set. Allowed values: `soft` or `hard`
664
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
665
##
666
podAffinityPreset: ""
667
## @param valkey.podAntiAffinityPreset Valkey pod anti-affinity preset. Ignored if `valkey.affinity` is set. Allowed values: `soft` or `hard`
668
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
669
##
670
podAntiAffinityPreset: soft
671
## Valkey node affinity preset
672
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
673
##
674
nodeAffinityPreset:
675
## @param valkey.nodeAffinityPreset.type Valkey node affinity preset type. Ignored if `valkey.affinity` is set. Allowed values: `soft` or `hard`
676
##
677
type: ""
678
## @param valkey.nodeAffinityPreset.key Valkey node label key to match Ignored if `valkey.affinity` is set.
679
## E.g.
680
## key: "kubernetes.io/e2e-az-name"
681
##
682
key: ""
683
## @param valkey.nodeAffinityPreset.values Valkey node label values to match. Ignored if `valkey.affinity` is set.
684
## E.g.
685
## values:
686
## - e2e-az1
687
## - e2e-az2
688
##
689
values: []
690
## @param valkey.affinity Affinity settings for Valkey pod assignment
691
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
692
## Note: valkey.podAffinityPreset, valkey.podAntiAffinityPreset, and valkey.nodeAffinityPreset will be ignored when it's set
693
##
694
affinity: {}
695
## @param valkey.nodeSelector Node labels for Valkey pods assignment
696
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
697
##
698
nodeSelector: {}
699
## @param valkey.tolerations Tolerations for Valkey pods assignment
700
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
701
##
702
tolerations: []
703
## @param valkey.topologySpreadConstraints Pod topology spread constraints for Valkey pod
704
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
705
## The value is evaluated as a template
706
##
707
topologySpreadConstraints: []
708
## @section Cluster update job parameters
709
##
710
711
## Cluster update job settings
712
##
713
updateJob:
714
## @param updateJob.activeDeadlineSeconds Number of seconds the Job to create the cluster will be waiting for the Nodes to be ready.
715
##
716
activeDeadlineSeconds: 600
717
## @param updateJob.command Container command (using container default if not set)
718
##
719
command: []
720
## @param updateJob.args Container args (using container default if not set)
721
##
722
args: []
723
## @param updateJob.automountServiceAccountToken Mount Service Account token in pod
724
##
725
automountServiceAccountToken: false
726
## @param updateJob.hostAliases Deployment pod host aliases
727
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
728
##
729
hostAliases: []
730
## @param updateJob.helmHook Job Helm hook
731
## https://helm.sh/docs/topics/charts_hooks/#the-available-hooks
732
##
733
helmHook: post-upgrade
734
## @param updateJob.annotations Job annotations
735
##
736
annotations: {}
737
## @param updateJob.podAnnotations Job pod annotations
738
##
739
podAnnotations: {}
740
## @param updateJob.podLabels Pod extra labels
741
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
742
##
743
podLabels: {}
744
## @param updateJob.extraEnvVars An array to add extra environment variables
745
## For example:
746
## - name: BEARER_AUTH
747
## value: true
748
##
749
extraEnvVars: []
750
## @param updateJob.extraEnvVarsCM ConfigMap containing extra environment variables
751
##
752
extraEnvVarsCM: ""
753
## @param updateJob.extraEnvVarsSecret Secret containing extra environment variables
754
##
755
extraEnvVarsSecret: ""
756
## @param updateJob.extraVolumes Extra volumes to add to the deployment
757
##
758
extraVolumes: []
759
## @param updateJob.extraVolumeMounts Extra volume mounts to add to the container
760
##
761
extraVolumeMounts: []
762
## @param updateJob.initContainers Extra init containers to add to the deployment
763
##
764
initContainers: []
765
## @param updateJob.podAffinityPreset Update job pod affinity preset. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard`
766
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
767
##
768
podAffinityPreset: ""
769
## @param updateJob.podAntiAffinityPreset Update job pod anti-affinity preset. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard`
770
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
771
##
772
podAntiAffinityPreset: soft
773
## Update job node affinity preset
774
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
775
##
776
nodeAffinityPreset:
777
## @param updateJob.nodeAffinityPreset.type Update job node affinity preset type. Ignored if `updateJob.affinity` is set. Allowed values: `soft` or `hard`
778
##
779
type: ""
780
## @param updateJob.nodeAffinityPreset.key Update job node label key to match Ignored if `updateJob.affinity` is set.
781
## E.g.
782
## key: "kubernetes.io/e2e-az-name"
783
##
784
key: ""
785
## @param updateJob.nodeAffinityPreset.values Update job node label values to match. Ignored if `updateJob.affinity` is set.
786
## E.g.
787
## values:
788
## - e2e-az1
789
## - e2e-az2
790
##
791
values: []
792
## @param updateJob.affinity Affinity for update job pods assignment
793
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
794
## Note: updateJob.podAffinityPreset, updateJob.podAntiAffinityPreset, and updateJob.nodeAffinityPreset will be ignored when it's set
795
##
796
affinity: {}
797
## @param updateJob.nodeSelector Node labels for update job pods assignment
798
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
799
##
800
nodeSelector: {}
801
## @param updateJob.tolerations Tolerations for update job pods assignment
802
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
803
##
804
tolerations: []
805
## @param updateJob.priorityClassName Priority class name
806
##
807
priorityClassName: ""
808
## Container resource requests and limits
809
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
810
## We usually recommend not to specify default resources and to leave this as a conscious
811
## choice for the user. This also increases chances charts run on environments with little
812
## resources, such as Minikube. If you do want to specify resources, uncomment the following
813
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
814
## @param updateJob.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if updateJob.resources is set (updateJob.resources is recommended for production).
815
##
816
resourcesPreset: "nano"
817
## @param updateJob.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
818
## Example:
819
## resources:
820
## requests:
821
## cpu: 2
822
## memory: 512Mi
823
## limits:
824
## cpu: 3
825
## memory: 1024Mi
826
##
827
resources: {}
828
## @section Cluster management parameters
829
##
830
831
## Valkey Cluster settings
832
##
833
cluster:
834
## @param cluster.init Enable the initialization of the Valkey Cluster
835
##
836
init: true
837
## Number of Valkey nodes to be deployed
838
##
839
## Note:
840
## This is total number of nodes including the replicas. Meaning there will be 3 primary and 3 replica
841
## nodes (as replica count is set to 1 by default, there will be 1 replica per primary node).
842
## Hence, nodes = numberOfPrimaryNodes + numberOfPrimaryNodes * replicas
843
##
844
## @param cluster.nodes The number of primary nodes should always be >= 3, otherwise cluster creation will fail
845
##
846
nodes: 6
847
## @param cluster.replicas Number of replicas for every primary in the cluster
848
## Parameter to be passed as --cluster-replicas to the valkey-cli --cluster create
849
## 1 means that we want a replica for every primary created
850
##
851
replicas: 1
852
## Configuration to access the Valkey Cluster from outside the Kubernetes cluster
853
##
854
externalAccess:
855
## @param cluster.externalAccess.enabled Enable access to the Valkey
856
##
857
enabled: false
858
## @param cluster.externalAccess.hostMode Set cluster preferred endpoint type as hostname
859
##
860
hostMode: false
861
service:
862
## @param cluster.externalAccess.service.disableLoadBalancerIP Disable use of `Service.spec.loadBalancerIP`
863
##
864
disableLoadBalancerIP: false
865
## @param cluster.externalAccess.service.loadBalancerIPAnnotaion Name of annotation to specify fixed IP for service in. Disables `Service.spec.loadBalancerIP` if not empty
866
##
867
loadBalancerIPAnnotaion: ""
868
## @param cluster.externalAccess.service.type Type for the services used to expose every Pod
869
## At this moment only LoadBalancer is supported
870
##
871
type: LoadBalancer
872
## @param cluster.externalAccess.service.port Port for the services used to expose every Pod
873
##
874
port: 6379
875
## @param cluster.externalAccess.service.loadBalancerIP Array of load balancer IPs for each Valkey node. Length must be the same as cluster.nodes
876
##
877
loadBalancerIP: []
878
## @param cluster.externalAccess.service.loadBalancerSourceRanges Service Load Balancer sources
879
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
880
## e.g:
881
## loadBalancerSourceRanges:
882
## - 10.10.10.0/24
883
##
884
loadBalancerSourceRanges: []
885
## @param cluster.externalAccess.service.annotations Annotations to add to the services used to expose every Pod of the Valkey Cluster
886
##
887
annotations: {}
888
## This section allows to update the Valkey cluster nodes.
889
##
890
update:
891
## @param cluster.update.addNodes Boolean to specify if you want to add nodes after the upgrade
892
## Setting this to true a hook will add nodes to the Valkey cluster after the upgrade. currentNumberOfNodes and currentNumberOfReplicas is required
893
##
894
addNodes: false
895
## @param cluster.update.currentNumberOfNodes Number of currently deployed Valkey nodes
896
##
897
currentNumberOfNodes: 6
898
## @param cluster.update.currentNumberOfReplicas Number of currently deployed Valkey replicas
899
##
900
currentNumberOfReplicas: 1
901
## @param cluster.update.newExternalIPs External IPs obtained from the services for the new nodes to add to the cluster
902
##
903
newExternalIPs: []
904
## @section Metrics sidecar parameters
905
##
906
907
## Prometheus Exporter / Metrics
908
##
909
metrics:
910
## @param metrics.enabled Start a side-car prometheus exporter
911
##
912
enabled: false
913
## @param metrics.image.registry [default: REGISTRY_NAME] Valkey exporter image registry
914
## @param metrics.image.repository [default: REPOSITORY_NAME/redis-exporter] Valkey exporter image name
915
## @skip metrics.image.tag Valkey exporter image tag
916
## @param metrics.image.digest Valkey exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
917
## @param metrics.image.pullPolicy Valkey exporter image pull policy
918
## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
919
##
920
image:
921
registry: cgr.dev
922
repository: chainguard-private/prometheus-redis-exporter-iamguarded
923
tag: 1.99.0
924
digest: sha256:828ee291571b60e0f3164401043f0822bcebe5eff83f2694702c8f4903e21957
925
pullPolicy: IfNotPresent
926
## Optionally specify an array of imagePullSecrets.
927
## Secrets must be manually created in the namespace.
928
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
929
## e.g:
930
## pullSecrets:
931
## - myRegistryKeySecretName
932
##
933
pullSecrets: []
934
## @param metrics.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.resources is set (metrics.resources is recommended for production).
935
##
936
resourcesPreset: "nano"
937
## @param metrics.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
938
## Example:
939
## resources:
940
## requests:
941
## cpu: 2
942
## memory: 512Mi
943
## limits:
944
## cpu: 3
945
## memory: 1024Mi
946
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
947
##
948
resources: {}
949
## @param metrics.extraArgs Extra arguments for the binary; possible values [here](https://github.com/oliver006/redis_exporter)
950
## extraArgs:
951
## check-keys: myKey,myOtherKey
952
##
953
extraArgs: {}
954
## @param metrics.extraEnvVars Array with extra environment variables to add to Valkey exporter
955
## e.g:
956
# extraEnvVars:
957
## - name: FOO
958
## value: "bar"
959
##
960
extraEnvVars: []
961
## @param metrics.containerPorts.http Metrics HTTP container port
962
##
963
containerPorts:
964
http: 9121
965
## @param metrics.podAnnotations [object] Additional annotations for Metrics exporter pod
966
##
967
podAnnotations:
968
prometheus.io/scrape: "true"
969
prometheus.io/port: "{{ .Values.metrics.containerPorts.http }}"
970
## @param metrics.podLabels Additional labels for Metrics exporter pod
971
##
972
podLabels: {}
973
## Containers' Security Context - All fields other than `enabled` get added to the metrics container's security context
974
## @param metrics.containerSecurityContext.enabled Enabled containers' Security Context
975
## @param metrics.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
976
## @param metrics.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
977
## @param metrics.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
978
## @param metrics.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
979
## @param metrics.containerSecurityContext.privileged Set container's Security Context privileged
980
## @param metrics.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
981
## @param metrics.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
982
## @param metrics.containerSecurityContext.capabilities.drop List of capabilities to be dropped
983
## @param metrics.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
984
##
985
containerSecurityContext:
986
enabled: true
987
seLinuxOptions: {}
988
runAsUser: 1001
989
runAsGroup: 1001
990
runAsNonRoot: true
991
privileged: false
992
readOnlyRootFilesystem: true
993
allowPrivilegeEscalation: false
994
capabilities:
995
drop: ["ALL"]
996
seccompProfile:
997
type: "RuntimeDefault"
998
## Enable this if you're using https://github.com/coreos/prometheus-operator
999
##
1000
serviceMonitor:
1001
## @param metrics.serviceMonitor.enabled If `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
1002
##
1003
enabled: false
1004
## @param metrics.serviceMonitor.namespace Optional namespace which Prometheus is running in
1005
##
1006
namespace: ""
1007
## @param metrics.serviceMonitor.interval How frequently to scrape metrics (use by default, falling back to Prometheus' default)
1008
##
1009
interval: ""
1010
## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1011
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1012
## e.g:
1013
## scrapeTimeout: 10s
1014
##
1015
scrapeTimeout: ""
1016
## @param metrics.serviceMonitor.selector Prometheus instance selector labels
1017
## e.g:
1018
## selector:
1019
## prometheus: my-prometheus
1020
##
1021
selector: {}
1022
## @param metrics.serviceMonitor.labels ServiceMonitor extra labels
1023
##
1024
labels: {}
1025
## @param metrics.serviceMonitor.annotations ServiceMonitor annotations
1026
##
1027
annotations: {}
1028
## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.
1029
##
1030
jobLabel: ""
1031
## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
1032
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1033
##
1034
relabelings: []
1035
## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
1036
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
1037
##
1038
metricRelabelings: []
1039
## Custom PrometheusRule to be defined
1040
## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart
1041
## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
1042
## @param metrics.prometheusRule.enabled Set this to true to create prometheusRules for Prometheus operator
1043
## @param metrics.prometheusRule.additionalLabels Additional labels that can be used so prometheusRules will be discovered by Prometheus
1044
## @param metrics.prometheusRule.namespace namespace where prometheusRules resource should be created
1045
## @param metrics.prometheusRule.rules Create specified [rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/), check values for an example.
1046
##
1047
prometheusRule:
1048
enabled: false
1049
additionalLabels: {}
1050
namespace: ""
1051
## These are just examples rules, please adapt them to your needs.
1052
## Make sure to constraint the rules to the current postgresql service.
1053
## - alert: ValkeyDown
1054
## expr: valkey_up{service="{{ template "common.names.fullname" . }}-metrics"} == 0
1055
## for: 2m
1056
## labels:
1057
## severity: error
1058
## annotations:
1059
## summary: Valkey instance {{ "{{ $instance }}" }} down
1060
## description: Valkey instance {{ "{{ $instance }}" }} is down.
1061
## - alert: ValkeyMemoryHigh
1062
## expr: >
1063
## valkey_memory_used_bytes{service="{{ template "common.names.fullname" . }}-metrics"} * 100
1064
## /
1065
## valkey_memory_max_bytes{service="{{ template "common.names.fullname" . }}-metrics"}
1066
## > 90
1067
## for: 2m
1068
## labels:
1069
## severity: error
1070
## annotations:
1071
## summary: Valkey instance {{ "{{ $instance }}" }} is using too much memory
1072
## description: Valkey instance {{ "{{ $instance }}" }} is using {{ "{{ $value }}" }}% of its available memory.
1073
## - alert: ValkeyKeyEviction
1074
## expr: increase(valkey_evicted_keys_total{service="{{ template "common.names.fullname" . }}-metrics"}[5m]) > 0
1075
## for: 1s
1076
## labels:
1077
## severity: error
1078
## annotations:
1079
## summary: Valkey instance {{ "{{ $instance }}" }} has evicted keys
1080
## description: Valkey instance {{ "{{ $instance }}" }} has evicted {{ "{{ $value }}" }} keys in the last 5 minutes.
1081
##
1082
rules: []
1083
## @param metrics.priorityClassName Metrics exporter pod priorityClassName
1084
##
1085
priorityClassName: ""
1086
## @param metrics.service.type Kubernetes Service type (valkey metrics)
1087
## @param metrics.service.loadBalancerIP Use serviceLoadBalancerIP to request a specific static IP, otherwise leave blank
1088
## @param metrics.service.annotations Annotations for the services to monitor.
1089
## @param metrics.service.labels Additional labels for the metrics service
1090
##
1091
service:
1092
type: ClusterIP
1093
## @param metrics.service.ports.http Metrics HTTP service port
1094
##
1095
ports:
1096
http: 9121
1097
## @param metrics.service.clusterIP Service Cluster IP
1098
## e.g.:
1099
## clusterIP: None
1100
##
1101
clusterIP: ""
1102
loadBalancerIP: ""
1103
annotations: {}
1104
labels: {}
1105
## @section Sysctl Image parameters
1106
##
1107
1108
## Sysctl InitContainer
1109
## Used to perform sysctl operation to modify Kernel settings (needed sometimes to avoid warnings)
1110
##
1111
sysctlImage:
1112
## @param sysctlImage.enabled Enable an init container to modify Kernel settings
1113
##
1114
enabled: false
1115
## @param sysctlImage.command sysctlImage command to execute
1116
##
1117
command: []
1118
## @param sysctlImage.registry [default: REGISTRY_NAME] sysctlImage Init container registry
1119
## @param sysctlImage.repository [default: REPOSITORY_NAME/os-shell] sysctlImage Init container repository
1120
## @skip sysctlImage.tag sysctlImage Init container tag
1121
## @param sysctlImage.digest sysctlImage Init container digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
1122
## @param sysctlImage.pullPolicy sysctlImage Init container pull policy
1123
## @param sysctlImage.pullSecrets Specify docker-registry secret names as an array
1124
##
1125
registry: cgr.dev
1126
repository: chainguard-private/os-shell-iamguarded
1127
tag: 1.0.0
1128
digest: sha256:7401ee05d8e0e6a6be960433db429bf05a6ca21be356b99cd87597199fb355a2
1129
pullPolicy: IfNotPresent
1130
## Optionally specify an array of imagePullSecrets.
1131
## Secrets must be manually created in the namespace.
1132
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1133
## e.g:
1134
## pullSecrets:
1135
## - myRegistryKeySecretName
1136
##
1137
pullSecrets: []
1138
## @param sysctlImage.mountHostSys Mount the host `/sys` folder to `/host-sys`
1139
##
1140
mountHostSys: false
1141
## Containers Security Context
1142
## @param sysctlImage.containerSecurityContext.enabled Enable Containers' Security Context
1143
## @param sysctlImage.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1144
## @param sysctlImage.containerSecurityContext.runAsUser User ID for the containers.
1145
## @param sysctlImage.containerSecurityContext.privileged Run privileged as privileged
1146
##
1147
containerSecurityContext:
1148
enabled: true
1149
seLinuxOptions: {}
1150
runAsUser: 0
1151
privileged: true
1152
## Container resource requests and limits
1153
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1154
## @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).
1155
##
1156
resourcesPreset: "nano"
1157
## @param sysctlImage.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1158
## Example:
1159
## resources:
1160
## requests:
1161
## cpu: 2
1162
## memory: 512Mi
1163
## limits:
1164
## cpu: 3
1165
## memory: 1024Mi
1166
##
1167
resources: {}
1168

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.