helm3-charts icon indicating copy to clipboard operation
helm3-charts copied to clipboard

Nexus IQ chart: Data and Logs PVCs share the same storageSize value

Open fbordallo opened this issue 3 years ago • 1 comments
trafficstars

On Nexus IQ helm chart, data and log persistent volume claims will request storage based on .Values.persistence.storageSize. The chart should allow to specify different storageSize for these different PVCs. For example, you may want to deploy with 1GB for logs and 1000GB for data. Currently, if storageSize is 1000Gi the storage class might provision 2 disks of 1000Gi which is a waste.

fbordallo avatar Oct 27 '22 08:10 fbordallo

Why is this still not fixed? This can be done with a helm post renderer, in this code it was done using flux, but post renderers can be passed in on the command line as well.

  postRenderers:
  - kustomize:
      patches:
      - target:
          kind: PersistentVolumeClaim
          name: nexus-iq-nexus-iq-server-log
        patch: |
          - op: replace
            path: /spec/resources/requests/storage
            value: 10Gi

ke5C2Fin avatar Oct 25 '24 15:10 ke5C2Fin