pega-helm-charts icon indicating copy to clipboard operation
pega-helm-charts copied to clipboard

Add storageClass configuration in the helm chart

Open alemax22 opened this issue 2 years ago • 1 comments

Describe the bug We are not able to pass a custom storage class for the search volumeClaim and our volume claim systems needs this configuration parameter. This prevents us from deploying the cluster to our current productive Kubernetes environment.

To Reproduce Try Deploying cluster with custom volumeClaim for the search pod.

Expected behavior Expose the configuration of the volumeClaim class for the search pods in the helm chart

Chart version v2.1.1

Server (if applicable, please complete the following information):

  • OS: Ubuntu 18.04
  • Environment: Open Source Kubernetes 1.22
  • Database: PostgreSQL

Additional context None

alemax22 avatar Jul 22 '22 15:07 alemax22

Thanks for bringing this up Alessandro, we'll add this

RyanStan avatar Jul 26 '22 19:07 RyanStan

This would also be useful for pega tiers, for Stream or in case any other volume claim is required for some reason.

maracle6 avatar Nov 18 '22 14:11 maracle6

The use case was addressed in ISSUE-439

arvasrikanth avatar Jul 19 '23 10:07 arvasrikanth

The issue is still present in the v.3.1.0 chart, have you added the possibility to change the storage class of the volume claims associated to the search pod?

alemax22 avatar Jul 19 '23 22:07 alemax22

You should be able to configure it using the storageClassName element.

https://github.com/pegasystems/pega-helm-charts/blob/28937d96ebb2383fd5e57b9f6d3e727b3e3177d9/charts/pega/values.yaml#L29

maracle6 avatar Jul 19 '23 22:07 maracle6

The issue is still present in the v.3.1.0 chart, have you added the possibility to change the storage class of the volume claims associated to the search pod?

Yes

arvasrikanth avatar Jul 20 '23 05:07 arvasrikanth

Ok, thank you, and where is the right place to set the storage size for the search pods? because the: volumeClaimTemplate.resources.requests.storage under the pegasearch part of the chart is not working...

alemax22 avatar Jul 20 '23 08:07 alemax22