Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-5989

[Operator] Configuration spec.autoscale should not be possible with a DataGrid service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Optional Optional
    • RHDG Operator CSV 8.4.2 GA
    • Operator
    • None

      This is allowed nowadays - and no warning is issued - but autoscaling is not valid:

        spec:
          autoscale:
            maxMemUsagePercent: 70
            maxReplicas: 4
            minMemUsagePercent: 30
            minReplicas: 2
          configListener:
            enabled: true
          container:
            cpu: 1000m
            extraJvmOpts: -XX:NativeMemoryTracking=summary
            memory: 2Gi
          replicas: 2
          security:
            endpointAuthentication: true
            endpointEncryption:
              certSecretName: rh-infinispan-cert-secret
              certServiceName: service.beta.openshift.io
              clientCert: None
              type: Service
            endpointSecretName: rh-infinispan-generated-secret
          service:
            container:
              storage: 1Gi
            replicationFactor: 2
            type: DataGrid <------------------------------------------ datagrid
          upgrades:
            type: Shutdown

              vrigamon@redhat.com Vittorio Rigamonti
              fdemeloj1@redhat.com Francisco De Melo Junior
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: