values.yaml 74 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776
  1. ## @section Global parameters
  2. ## Global Docker image parameters
  3. ## Please, note that this will override the image parameters, including dependencies, configured to use the global value
  4. ## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
  5. ##
  6. ## @param global.imageRegistry Global Docker image registry
  7. ## @param global.imagePullSecrets Global Docker registry secret names as an array
  8. ## @param global.storageClass Global StorageClass for Persistent Volume(s)
  9. ## @param global.redis.password Global Redis® password (overrides `auth.password`)
  10. ##
  11. global:
  12. imageRegistry: ""
  13. ## E.g.
  14. ## imagePullSecrets:
  15. ## - myRegistryKeySecretName
  16. ##
  17. imagePullSecrets: []
  18. storageClass: ""
  19. redis:
  20. password: ""
  21. ## @section Common parameters
  22. ##
  23. ## @param kubeVersion Override Kubernetes version
  24. ##
  25. kubeVersion: ""
  26. ## @param nameOverride String to partially override common.names.fullname
  27. ##
  28. nameOverride: ""
  29. ## @param fullnameOverride String to fully override common.names.fullname
  30. ##
  31. fullnameOverride: ""
  32. ## @param commonLabels Labels to add to all deployed objects
  33. ##
  34. commonLabels: {}
  35. ## @param commonAnnotations Annotations to add to all deployed objects
  36. ##
  37. commonAnnotations: {}
  38. ## @param secretAnnotations Annotations to add to secret
  39. ##
  40. secretAnnotations: {}
  41. ## @param clusterDomain Kubernetes cluster domain name
  42. ##
  43. clusterDomain: cluster.local
  44. ## @param extraDeploy Array of extra objects to deploy with the release
  45. ##
  46. extraDeploy: []
  47. ## @param useHostnames Use hostnames internally when announcing replication
  48. ###
  49. useHostnames: true
  50. ## Enable diagnostic mode in the deployment
  51. ##
  52. diagnosticMode:
  53. ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
  54. ##
  55. enabled: false
  56. ## @param diagnosticMode.command Command to override all containers in the deployment
  57. ##
  58. command:
  59. - sleep
  60. ## @param diagnosticMode.args Args to override all containers in the deployment
  61. ##
  62. args:
  63. - infinity
  64. ## @section Redis® Image parameters
  65. ##
  66. ## Bitnami Redis® image
  67. ## ref: https://hub.docker.com/r/bitnami/redis/tags/
  68. ## @param image.registry Redis® image registry
  69. ## @param image.repository Redis® image repository
  70. ## @param image.tag Redis® image tag (immutable tags are recommended)
  71. ## @param image.digest Redis® image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
  72. ## @param image.pullPolicy Redis® image pull policy
  73. ## @param image.pullSecrets Redis® image pull secrets
  74. ## @param image.debug Enable image debug mode
  75. ##
  76. image:
  77. registry: docker.io
  78. repository: bitnami/redis
  79. tag: 7.0.10-debian-11-r4
  80. digest: ""
  81. ## Specify a imagePullPolicy
  82. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  83. ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  84. ##
  85. pullPolicy: IfNotPresent
  86. ## Optionally specify an array of imagePullSecrets.
  87. ## Secrets must be manually created in the namespace.
  88. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  89. ## e.g:
  90. ## pullSecrets:
  91. ## - myRegistryKeySecretName
  92. ##
  93. pullSecrets: []
  94. ## Enable debug mode
  95. ##
  96. debug: false
  97. ## @section Redis® common configuration parameters
  98. ## https://github.com/bitnami/containers/tree/main/bitnami/redis#configuration
  99. ##
  100. ## @param architecture Redis® architecture. Allowed values: `standalone` or `replication`
  101. ##
  102. architecture: replication
  103. ## Redis® Authentication parameters
  104. ## ref: https://github.com/bitnami/containers/tree/main/bitnami/redis#setting-the-server-password-on-first-run
  105. ##
  106. auth:
  107. ## @param auth.enabled Enable password authentication
  108. ##
  109. enabled: true
  110. ## @param auth.sentinel Enable password authentication on sentinels too
  111. ##
  112. sentinel: true
  113. ## @param auth.password Redis® password
  114. ## Defaults to a random 10-character alphanumeric string if not set
  115. ##
  116. password: ""
  117. ## @param auth.existingSecret The name of an existing secret with Redis® credentials
  118. ## NOTE: When it's set, the previous `auth.password` parameter is ignored
  119. ##
  120. existingSecret: ""
  121. ## @param auth.existingSecretPasswordKey Password key to be retrieved from existing secret
  122. ## NOTE: ignored unless `auth.existingSecret` parameter is set
  123. ##
  124. existingSecretPasswordKey: ""
  125. ## @param auth.usePasswordFiles Mount credentials as files instead of using an environment variable
  126. ##
  127. usePasswordFiles: false
  128. ## @param commonConfiguration [string] Common configuration to be added into the ConfigMap
  129. ## ref: https://redis.io/topics/config
  130. ##
  131. commonConfiguration: |-
  132. # Enable AOF https://redis.io/topics/persistence#append-only-file
  133. appendonly yes
  134. # Disable RDB persistence, AOF persistence already enabled.
  135. save ""
  136. ## @param existingConfigmap The name of an existing ConfigMap with your custom configuration for Redis® nodes
  137. ##
  138. existingConfigmap: ""
  139. ## @section Redis® master configuration parameters
  140. ##
  141. master:
  142. ## @param master.count Number of Redis® master instances to deploy (experimental, requires additional configuration)
  143. ##
  144. count: 1
  145. ## @param master.configuration Configuration for Redis® master nodes
  146. ## ref: https://redis.io/topics/config
  147. ##
  148. configuration: ""
  149. ## @param master.disableCommands Array with Redis® commands to disable on master nodes
  150. ## Commands will be completely disabled by renaming each to an empty string.
  151. ## ref: https://redis.io/topics/security#disabling-of-specific-commands
  152. ##
  153. disableCommands:
  154. - FLUSHDB
  155. - FLUSHALL
  156. ## @param master.command Override default container command (useful when using custom images)
  157. ##
  158. command: []
  159. ## @param master.args Override default container args (useful when using custom images)
  160. ##
  161. args: []
  162. ## @param master.preExecCmds Additional commands to run prior to starting Redis® master
  163. ##
  164. preExecCmds: []
  165. ## @param master.extraFlags Array with additional command line flags for Redis® master
  166. ## e.g:
  167. ## extraFlags:
  168. ## - "--maxmemory-policy volatile-ttl"
  169. ## - "--repl-backlog-size 1024mb"
  170. ##
  171. extraFlags: []
  172. ## @param master.extraEnvVars Array with extra environment variables to add to Redis® master nodes
  173. ## e.g:
  174. ## extraEnvVars:
  175. ## - name: FOO
  176. ## value: "bar"
  177. ##
  178. extraEnvVars: []
  179. ## @param master.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Redis® master nodes
  180. ##
  181. extraEnvVarsCM: ""
  182. ## @param master.extraEnvVarsSecret Name of existing Secret containing extra env vars for Redis® master nodes
  183. ##
  184. extraEnvVarsSecret: ""
  185. ## @param master.containerPorts.redis Container port to open on Redis® master nodes
  186. ##
  187. containerPorts:
  188. redis: 6379
  189. ## Configure extra options for Redis® containers' liveness and readiness probes
  190. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  191. ## @param master.startupProbe.enabled Enable startupProbe on Redis® master nodes
  192. ## @param master.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  193. ## @param master.startupProbe.periodSeconds Period seconds for startupProbe
  194. ## @param master.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  195. ## @param master.startupProbe.failureThreshold Failure threshold for startupProbe
  196. ## @param master.startupProbe.successThreshold Success threshold for startupProbe
  197. ##
  198. startupProbe:
  199. enabled: false
  200. initialDelaySeconds: 20
  201. periodSeconds: 5
  202. timeoutSeconds: 5
  203. successThreshold: 1
  204. failureThreshold: 5
  205. ## @param master.livenessProbe.enabled Enable livenessProbe on Redis® master nodes
  206. ## @param master.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  207. ## @param master.livenessProbe.periodSeconds Period seconds for livenessProbe
  208. ## @param master.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  209. ## @param master.livenessProbe.failureThreshold Failure threshold for livenessProbe
  210. ## @param master.livenessProbe.successThreshold Success threshold for livenessProbe
  211. ##
  212. livenessProbe:
  213. enabled: true
  214. initialDelaySeconds: 20
  215. periodSeconds: 5
  216. timeoutSeconds: 5
  217. successThreshold: 1
  218. failureThreshold: 5
  219. ## @param master.readinessProbe.enabled Enable readinessProbe on Redis® master nodes
  220. ## @param master.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  221. ## @param master.readinessProbe.periodSeconds Period seconds for readinessProbe
  222. ## @param master.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  223. ## @param master.readinessProbe.failureThreshold Failure threshold for readinessProbe
  224. ## @param master.readinessProbe.successThreshold Success threshold for readinessProbe
  225. ##
  226. readinessProbe:
  227. enabled: true
  228. initialDelaySeconds: 20
  229. periodSeconds: 5
  230. timeoutSeconds: 1
  231. successThreshold: 1
  232. failureThreshold: 5
  233. ## @param master.customStartupProbe Custom startupProbe that overrides the default one
  234. ##
  235. customStartupProbe: {}
  236. ## @param master.customLivenessProbe Custom livenessProbe that overrides the default one
  237. ##
  238. customLivenessProbe: {}
  239. ## @param master.customReadinessProbe Custom readinessProbe that overrides the default one
  240. ##
  241. customReadinessProbe: {}
  242. ## Redis® master resource requests and limits
  243. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  244. ## @param master.resources.limits The resources limits for the Redis® master containers
  245. ## @param master.resources.requests The requested resources for the Redis® master containers
  246. ##
  247. resources:
  248. limits: {}
  249. requests: {}
  250. ## Configure Pods Security Context
  251. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  252. ## @param master.podSecurityContext.enabled Enabled Redis® master pods' Security Context
  253. ## @param master.podSecurityContext.fsGroup Set Redis® master pod's Security Context fsGroup
  254. ##
  255. podSecurityContext:
  256. enabled: true
  257. fsGroup: 1001
  258. ## Configure Container Security Context
  259. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  260. ## @param master.containerSecurityContext.enabled Enabled Redis® master containers' Security Context
  261. ## @param master.containerSecurityContext.runAsUser Set Redis® master containers' Security Context runAsUser
  262. ##
  263. containerSecurityContext:
  264. enabled: true
  265. runAsUser: 1001
  266. ## @param master.kind Use either Deployment or StatefulSet (default)
  267. ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
  268. ##
  269. kind: StatefulSet
  270. ## @param master.schedulerName Alternate scheduler for Redis® master pods
  271. ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  272. ##
  273. schedulerName: ""
  274. ## @param master.updateStrategy.type Redis® master statefulset strategy type
  275. ## @skip master.updateStrategy.rollingUpdate
  276. ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
  277. ##
  278. updateStrategy:
  279. ## StrategyType
  280. ## Can be set to RollingUpdate, OnDelete (statefulset), Recreate (deployment)
  281. ##
  282. type: RollingUpdate
  283. ## @param master.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
  284. ##
  285. minReadySeconds: 0
  286. ## @param master.priorityClassName Redis® master pods' priorityClassName
  287. ##
  288. priorityClassName: ""
  289. ## @param master.hostAliases Redis® master pods host aliases
  290. ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  291. ##
  292. hostAliases: []
  293. ## @param master.podLabels Extra labels for Redis® master pods
  294. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  295. ##
  296. podLabels: {}
  297. ## @param master.podAnnotations Annotations for Redis® master pods
  298. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  299. ##
  300. podAnnotations: {}
  301. ## @param master.shareProcessNamespace Share a single process namespace between all of the containers in Redis® master pods
  302. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
  303. ##
  304. shareProcessNamespace: false
  305. ## @param master.podAffinityPreset Pod affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
  306. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  307. ##
  308. podAffinityPreset: ""
  309. ## @param master.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
  310. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  311. ##
  312. podAntiAffinityPreset: soft
  313. ## Node master.affinity preset
  314. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  315. ##
  316. nodeAffinityPreset:
  317. ## @param master.nodeAffinityPreset.type Node affinity preset type. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
  318. ##
  319. type: ""
  320. ## @param master.nodeAffinityPreset.key Node label key to match. Ignored if `master.affinity` is set
  321. ##
  322. key: ""
  323. ## @param master.nodeAffinityPreset.values Node label values to match. Ignored if `master.affinity` is set
  324. ## E.g.
  325. ## values:
  326. ## - e2e-az1
  327. ## - e2e-az2
  328. ##
  329. values: []
  330. ## @param master.affinity Affinity for Redis® master pods assignment
  331. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  332. ## NOTE: `master.podAffinityPreset`, `master.podAntiAffinityPreset`, and `master.nodeAffinityPreset` will be ignored when it's set
  333. ##
  334. affinity: {}
  335. ## @param master.nodeSelector Node labels for Redis® master pods assignment
  336. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  337. ##
  338. nodeSelector: {}
  339. ## @param master.tolerations Tolerations for Redis® master pods assignment
  340. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  341. ##
  342. tolerations: []
  343. ## @param master.topologySpreadConstraints Spread Constraints for Redis® master pod assignment
  344. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  345. ## E.g.
  346. ## topologySpreadConstraints:
  347. ## - maxSkew: 1
  348. ## topologyKey: node
  349. ## whenUnsatisfiable: DoNotSchedule
  350. ##
  351. topologySpreadConstraints: []
  352. ## @param master.dnsPolicy DNS Policy for Redis® master pod
  353. ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
  354. ## E.g.
  355. ## dnsPolicy: ClusterFirst
  356. ##
  357. dnsPolicy: ""
  358. ## @param master.dnsConfig DNS Configuration for Redis® master pod
  359. ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
  360. ## E.g.
  361. ## dnsConfig:
  362. ## options:
  363. ## - name: ndots
  364. ## value: "4"
  365. ## - name: single-request-reopen
  366. ##
  367. dnsConfig: {}
  368. ## @param master.lifecycleHooks for the Redis® master container(s) to automate configuration before or after startup
  369. ##
  370. lifecycleHooks: {}
  371. ## @param master.extraVolumes Optionally specify extra list of additional volumes for the Redis® master pod(s)
  372. ##
  373. extraVolumes: []
  374. ## @param master.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis® master container(s)
  375. ##
  376. extraVolumeMounts: []
  377. ## @param master.sidecars Add additional sidecar containers to the Redis® master pod(s)
  378. ## e.g:
  379. ## sidecars:
  380. ## - name: your-image-name
  381. ## image: your-image
  382. ## imagePullPolicy: Always
  383. ## ports:
  384. ## - name: portname
  385. ## containerPort: 1234
  386. ##
  387. sidecars: []
  388. ## @param master.initContainers Add additional init containers to the Redis® master pod(s)
  389. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
  390. ## e.g:
  391. ## initContainers:
  392. ## - name: your-image-name
  393. ## image: your-image
  394. ## imagePullPolicy: Always
  395. ## command: ['sh', '-c', 'echo "hello world"']
  396. ##
  397. initContainers: []
  398. ## Persistence parameters
  399. ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
  400. ##
  401. persistence:
  402. ## @param master.persistence.enabled Enable persistence on Redis® master nodes using Persistent Volume Claims
  403. ##
  404. enabled: true
  405. ## @param master.persistence.medium Provide a medium for `emptyDir` volumes.
  406. ##
  407. medium: ""
  408. ## @param master.persistence.sizeLimit Set this to enable a size limit for `emptyDir` volumes.
  409. ##
  410. sizeLimit: ""
  411. ## @param master.persistence.path The path the volume will be mounted at on Redis® master containers
  412. ## NOTE: Useful when using different Redis® images
  413. ##
  414. path: /data
  415. ## @param master.persistence.subPath The subdirectory of the volume to mount on Redis® master containers
  416. ## NOTE: Useful in dev environments
  417. ##
  418. subPath: ""
  419. ## @param master.persistence.subPathExpr Used to construct the subPath subdirectory of the volume to mount on Redis® master containers
  420. ##
  421. subPathExpr: ""
  422. ## @param master.persistence.storageClass Persistent Volume storage class
  423. ## If defined, storageClassName: <storageClass>
  424. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  425. ## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
  426. ##
  427. storageClass: ""
  428. ## @param master.persistence.accessModes Persistent Volume access modes
  429. ##
  430. accessModes:
  431. - ReadWriteOnce
  432. ## @param master.persistence.size Persistent Volume size
  433. ##
  434. size: 8Gi
  435. ## @param master.persistence.annotations Additional custom annotations for the PVC
  436. ##
  437. annotations: {}
  438. ## @param master.persistence.labels Additional custom labels for the PVC
  439. ##
  440. labels: {}
  441. ## @param master.persistence.selector Additional labels to match for the PVC
  442. ## e.g:
  443. ## selector:
  444. ## matchLabels:
  445. ## app: my-app
  446. ##
  447. selector: {}
  448. ## @param master.persistence.dataSource Custom PVC data source
  449. ##
  450. dataSource: {}
  451. ## @param master.persistence.existingClaim Use a existing PVC which must be created manually before bound
  452. ## NOTE: requires master.persistence.enabled: true
  453. ##
  454. existingClaim: ""
  455. ## Redis&reg; master service parameters
  456. ##
  457. service:
  458. ## @param master.service.type Redis&reg; master service type
  459. ##
  460. type: ClusterIP
  461. ## @param master.service.ports.redis Redis&reg; master service port
  462. ##
  463. ports:
  464. redis: 6379
  465. ## @param master.service.nodePorts.redis Node port for Redis&reg; master
  466. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  467. ## NOTE: choose port between <30000-32767>
  468. ##
  469. nodePorts:
  470. redis: ""
  471. ## @param master.service.externalTrafficPolicy Redis&reg; master service external traffic policy
  472. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
  473. ##
  474. externalTrafficPolicy: Cluster
  475. ## @param master.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
  476. ##
  477. extraPorts: []
  478. ## @param master.service.internalTrafficPolicy Redis&reg; master service internal traffic policy (requires Kubernetes v1.22 or greater to be usable)
  479. ## ref: https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
  480. ##
  481. internalTrafficPolicy: Cluster
  482. ## @param master.service.clusterIP Redis&reg; master service Cluster IP
  483. ##
  484. clusterIP: ""
  485. ## @param master.service.loadBalancerIP Redis&reg; master service Load Balancer IP
  486. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  487. ##
  488. loadBalancerIP: ""
  489. ## @param master.service.loadBalancerSourceRanges Redis&reg; master service Load Balancer sources
  490. ## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  491. ## e.g.
  492. ## loadBalancerSourceRanges:
  493. ## - 10.10.10.0/24
  494. ##
  495. loadBalancerSourceRanges: []
  496. ## @param master.service.externalIPs Redis&reg; master service External IPs
  497. ## https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
  498. ## e.g.
  499. ## externalIPs:
  500. ## - 10.10.10.1
  501. ## - 201.22.30.1
  502. ##
  503. externalIPs: []
  504. ## @param master.service.annotations Additional custom annotations for Redis&reg; master service
  505. ##
  506. annotations: {}
  507. ## @param master.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
  508. ## If "ClientIP", consecutive client requests will be directed to the same Pod
  509. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
  510. ##
  511. sessionAffinity: None
  512. ## @param master.service.sessionAffinityConfig Additional settings for the sessionAffinity
  513. ## sessionAffinityConfig:
  514. ## clientIP:
  515. ## timeoutSeconds: 300
  516. ##
  517. sessionAffinityConfig: {}
  518. ## @param master.terminationGracePeriodSeconds Integer setting the termination grace period for the redis-master pods
  519. ##
  520. terminationGracePeriodSeconds: 30
  521. ## ServiceAccount configuration
  522. ##
  523. serviceAccount:
  524. ## @param master.serviceAccount.create Specifies whether a ServiceAccount should be created
  525. ##
  526. create: false
  527. ## @param master.serviceAccount.name The name of the ServiceAccount to use.
  528. ## If not set and create is true, a name is generated using the common.names.fullname template
  529. ##
  530. name: ""
  531. ## @param master.serviceAccount.automountServiceAccountToken Whether to auto mount the service account token
  532. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
  533. ##
  534. automountServiceAccountToken: true
  535. ## @param master.serviceAccount.annotations Additional custom annotations for the ServiceAccount
  536. ##
  537. annotations: {}
  538. ## @section Redis&reg; replicas configuration parameters
  539. ##
  540. replica:
  541. ## @param replica.replicaCount Number of Redis&reg; replicas to deploy
  542. ##
  543. replicaCount: 3
  544. ## @param replica.configuration Configuration for Redis&reg; replicas nodes
  545. ## ref: https://redis.io/topics/config
  546. ##
  547. configuration: ""
  548. ## @param replica.disableCommands Array with Redis&reg; commands to disable on replicas nodes
  549. ## Commands will be completely disabled by renaming each to an empty string.
  550. ## ref: https://redis.io/topics/security#disabling-of-specific-commands
  551. ##
  552. disableCommands:
  553. - FLUSHDB
  554. - FLUSHALL
  555. ## @param replica.command Override default container command (useful when using custom images)
  556. ##
  557. command: []
  558. ## @param replica.args Override default container args (useful when using custom images)
  559. ##
  560. args: []
  561. ## @param replica.preExecCmds Additional commands to run prior to starting Redis&reg; replicas
  562. ##
  563. preExecCmds: []
  564. ## @param replica.extraFlags Array with additional command line flags for Redis&reg; replicas
  565. ## e.g:
  566. ## extraFlags:
  567. ## - "--maxmemory-policy volatile-ttl"
  568. ## - "--repl-backlog-size 1024mb"
  569. ##
  570. extraFlags: []
  571. ## @param replica.extraEnvVars Array with extra environment variables to add to Redis&reg; replicas nodes
  572. ## e.g:
  573. ## extraEnvVars:
  574. ## - name: FOO
  575. ## value: "bar"
  576. ##
  577. extraEnvVars: []
  578. ## @param replica.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Redis&reg; replicas nodes
  579. ##
  580. extraEnvVarsCM: ""
  581. ## @param replica.extraEnvVarsSecret Name of existing Secret containing extra env vars for Redis&reg; replicas nodes
  582. ##
  583. extraEnvVarsSecret: ""
  584. ## @param replica.externalMaster.enabled Use external master for bootstrapping
  585. ## @param replica.externalMaster.host External master host to bootstrap from
  586. ## @param replica.externalMaster.port Port for Redis service external master host
  587. ##
  588. externalMaster:
  589. enabled: false
  590. host: ""
  591. port: 6379
  592. ## @param replica.containerPorts.redis Container port to open on Redis&reg; replicas nodes
  593. ##
  594. containerPorts:
  595. redis: 6379
  596. ## Configure extra options for Redis&reg; containers' liveness and readiness probes
  597. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  598. ## @param replica.startupProbe.enabled Enable startupProbe on Redis&reg; replicas nodes
  599. ## @param replica.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  600. ## @param replica.startupProbe.periodSeconds Period seconds for startupProbe
  601. ## @param replica.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  602. ## @param replica.startupProbe.failureThreshold Failure threshold for startupProbe
  603. ## @param replica.startupProbe.successThreshold Success threshold for startupProbe
  604. ##
  605. startupProbe:
  606. enabled: true
  607. initialDelaySeconds: 10
  608. periodSeconds: 10
  609. timeoutSeconds: 5
  610. successThreshold: 1
  611. failureThreshold: 22
  612. ## @param replica.livenessProbe.enabled Enable livenessProbe on Redis&reg; replicas nodes
  613. ## @param replica.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  614. ## @param replica.livenessProbe.periodSeconds Period seconds for livenessProbe
  615. ## @param replica.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  616. ## @param replica.livenessProbe.failureThreshold Failure threshold for livenessProbe
  617. ## @param replica.livenessProbe.successThreshold Success threshold for livenessProbe
  618. ##
  619. livenessProbe:
  620. enabled: true
  621. initialDelaySeconds: 20
  622. periodSeconds: 5
  623. timeoutSeconds: 5
  624. successThreshold: 1
  625. failureThreshold: 5
  626. ## @param replica.readinessProbe.enabled Enable readinessProbe on Redis&reg; replicas nodes
  627. ## @param replica.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  628. ## @param replica.readinessProbe.periodSeconds Period seconds for readinessProbe
  629. ## @param replica.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  630. ## @param replica.readinessProbe.failureThreshold Failure threshold for readinessProbe
  631. ## @param replica.readinessProbe.successThreshold Success threshold for readinessProbe
  632. ##
  633. readinessProbe:
  634. enabled: true
  635. initialDelaySeconds: 20
  636. periodSeconds: 5
  637. timeoutSeconds: 1
  638. successThreshold: 1
  639. failureThreshold: 5
  640. ## @param replica.customStartupProbe Custom startupProbe that overrides the default one
  641. ##
  642. customStartupProbe: {}
  643. ## @param replica.customLivenessProbe Custom livenessProbe that overrides the default one
  644. ##
  645. customLivenessProbe: {}
  646. ## @param replica.customReadinessProbe Custom readinessProbe that overrides the default one
  647. ##
  648. customReadinessProbe: {}
  649. ## Redis&reg; replicas resource requests and limits
  650. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  651. ## @param replica.resources.limits The resources limits for the Redis&reg; replicas containers
  652. ## @param replica.resources.requests The requested resources for the Redis&reg; replicas containers
  653. ##
  654. resources:
  655. # We usually recommend not to specify default resources and to leave this as a conscious
  656. # choice for the user. This also increases chances charts run on environments with little
  657. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  658. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  659. limits: {}
  660. # cpu: 250m
  661. # memory: 256Mi
  662. requests: {}
  663. # cpu: 250m
  664. # memory: 256Mi
  665. ## Configure Pods Security Context
  666. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  667. ## @param replica.podSecurityContext.enabled Enabled Redis&reg; replicas pods' Security Context
  668. ## @param replica.podSecurityContext.fsGroup Set Redis&reg; replicas pod's Security Context fsGroup
  669. ##
  670. podSecurityContext:
  671. enabled: true
  672. fsGroup: 1001
  673. ## Configure Container Security Context
  674. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  675. ## @param replica.containerSecurityContext.enabled Enabled Redis&reg; replicas containers' Security Context
  676. ## @param replica.containerSecurityContext.runAsUser Set Redis&reg; replicas containers' Security Context runAsUser
  677. ##
  678. containerSecurityContext:
  679. enabled: true
  680. runAsUser: 1001
  681. ## @param replica.schedulerName Alternate scheduler for Redis&reg; replicas pods
  682. ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
  683. ##
  684. schedulerName: ""
  685. ## @param replica.updateStrategy.type Redis&reg; replicas statefulset strategy type
  686. ## @skip replica.updateStrategy.rollingUpdate
  687. ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
  688. ##
  689. updateStrategy:
  690. ## StrategyType
  691. ## Can be set to RollingUpdate, OnDelete (statefulset), Recreate (deployment)
  692. ##
  693. type: RollingUpdate
  694. ## @param replica.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
  695. ##
  696. minReadySeconds: 0
  697. ## @param replica.priorityClassName Redis&reg; replicas pods' priorityClassName
  698. ##
  699. priorityClassName: ""
  700. ## @param replica.podManagementPolicy podManagementPolicy to manage scaling operation of %%MAIN_CONTAINER_NAME%% pods
  701. ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
  702. ##
  703. podManagementPolicy: ""
  704. ## @param replica.hostAliases Redis&reg; replicas pods host aliases
  705. ## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
  706. ##
  707. hostAliases: []
  708. ## @param replica.podLabels Extra labels for Redis&reg; replicas pods
  709. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  710. ##
  711. podLabels: {}
  712. ## @param replica.podAnnotations Annotations for Redis&reg; replicas pods
  713. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  714. ##
  715. podAnnotations: {}
  716. ## @param replica.shareProcessNamespace Share a single process namespace between all of the containers in Redis&reg; replicas pods
  717. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
  718. ##
  719. shareProcessNamespace: false
  720. ## @param replica.podAffinityPreset Pod affinity preset. Ignored if `replica.affinity` is set. Allowed values: `soft` or `hard`
  721. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  722. ##
  723. podAffinityPreset: ""
  724. ## @param replica.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `replica.affinity` is set. Allowed values: `soft` or `hard`
  725. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
  726. ##
  727. podAntiAffinityPreset: soft
  728. ## Node affinity preset
  729. ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  730. ##
  731. nodeAffinityPreset:
  732. ## @param replica.nodeAffinityPreset.type Node affinity preset type. Ignored if `replica.affinity` is set. Allowed values: `soft` or `hard`
  733. ##
  734. type: ""
  735. ## @param replica.nodeAffinityPreset.key Node label key to match. Ignored if `replica.affinity` is set
  736. ##
  737. key: ""
  738. ## @param replica.nodeAffinityPreset.values Node label values to match. Ignored if `replica.affinity` is set
  739. ## E.g.
  740. ## values:
  741. ## - e2e-az1
  742. ## - e2e-az2
  743. ##
  744. values: []
  745. ## @param replica.affinity Affinity for Redis&reg; replicas pods assignment
  746. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  747. ## NOTE: `replica.podAffinityPreset`, `replica.podAntiAffinityPreset`, and `replica.nodeAffinityPreset` will be ignored when it's set
  748. ##
  749. affinity: {}
  750. ## @param replica.nodeSelector Node labels for Redis&reg; replicas pods assignment
  751. ## ref: https://kubernetes.io/docs/user-guide/node-selection/
  752. ##
  753. nodeSelector: {}
  754. ## @param replica.tolerations Tolerations for Redis&reg; replicas pods assignment
  755. ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
  756. ##
  757. tolerations: []
  758. ## @param replica.topologySpreadConstraints Spread Constraints for Redis&reg; replicas pod assignment
  759. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
  760. ## E.g.
  761. ## topologySpreadConstraints:
  762. ## - maxSkew: 1
  763. ## topologyKey: node
  764. ## whenUnsatisfiable: DoNotSchedule
  765. ##
  766. topologySpreadConstraints: []
  767. ## @param replica.dnsPolicy DNS Policy for Redis&reg; replica pods
  768. ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
  769. ## E.g.
  770. ## dnsPolicy: ClusterFirst
  771. ##
  772. dnsPolicy: ""
  773. ## @param replica.dnsConfig DNS Configuration for Redis&reg; replica pods
  774. ## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
  775. ## E.g.
  776. ## dnsConfig:
  777. ## options:
  778. ## - name: ndots
  779. ## value: "4"
  780. ## - name: single-request-reopen
  781. ##
  782. dnsConfig: {}
  783. ## @param replica.lifecycleHooks for the Redis&reg; replica container(s) to automate configuration before or after startup
  784. ##
  785. lifecycleHooks: {}
  786. ## @param replica.extraVolumes Optionally specify extra list of additional volumes for the Redis&reg; replicas pod(s)
  787. ##
  788. extraVolumes: []
  789. ## @param replica.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis&reg; replicas container(s)
  790. ##
  791. extraVolumeMounts: []
  792. ## @param replica.sidecars Add additional sidecar containers to the Redis&reg; replicas 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 replica.initContainers Add additional init containers to the Redis&reg; replicas 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. ## Persistence Parameters
  814. ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
  815. ##
  816. persistence:
  817. ## @param replica.persistence.enabled Enable persistence on Redis&reg; replicas nodes using Persistent Volume Claims
  818. ##
  819. enabled: true
  820. ## @param replica.persistence.medium Provide a medium for `emptyDir` volumes.
  821. ##
  822. medium: ""
  823. ## @param replica.persistence.sizeLimit Set this to enable a size limit for `emptyDir` volumes.
  824. ##
  825. sizeLimit: ""
  826. ## @param replica.persistence.path The path the volume will be mounted at on Redis&reg; replicas containers
  827. ## NOTE: Useful when using different Redis&reg; images
  828. ##
  829. path: /data
  830. ## @param replica.persistence.subPath The subdirectory of the volume to mount on Redis&reg; replicas containers
  831. ## NOTE: Useful in dev environments
  832. ##
  833. subPath: ""
  834. ## @param replica.persistence.subPathExpr Used to construct the subPath subdirectory of the volume to mount on Redis&reg; replicas containers
  835. ##
  836. subPathExpr: ""
  837. ## @param replica.persistence.storageClass Persistent Volume storage class
  838. ## If defined, storageClassName: <storageClass>
  839. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  840. ## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
  841. ##
  842. storageClass: ""
  843. ## @param replica.persistence.accessModes Persistent Volume access modes
  844. ##
  845. accessModes:
  846. - ReadWriteOnce
  847. ## @param replica.persistence.size Persistent Volume size
  848. ##
  849. size: 8Gi
  850. ## @param replica.persistence.annotations Additional custom annotations for the PVC
  851. ##
  852. annotations: {}
  853. ## @param replica.persistence.labels Additional custom labels for the PVC
  854. ##
  855. labels: {}
  856. ## @param replica.persistence.selector Additional labels to match for the PVC
  857. ## e.g:
  858. ## selector:
  859. ## matchLabels:
  860. ## app: my-app
  861. ##
  862. selector: {}
  863. ## @param replica.persistence.dataSource Custom PVC data source
  864. ##
  865. dataSource: {}
  866. ## @param replica.persistence.existingClaim Use a existing PVC which must be created manually before bound
  867. ## NOTE: requires replica.persistence.enabled: true
  868. ##
  869. existingClaim: ""
  870. ## Redis&reg; replicas service parameters
  871. ##
  872. service:
  873. ## @param replica.service.type Redis&reg; replicas service type
  874. ##
  875. type: ClusterIP
  876. ## @param replica.service.ports.redis Redis&reg; replicas service port
  877. ##
  878. ports:
  879. redis: 6379
  880. ## @param replica.service.nodePorts.redis Node port for Redis&reg; replicas
  881. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  882. ## NOTE: choose port between <30000-32767>
  883. ##
  884. nodePorts:
  885. redis: ""
  886. ## @param replica.service.externalTrafficPolicy Redis&reg; replicas service external traffic policy
  887. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
  888. ##
  889. externalTrafficPolicy: Cluster
  890. ## @param replica.service.internalTrafficPolicy Redis&reg; replicas service internal traffic policy (requires Kubernetes v1.22 or greater to be usable)
  891. ## ref: https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
  892. ##
  893. internalTrafficPolicy: Cluster
  894. ## @param replica.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
  895. ##
  896. extraPorts: []
  897. ## @param replica.service.clusterIP Redis&reg; replicas service Cluster IP
  898. ##
  899. clusterIP: ""
  900. ## @param replica.service.loadBalancerIP Redis&reg; replicas service Load Balancer IP
  901. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  902. ##
  903. loadBalancerIP: ""
  904. ## @param replica.service.loadBalancerSourceRanges Redis&reg; replicas service Load Balancer sources
  905. ## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  906. ## e.g.
  907. ## loadBalancerSourceRanges:
  908. ## - 10.10.10.0/24
  909. ##
  910. loadBalancerSourceRanges: []
  911. ## @param replica.service.annotations Additional custom annotations for Redis&reg; replicas service
  912. ##
  913. annotations: {}
  914. ## @param replica.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
  915. ## If "ClientIP", consecutive client requests will be directed to the same Pod
  916. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
  917. ##
  918. sessionAffinity: None
  919. ## @param replica.service.sessionAffinityConfig Additional settings for the sessionAffinity
  920. ## sessionAffinityConfig:
  921. ## clientIP:
  922. ## timeoutSeconds: 300
  923. ##
  924. sessionAffinityConfig: {}
  925. ## @param replica.terminationGracePeriodSeconds Integer setting the termination grace period for the redis-replicas pods
  926. ##
  927. terminationGracePeriodSeconds: 30
  928. ## Autoscaling configuration
  929. ##
  930. autoscaling:
  931. ## @param replica.autoscaling.enabled Enable replica autoscaling settings
  932. ##
  933. enabled: false
  934. ## @param replica.autoscaling.minReplicas Minimum replicas for the pod autoscaling
  935. ##
  936. minReplicas: 1
  937. ## @param replica.autoscaling.maxReplicas Maximum replicas for the pod autoscaling
  938. ##
  939. maxReplicas: 11
  940. ## @param replica.autoscaling.targetCPU Percentage of CPU to consider when autoscaling
  941. ##
  942. targetCPU: ""
  943. ## @param replica.autoscaling.targetMemory Percentage of Memory to consider when autoscaling
  944. ##
  945. targetMemory: ""
  946. ## ServiceAccount configuration
  947. ##
  948. serviceAccount:
  949. ## @param replica.serviceAccount.create Specifies whether a ServiceAccount should be created
  950. ##
  951. create: false
  952. ## @param replica.serviceAccount.name The name of the ServiceAccount to use.
  953. ## If not set and create is true, a name is generated using the common.names.fullname template
  954. ##
  955. name: ""
  956. ## @param replica.serviceAccount.automountServiceAccountToken Whether to auto mount the service account token
  957. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
  958. ##
  959. automountServiceAccountToken: true
  960. ## @param replica.serviceAccount.annotations Additional custom annotations for the ServiceAccount
  961. ##
  962. annotations: {}
  963. ## @section Redis&reg; Sentinel configuration parameters
  964. ##
  965. sentinel:
  966. ## @param sentinel.enabled Use Redis&reg; Sentinel on Redis&reg; pods.
  967. ## IMPORTANT: this will disable the master and replicas services and
  968. ## create a single Redis&reg; service exposing both the Redis and Sentinel ports
  969. ##
  970. enabled: false
  971. ## Bitnami Redis&reg; Sentinel image version
  972. ## ref: https://hub.docker.com/r/bitnami/redis-sentinel/tags/
  973. ## @param sentinel.image.registry Redis&reg; Sentinel image registry
  974. ## @param sentinel.image.repository Redis&reg; Sentinel image repository
  975. ## @param sentinel.image.tag Redis&reg; Sentinel image tag (immutable tags are recommended)
  976. ## @param sentinel.image.digest Redis&reg; Sentinel image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
  977. ## @param sentinel.image.pullPolicy Redis&reg; Sentinel image pull policy
  978. ## @param sentinel.image.pullSecrets Redis&reg; Sentinel image pull secrets
  979. ## @param sentinel.image.debug Enable image debug mode
  980. ##
  981. image:
  982. registry: docker.io
  983. repository: bitnami/redis-sentinel
  984. tag: 7.0.10-debian-11-r2
  985. digest: ""
  986. ## Specify a imagePullPolicy
  987. ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
  988. ## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
  989. ##
  990. pullPolicy: IfNotPresent
  991. ## Optionally specify an array of imagePullSecrets.
  992. ## Secrets must be manually created in the namespace.
  993. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  994. ## e.g:
  995. ## pullSecrets:
  996. ## - myRegistryKeySecretName
  997. ##
  998. pullSecrets: []
  999. ## Enable debug mode
  1000. ##
  1001. debug: false
  1002. ## @param sentinel.annotations Additional custom annotations for Redis&reg; Sentinel resource
  1003. ##
  1004. annotations: {}
  1005. ## @param sentinel.masterSet Master set name
  1006. ##
  1007. masterSet: mymaster
  1008. ## @param sentinel.quorum Sentinel Quorum
  1009. ##
  1010. quorum: 2
  1011. ## @param sentinel.getMasterTimeout Amount of time to allow before get_sentinel_master_info() times out.
  1012. ## NOTE: This is directly related to the startupProbes which are configured to run every 10 seconds for a total of 22 failures. If adjusting this value, also adjust the startupProbes.
  1013. ##
  1014. getMasterTimeout: 220
  1015. ## @param sentinel.automateClusterRecovery Automate cluster recovery in cases where the last replica is not considered a good replica and Sentinel won't automatically failover to it.
  1016. ## This also prevents any new replica from starting until the last remaining replica is elected as master to guarantee that it is the one to be elected by Sentinel, and not a newly started replica with no data.
  1017. ## NOTE: This feature requires a "downAfterMilliseconds" value less or equal to 2000.
  1018. ##
  1019. automateClusterRecovery: false
  1020. ## @param sentinel.redisShutdownWaitFailover Whether the Redis&reg; master container waits for the failover at shutdown (in addition to the Redis&reg; Sentinel container).
  1021. ##
  1022. redisShutdownWaitFailover: true
  1023. ## Sentinel timing restrictions
  1024. ## @param sentinel.downAfterMilliseconds Timeout for detecting a Redis&reg; node is down
  1025. ## @param sentinel.failoverTimeout Timeout for performing a election failover
  1026. ##
  1027. downAfterMilliseconds: 60000
  1028. failoverTimeout: 180000
  1029. ## @param sentinel.parallelSyncs Number of replicas that can be reconfigured in parallel to use the new master after a failover
  1030. ##
  1031. parallelSyncs: 1
  1032. ## @param sentinel.configuration Configuration for Redis&reg; Sentinel nodes
  1033. ## ref: https://redis.io/topics/sentinel
  1034. ##
  1035. configuration: ""
  1036. ## @param sentinel.command Override default container command (useful when using custom images)
  1037. ##
  1038. command: []
  1039. ## @param sentinel.args Override default container args (useful when using custom images)
  1040. ##
  1041. args: []
  1042. ## @param sentinel.preExecCmds Additional commands to run prior to starting Redis&reg; Sentinel
  1043. ##
  1044. preExecCmds: []
  1045. ## @param sentinel.extraEnvVars Array with extra environment variables to add to Redis&reg; Sentinel nodes
  1046. ## e.g:
  1047. ## extraEnvVars:
  1048. ## - name: FOO
  1049. ## value: "bar"
  1050. ##
  1051. extraEnvVars: []
  1052. ## @param sentinel.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Redis&reg; Sentinel nodes
  1053. ##
  1054. extraEnvVarsCM: ""
  1055. ## @param sentinel.extraEnvVarsSecret Name of existing Secret containing extra env vars for Redis&reg; Sentinel nodes
  1056. ##
  1057. extraEnvVarsSecret: ""
  1058. ## @param sentinel.externalMaster.enabled Use external master for bootstrapping
  1059. ## @param sentinel.externalMaster.host External master host to bootstrap from
  1060. ## @param sentinel.externalMaster.port Port for Redis service external master host
  1061. ##
  1062. externalMaster:
  1063. enabled: false
  1064. host: ""
  1065. port: 6379
  1066. ## @param sentinel.containerPorts.sentinel Container port to open on Redis&reg; Sentinel nodes
  1067. ##
  1068. containerPorts:
  1069. sentinel: 26379
  1070. ## Configure extra options for Redis&reg; containers' liveness and readiness probes
  1071. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
  1072. ## @param sentinel.startupProbe.enabled Enable startupProbe on Redis&reg; Sentinel nodes
  1073. ## @param sentinel.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  1074. ## @param sentinel.startupProbe.periodSeconds Period seconds for startupProbe
  1075. ## @param sentinel.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  1076. ## @param sentinel.startupProbe.failureThreshold Failure threshold for startupProbe
  1077. ## @param sentinel.startupProbe.successThreshold Success threshold for startupProbe
  1078. ##
  1079. startupProbe:
  1080. enabled: true
  1081. initialDelaySeconds: 10
  1082. periodSeconds: 10
  1083. timeoutSeconds: 5
  1084. successThreshold: 1
  1085. failureThreshold: 22
  1086. ## @param sentinel.livenessProbe.enabled Enable livenessProbe on Redis&reg; Sentinel nodes
  1087. ## @param sentinel.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  1088. ## @param sentinel.livenessProbe.periodSeconds Period seconds for livenessProbe
  1089. ## @param sentinel.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  1090. ## @param sentinel.livenessProbe.failureThreshold Failure threshold for livenessProbe
  1091. ## @param sentinel.livenessProbe.successThreshold Success threshold for livenessProbe
  1092. ##
  1093. livenessProbe:
  1094. enabled: true
  1095. initialDelaySeconds: 20
  1096. periodSeconds: 5
  1097. timeoutSeconds: 5
  1098. successThreshold: 1
  1099. failureThreshold: 5
  1100. ## @param sentinel.readinessProbe.enabled Enable readinessProbe on Redis&reg; Sentinel nodes
  1101. ## @param sentinel.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  1102. ## @param sentinel.readinessProbe.periodSeconds Period seconds for readinessProbe
  1103. ## @param sentinel.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  1104. ## @param sentinel.readinessProbe.failureThreshold Failure threshold for readinessProbe
  1105. ## @param sentinel.readinessProbe.successThreshold Success threshold for readinessProbe
  1106. ##
  1107. readinessProbe:
  1108. enabled: true
  1109. initialDelaySeconds: 20
  1110. periodSeconds: 5
  1111. timeoutSeconds: 1
  1112. successThreshold: 1
  1113. failureThreshold: 5
  1114. ## @param sentinel.customStartupProbe Custom startupProbe that overrides the default one
  1115. ##
  1116. customStartupProbe: {}
  1117. ## @param sentinel.customLivenessProbe Custom livenessProbe that overrides the default one
  1118. ##
  1119. customLivenessProbe: {}
  1120. ## @param sentinel.customReadinessProbe Custom readinessProbe that overrides the default one
  1121. ##
  1122. customReadinessProbe: {}
  1123. ## Persistence parameters
  1124. ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
  1125. ##
  1126. persistence:
  1127. ## @param sentinel.persistence.enabled Enable persistence on Redis&reg; sentinel nodes using Persistent Volume Claims (Experimental)
  1128. ##
  1129. enabled: false
  1130. ## @param sentinel.persistence.storageClass Persistent Volume storage class
  1131. ## If defined, storageClassName: <storageClass>
  1132. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  1133. ## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
  1134. ##
  1135. storageClass: ""
  1136. ## @param sentinel.persistence.accessModes Persistent Volume access modes
  1137. ##
  1138. accessModes:
  1139. - ReadWriteOnce
  1140. ## @param sentinel.persistence.size Persistent Volume size
  1141. ##
  1142. size: 100Mi
  1143. ## @param sentinel.persistence.annotations Additional custom annotations for the PVC
  1144. ##
  1145. annotations: {}
  1146. ## @param sentinel.persistence.labels Additional custom labels for the PVC
  1147. ##
  1148. labels: {}
  1149. ## @param sentinel.persistence.selector Additional labels to match for the PVC
  1150. ## e.g:
  1151. ## selector:
  1152. ## matchLabels:
  1153. ## app: my-app
  1154. ##
  1155. selector: {}
  1156. ## @param sentinel.persistence.dataSource Custom PVC data source
  1157. ##
  1158. dataSource: {}
  1159. ## @param sentinel.persistence.medium Provide a medium for `emptyDir` volumes.
  1160. ##
  1161. medium: ""
  1162. ## @param sentinel.persistence.sizeLimit Set this to enable a size limit for `emptyDir` volumes.
  1163. ##
  1164. sizeLimit: ""
  1165. ## Redis&reg; Sentinel resource requests and limits
  1166. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  1167. ## @param sentinel.resources.limits The resources limits for the Redis&reg; Sentinel containers
  1168. ## @param sentinel.resources.requests The requested resources for the Redis&reg; Sentinel containers
  1169. ##
  1170. resources:
  1171. limits: {}
  1172. requests: {}
  1173. ## Configure Container Security Context
  1174. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  1175. ## @param sentinel.containerSecurityContext.enabled Enabled Redis&reg; Sentinel containers' Security Context
  1176. ## @param sentinel.containerSecurityContext.runAsUser Set Redis&reg; Sentinel containers' Security Context runAsUser
  1177. ##
  1178. containerSecurityContext:
  1179. enabled: true
  1180. runAsUser: 1001
  1181. ## @param sentinel.lifecycleHooks for the Redis&reg; sentinel container(s) to automate configuration before or after startup
  1182. ##
  1183. lifecycleHooks: {}
  1184. ## @param sentinel.extraVolumes Optionally specify extra list of additional volumes for the Redis&reg; Sentinel
  1185. ##
  1186. extraVolumes: []
  1187. ## @param sentinel.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis&reg; Sentinel container(s)
  1188. ##
  1189. extraVolumeMounts: []
  1190. ## Redis&reg; Sentinel service parameters
  1191. ##
  1192. service:
  1193. ## @param sentinel.service.type Redis&reg; Sentinel service type
  1194. ##
  1195. type: ClusterIP
  1196. ## @param sentinel.service.ports.redis Redis&reg; service port for Redis&reg;
  1197. ## @param sentinel.service.ports.sentinel Redis&reg; service port for Redis&reg; Sentinel
  1198. ##
  1199. ports:
  1200. redis: 6379
  1201. sentinel: 26379
  1202. ## @param sentinel.service.nodePorts.redis Node port for Redis&reg;
  1203. ## @param sentinel.service.nodePorts.sentinel Node port for Sentinel
  1204. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
  1205. ## NOTE: choose port between <30000-32767>
  1206. ## NOTE: By leaving these values blank, they will be generated by ports-configmap
  1207. ## If setting manually, please leave at least replica.replicaCount + 1 in between sentinel.service.nodePorts.redis and sentinel.service.nodePorts.sentinel to take into account the ports that will be created while incrementing that base port
  1208. ##
  1209. nodePorts:
  1210. redis: ""
  1211. sentinel: ""
  1212. ## @param sentinel.service.externalTrafficPolicy Redis&reg; Sentinel service external traffic policy
  1213. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
  1214. ##
  1215. externalTrafficPolicy: Cluster
  1216. ## @param sentinel.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
  1217. ##
  1218. extraPorts: []
  1219. ## @param sentinel.service.clusterIP Redis&reg; Sentinel service Cluster IP
  1220. ##
  1221. clusterIP: ""
  1222. ## @param sentinel.service.loadBalancerIP Redis&reg; Sentinel service Load Balancer IP
  1223. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  1224. ##
  1225. loadBalancerIP: ""
  1226. ## @param sentinel.service.loadBalancerSourceRanges Redis&reg; Sentinel service Load Balancer sources
  1227. ## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  1228. ## e.g.
  1229. ## loadBalancerSourceRanges:
  1230. ## - 10.10.10.0/24
  1231. ##
  1232. loadBalancerSourceRanges: []
  1233. ## @param sentinel.service.annotations Additional custom annotations for Redis&reg; Sentinel service
  1234. ##
  1235. annotations: {}
  1236. ## @param sentinel.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
  1237. ## If "ClientIP", consecutive client requests will be directed to the same Pod
  1238. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
  1239. ##
  1240. sessionAffinity: None
  1241. ## @param sentinel.service.sessionAffinityConfig Additional settings for the sessionAffinity
  1242. ## sessionAffinityConfig:
  1243. ## clientIP:
  1244. ## timeoutSeconds: 300
  1245. ##
  1246. sessionAffinityConfig: {}
  1247. ## Headless service properties
  1248. ##
  1249. headless:
  1250. ## @param sentinel.service.headless.annotations Annotations for the headless service.
  1251. ##
  1252. annotations: {}
  1253. ## @param sentinel.terminationGracePeriodSeconds Integer setting the termination grace period for the redis-node pods
  1254. ##
  1255. terminationGracePeriodSeconds: 30
  1256. ## @section Other Parameters
  1257. ##
  1258. ## @param serviceBindings.enabled Create secret for service binding (Experimental)
  1259. ## Ref: https://servicebinding.io/service-provider/
  1260. ##
  1261. serviceBindings:
  1262. enabled: false
  1263. ## Network Policy configuration
  1264. ## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
  1265. ##
  1266. networkPolicy:
  1267. ## @param networkPolicy.enabled Enable creation of NetworkPolicy resources
  1268. ##
  1269. enabled: false
  1270. ## @param networkPolicy.allowExternal Don't require client label for connections
  1271. ## When set to false, only pods with the correct client label will have network access to the ports
  1272. ## Redis&reg; is listening on. When true, Redis&reg; will accept connections from any source
  1273. ## (with the correct destination port).
  1274. ##
  1275. allowExternal: true
  1276. ## @param networkPolicy.extraIngress Add extra ingress rules to the NetworkPolicy
  1277. ## e.g:
  1278. ## extraIngress:
  1279. ## - ports:
  1280. ## - port: 1234
  1281. ## from:
  1282. ## - podSelector:
  1283. ## - matchLabels:
  1284. ## - role: frontend
  1285. ## - podSelector:
  1286. ## - matchExpressions:
  1287. ## - key: role
  1288. ## operator: In
  1289. ## values:
  1290. ## - frontend
  1291. ##
  1292. extraIngress: []
  1293. ## @param networkPolicy.extraEgress Add extra egress rules to the NetworkPolicy
  1294. ## e.g:
  1295. ## extraEgress:
  1296. ## - ports:
  1297. ## - port: 1234
  1298. ## to:
  1299. ## - podSelector:
  1300. ## - matchLabels:
  1301. ## - role: frontend
  1302. ## - podSelector:
  1303. ## - matchExpressions:
  1304. ## - key: role
  1305. ## operator: In
  1306. ## values:
  1307. ## - frontend
  1308. ##
  1309. extraEgress: []
  1310. ## @param networkPolicy.ingressNSMatchLabels Labels to match to allow traffic from other namespaces
  1311. ## @param networkPolicy.ingressNSPodMatchLabels Pod labels to match to allow traffic from other namespaces
  1312. ##
  1313. ingressNSMatchLabels: {}
  1314. ingressNSPodMatchLabels: {}
  1315. ## PodSecurityPolicy configuration
  1316. ## ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
  1317. ##
  1318. podSecurityPolicy:
  1319. ## @param podSecurityPolicy.create Whether to create a PodSecurityPolicy. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later
  1320. ##
  1321. create: false
  1322. ## @param podSecurityPolicy.enabled Enable PodSecurityPolicy's RBAC rules
  1323. ##
  1324. enabled: false
  1325. ## RBAC configuration
  1326. ##
  1327. rbac:
  1328. ## @param rbac.create Specifies whether RBAC resources should be created
  1329. ##
  1330. create: false
  1331. ## @param rbac.rules Custom RBAC rules to set
  1332. ## e.g:
  1333. ## rules:
  1334. ## - apiGroups:
  1335. ## - ""
  1336. ## resources:
  1337. ## - pods
  1338. ## verbs:
  1339. ## - get
  1340. ## - list
  1341. ##
  1342. rules: []
  1343. ## ServiceAccount configuration
  1344. ##
  1345. serviceAccount:
  1346. ## @param serviceAccount.create Specifies whether a ServiceAccount should be created
  1347. ##
  1348. create: true
  1349. ## @param serviceAccount.name The name of the ServiceAccount to use.
  1350. ## If not set and create is true, a name is generated using the common.names.fullname template
  1351. ##
  1352. name: ""
  1353. ## @param serviceAccount.automountServiceAccountToken Whether to auto mount the service account token
  1354. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
  1355. ##
  1356. automountServiceAccountToken: true
  1357. ## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
  1358. ##
  1359. annotations: {}
  1360. ## Redis&reg; Pod Disruption Budget configuration
  1361. ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
  1362. ##
  1363. pdb:
  1364. ## @param pdb.create Specifies whether a PodDisruptionBudget should be created
  1365. ##
  1366. create: false
  1367. ## @param pdb.minAvailable Min number of pods that must still be available after the eviction
  1368. ##
  1369. minAvailable: 1
  1370. ## @param pdb.maxUnavailable Max number of pods that can be unavailable after the eviction
  1371. ##
  1372. maxUnavailable: ""
  1373. ## TLS configuration
  1374. ##
  1375. tls:
  1376. ## @param tls.enabled Enable TLS traffic
  1377. ##
  1378. enabled: false
  1379. ## @param tls.authClients Require clients to authenticate
  1380. ##
  1381. authClients: true
  1382. ## @param tls.autoGenerated Enable autogenerated certificates
  1383. ##
  1384. autoGenerated: false
  1385. ## @param tls.existingSecret The name of the existing secret that contains the TLS certificates
  1386. ##
  1387. existingSecret: ""
  1388. ## @param tls.certificatesSecret DEPRECATED. Use existingSecret instead.
  1389. ##
  1390. certificatesSecret: ""
  1391. ## @param tls.certFilename Certificate filename
  1392. ##
  1393. certFilename: ""
  1394. ## @param tls.certKeyFilename Certificate Key filename
  1395. ##
  1396. certKeyFilename: ""
  1397. ## @param tls.certCAFilename CA Certificate filename
  1398. ##
  1399. certCAFilename: ""
  1400. ## @param tls.dhParamsFilename File containing DH params (in order to support DH based ciphers)
  1401. ##
  1402. dhParamsFilename: ""
  1403. ## @section Metrics Parameters
  1404. ##
  1405. metrics:
  1406. ## @param metrics.enabled Start a sidecar prometheus exporter to expose Redis&reg; metrics
  1407. ##
  1408. enabled: false
  1409. ## Bitnami Redis&reg; Exporter image
  1410. ## ref: https://hub.docker.com/r/bitnami/redis-exporter/tags/
  1411. ## @param metrics.image.registry Redis&reg; Exporter image registry
  1412. ## @param metrics.image.repository Redis&reg; Exporter image repository
  1413. ## @param metrics.image.tag Redis&reg; Exporter image tag (immutable tags are recommended)
  1414. ## @param metrics.image.digest Redis&reg; Exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
  1415. ## @param metrics.image.pullPolicy Redis&reg; Exporter image pull policy
  1416. ## @param metrics.image.pullSecrets Redis&reg; Exporter image pull secrets
  1417. ##
  1418. image:
  1419. registry: docker.io
  1420. repository: bitnami/redis-exporter
  1421. tag: 1.50.0-debian-11-r1
  1422. digest: ""
  1423. pullPolicy: IfNotPresent
  1424. ## Optionally specify an array of imagePullSecrets.
  1425. ## Secrets must be manually created in the namespace.
  1426. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  1427. ## e.g:
  1428. ## pullSecrets:
  1429. ## - myRegistryKeySecretName
  1430. ##
  1431. pullSecrets: []
  1432. ## Configure extra options for Redis&reg; containers' liveness, readiness & startup probes
  1433. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
  1434. ## @param metrics.startupProbe.enabled Enable startupProbe on Redis&reg; replicas nodes
  1435. ## @param metrics.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
  1436. ## @param metrics.startupProbe.periodSeconds Period seconds for startupProbe
  1437. ## @param metrics.startupProbe.timeoutSeconds Timeout seconds for startupProbe
  1438. ## @param metrics.startupProbe.failureThreshold Failure threshold for startupProbe
  1439. ## @param metrics.startupProbe.successThreshold Success threshold for startupProbe
  1440. ##
  1441. startupProbe:
  1442. enabled: false
  1443. initialDelaySeconds: 10
  1444. periodSeconds: 10
  1445. timeoutSeconds: 5
  1446. successThreshold: 1
  1447. failureThreshold: 5
  1448. ## @param metrics.livenessProbe.enabled Enable livenessProbe on Redis&reg; replicas nodes
  1449. ## @param metrics.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
  1450. ## @param metrics.livenessProbe.periodSeconds Period seconds for livenessProbe
  1451. ## @param metrics.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
  1452. ## @param metrics.livenessProbe.failureThreshold Failure threshold for livenessProbe
  1453. ## @param metrics.livenessProbe.successThreshold Success threshold for livenessProbe
  1454. ##
  1455. livenessProbe:
  1456. enabled: true
  1457. initialDelaySeconds: 10
  1458. periodSeconds: 10
  1459. timeoutSeconds: 5
  1460. successThreshold: 1
  1461. failureThreshold: 5
  1462. ## @param metrics.readinessProbe.enabled Enable readinessProbe on Redis&reg; replicas nodes
  1463. ## @param metrics.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
  1464. ## @param metrics.readinessProbe.periodSeconds Period seconds for readinessProbe
  1465. ## @param metrics.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
  1466. ## @param metrics.readinessProbe.failureThreshold Failure threshold for readinessProbe
  1467. ## @param metrics.readinessProbe.successThreshold Success threshold for readinessProbe
  1468. ##
  1469. readinessProbe:
  1470. enabled: true
  1471. initialDelaySeconds: 5
  1472. periodSeconds: 10
  1473. timeoutSeconds: 1
  1474. successThreshold: 1
  1475. failureThreshold: 3
  1476. ## @param metrics.customStartupProbe Custom startupProbe that overrides the default one
  1477. ##
  1478. customStartupProbe: {}
  1479. ## @param metrics.customLivenessProbe Custom livenessProbe that overrides the default one
  1480. ##
  1481. customLivenessProbe: {}
  1482. ## @param metrics.customReadinessProbe Custom readinessProbe that overrides the default one
  1483. ##
  1484. customReadinessProbe: {}
  1485. ## @param metrics.command Override default metrics container init command (useful when using custom images)
  1486. ##
  1487. command: []
  1488. ## @param metrics.redisTargetHost A way to specify an alternative Redis&reg; hostname
  1489. ## Useful for certificate CN/SAN matching
  1490. ##
  1491. redisTargetHost: "localhost"
  1492. ## @param metrics.extraArgs Extra arguments for Redis&reg; exporter, for example:
  1493. ## e.g.:
  1494. ## extraArgs:
  1495. ## check-keys: myKey,myOtherKey
  1496. ##
  1497. extraArgs: {}
  1498. ## @param metrics.extraEnvVars Array with extra environment variables to add to Redis&reg; exporter
  1499. ## e.g:
  1500. ## extraEnvVars:
  1501. ## - name: FOO
  1502. ## value: "bar"
  1503. ##
  1504. extraEnvVars: []
  1505. ## Configure Container Security Context
  1506. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
  1507. ## @param metrics.containerSecurityContext.enabled Enabled Redis&reg; exporter containers' Security Context
  1508. ## @param metrics.containerSecurityContext.runAsUser Set Redis&reg; exporter containers' Security Context runAsUser
  1509. ##
  1510. containerSecurityContext:
  1511. enabled: true
  1512. runAsUser: 1001
  1513. ## @param metrics.extraVolumes Optionally specify extra list of additional volumes for the Redis&reg; metrics sidecar
  1514. ##
  1515. extraVolumes: []
  1516. ## @param metrics.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis&reg; metrics sidecar
  1517. ##
  1518. extraVolumeMounts: []
  1519. ## Redis&reg; exporter resource requests and limits
  1520. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  1521. ## @param metrics.resources.limits The resources limits for the Redis&reg; exporter container
  1522. ## @param metrics.resources.requests The requested resources for the Redis&reg; exporter container
  1523. ##
  1524. resources:
  1525. limits: {}
  1526. requests: {}
  1527. ## @param metrics.podLabels Extra labels for Redis&reg; exporter pods
  1528. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  1529. ##
  1530. podLabels: {}
  1531. ## @param metrics.podAnnotations [object] Annotations for Redis&reg; exporter pods
  1532. ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  1533. ##
  1534. podAnnotations:
  1535. prometheus.io/scrape: "true"
  1536. prometheus.io/port: "9121"
  1537. ## Redis&reg; exporter service parameters
  1538. ##
  1539. service:
  1540. ## @param metrics.service.type Redis&reg; exporter service type
  1541. ##
  1542. type: ClusterIP
  1543. ## @param metrics.service.port Redis&reg; exporter service port
  1544. ##
  1545. port: 9121
  1546. ## @param metrics.service.externalTrafficPolicy Redis&reg; exporter service external traffic policy
  1547. ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
  1548. ##
  1549. externalTrafficPolicy: Cluster
  1550. ## @param metrics.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
  1551. ##
  1552. extraPorts: []
  1553. ## @param metrics.service.loadBalancerIP Redis&reg; exporter service Load Balancer IP
  1554. ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
  1555. ##
  1556. loadBalancerIP: ""
  1557. ## @param metrics.service.loadBalancerSourceRanges Redis&reg; exporter service Load Balancer sources
  1558. ## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
  1559. ## e.g.
  1560. ## loadBalancerSourceRanges:
  1561. ## - 10.10.10.0/24
  1562. ##
  1563. loadBalancerSourceRanges: []
  1564. ## @param metrics.service.annotations Additional custom annotations for Redis&reg; exporter service
  1565. ##
  1566. annotations: {}
  1567. ## Prometheus Service Monitor
  1568. ## ref: https://github.com/coreos/prometheus-operator
  1569. ## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
  1570. ##
  1571. serviceMonitor:
  1572. ## @param metrics.serviceMonitor.enabled Create ServiceMonitor resource(s) for scraping metrics using PrometheusOperator
  1573. ##
  1574. enabled: false
  1575. ## @param metrics.serviceMonitor.namespace The namespace in which the ServiceMonitor will be created
  1576. ##
  1577. namespace: ""
  1578. ## @param metrics.serviceMonitor.interval The interval at which metrics should be scraped
  1579. ##
  1580. interval: 30s
  1581. ## @param metrics.serviceMonitor.scrapeTimeout The timeout after which the scrape is ended
  1582. ##
  1583. scrapeTimeout: ""
  1584. ## @param metrics.serviceMonitor.relabellings Metrics RelabelConfigs to apply to samples before scraping.
  1585. ##
  1586. relabellings: []
  1587. ## @param metrics.serviceMonitor.metricRelabelings Metrics RelabelConfigs to apply to samples before ingestion.
  1588. ##
  1589. metricRelabelings: []
  1590. ## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
  1591. ##
  1592. honorLabels: false
  1593. ## @param metrics.serviceMonitor.additionalLabels Additional labels that can be used so ServiceMonitor resource(s) can be discovered by Prometheus
  1594. ##
  1595. additionalLabels: {}
  1596. ## @param metrics.serviceMonitor.podTargetLabels Labels from the Kubernetes pod to be transferred to the created metrics
  1597. ##
  1598. podTargetLabels: []
  1599. ## Custom PrometheusRule to be defined
  1600. ## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
  1601. ##
  1602. prometheusRule:
  1603. ## @param metrics.prometheusRule.enabled Create a custom prometheusRule Resource for scraping metrics using PrometheusOperator
  1604. ##
  1605. enabled: false
  1606. ## @param metrics.prometheusRule.namespace The namespace in which the prometheusRule will be created
  1607. ##
  1608. namespace: ""
  1609. ## @param metrics.prometheusRule.additionalLabels Additional labels for the prometheusRule
  1610. ##
  1611. additionalLabels: {}
  1612. ## @param metrics.prometheusRule.rules Custom Prometheus rules
  1613. ## e.g:
  1614. ## rules:
  1615. ## - alert: RedisDown
  1616. ## expr: redis_up{service="{{ template "common.names.fullname" . }}-metrics"} == 0
  1617. ## for: 2m
  1618. ## labels:
  1619. ## severity: error
  1620. ## annotations:
  1621. ## summary: Redis&reg; instance {{ "{{ $labels.instance }}" }} down
  1622. ## description: Redis&reg; instance {{ "{{ $labels.instance }}" }} is down
  1623. ## - alert: RedisMemoryHigh
  1624. ## expr: >
  1625. ## redis_memory_used_bytes{service="{{ template "common.names.fullname" . }}-metrics"} * 100
  1626. ## /
  1627. ## redis_memory_max_bytes{service="{{ template "common.names.fullname" . }}-metrics"}
  1628. ## > 90
  1629. ## for: 2m
  1630. ## labels:
  1631. ## severity: error
  1632. ## annotations:
  1633. ## summary: Redis&reg; instance {{ "{{ $labels.instance }}" }} is using too much memory
  1634. ## description: |
  1635. ## Redis&reg; instance {{ "{{ $labels.instance }}" }} is using {{ "{{ $value }}" }}% of its available memory.
  1636. ## - alert: RedisKeyEviction
  1637. ## expr: |
  1638. ## increase(redis_evicted_keys_total{service="{{ template "common.names.fullname" . }}-metrics"}[5m]) > 0
  1639. ## for: 1s
  1640. ## labels:
  1641. ## severity: error
  1642. ## annotations:
  1643. ## summary: Redis&reg; instance {{ "{{ $labels.instance }}" }} has evicted keys
  1644. ## description: |
  1645. ## Redis&reg; instance {{ "{{ $labels.instance }}" }} has evicted {{ "{{ $value }}" }} keys in the last 5 minutes.
  1646. ##
  1647. rules: []
  1648. ## @section Init Container Parameters
  1649. ##
  1650. ## 'volumePermissions' init container parameters
  1651. ## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
  1652. ## based on the *podSecurityContext/*containerSecurityContext parameters
  1653. ##
  1654. volumePermissions:
  1655. ## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
  1656. ##
  1657. enabled: false
  1658. ## Bitnami Shell image
  1659. ## ref: https://hub.docker.com/r/bitnami/bitnami-shell/tags/
  1660. ## @param volumePermissions.image.registry Bitnami Shell image registry
  1661. ## @param volumePermissions.image.repository Bitnami Shell image repository
  1662. ## @param volumePermissions.image.tag Bitnami Shell image tag (immutable tags are recommended)
  1663. ## @param volumePermissions.image.digest Bitnami Shell image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
  1664. ## @param volumePermissions.image.pullPolicy Bitnami Shell image pull policy
  1665. ## @param volumePermissions.image.pullSecrets Bitnami Shell image pull secrets
  1666. ##
  1667. image:
  1668. registry: docker.io
  1669. repository: bitnami/bitnami-shell
  1670. tag: 11-debian-11-r102
  1671. digest: ""
  1672. pullPolicy: IfNotPresent
  1673. ## Optionally specify an array of imagePullSecrets.
  1674. ## Secrets must be manually created in the namespace.
  1675. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  1676. ## e.g:
  1677. ## pullSecrets:
  1678. ## - myRegistryKeySecretName
  1679. ##
  1680. pullSecrets: []
  1681. ## Init container's resource requests and limits
  1682. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  1683. ## @param volumePermissions.resources.limits The resources limits for the init container
  1684. ## @param volumePermissions.resources.requests The requested resources for the init container
  1685. ##
  1686. resources:
  1687. limits: {}
  1688. requests: {}
  1689. ## Init container Container Security Context
  1690. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
  1691. ## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
  1692. ## NOTE: when runAsUser is set to special value "auto", init container will try to chown the
  1693. ## data folder to auto-determined user&group, using commands: `id -u`:`id -G | cut -d" " -f2`
  1694. ## "auto" is especially useful for OpenShift which has scc with dynamic user ids (and 0 is not allowed)
  1695. ##
  1696. containerSecurityContext:
  1697. runAsUser: 0
  1698. ## init-sysctl container parameters
  1699. ## used to perform sysctl operation to modify Kernel settings (needed sometimes to avoid warnings)
  1700. ##
  1701. sysctl:
  1702. ## @param sysctl.enabled Enable init container to modify Kernel settings
  1703. ##
  1704. enabled: false
  1705. ## Bitnami Shell image
  1706. ## ref: https://hub.docker.com/r/bitnami/bitnami-shell/tags/
  1707. ## @param sysctl.image.registry Bitnami Shell image registry
  1708. ## @param sysctl.image.repository Bitnami Shell image repository
  1709. ## @param sysctl.image.tag Bitnami Shell image tag (immutable tags are recommended)
  1710. ## @param sysctl.image.digest Bitnami Shell image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
  1711. ## @param sysctl.image.pullPolicy Bitnami Shell image pull policy
  1712. ## @param sysctl.image.pullSecrets Bitnami Shell image pull secrets
  1713. ##
  1714. image:
  1715. registry: docker.io
  1716. repository: bitnami/bitnami-shell
  1717. tag: 11-debian-11-r102
  1718. digest: ""
  1719. pullPolicy: IfNotPresent
  1720. ## Optionally specify an array of imagePullSecrets.
  1721. ## Secrets must be manually created in the namespace.
  1722. ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  1723. ## e.g:
  1724. ## pullSecrets:
  1725. ## - myRegistryKeySecretName
  1726. ##
  1727. pullSecrets: []
  1728. ## @param sysctl.command Override default init-sysctl container command (useful when using custom images)
  1729. ##
  1730. command: []
  1731. ## @param sysctl.mountHostSys Mount the host `/sys` folder to `/host-sys`
  1732. ##
  1733. mountHostSys: false
  1734. ## Init container's resource requests and limits
  1735. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/
  1736. ## @param sysctl.resources.limits The resources limits for the init container
  1737. ## @param sysctl.resources.requests The requested resources for the init container
  1738. ##
  1739. resources:
  1740. limits: {}
  1741. requests: {}
  1742. ## @section useExternalDNS Parameters
  1743. ##
  1744. ## @param useExternalDNS.enabled Enable various syntax that would enable external-dns to work. Note this requires a working installation of `external-dns` to be usable.
  1745. ## @param useExternalDNS.additionalAnnotations Extra annotations to be utilized when `external-dns` is enabled.
  1746. ## @param useExternalDNS.annotationKey The annotation key utilized when `external-dns` is enabled. Setting this to `false` will disable annotations.
  1747. ## @param useExternalDNS.suffix The DNS suffix utilized when `external-dns` is enabled. Note that we prepend the suffix with the full name of the release.
  1748. ##
  1749. useExternalDNS:
  1750. enabled: false
  1751. suffix: ""
  1752. annotationKey: external-dns.alpha.kubernetes.io/
  1753. additionalAnnotations: {}