Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-9330

There is no official documentation to resize PVs

XMLWordPrintable

    • 3
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      Setting custom storage resources for system databases, except for Redis is possible as described in our GH repository. However our official documentation doesn't have this information.

      For System Shared (RWX) Storage PVC:

      apiVersion: apps.3scale.net/v1alpha1
      kind: APIManager
      metadata:
        name: apimanager1
      spec:
        wildcardDomain: example.com
        system:
          fileStorage:
            persistentVolumeClaim:
              resources:
                requests: 2Gi
      

      For MySQL (RWO) PVC:

      apiVersion: apps.3scale.net/v1alpha1
      kind: APIManager
      metadata:
        name: apimanager1
      spec:
        wildcardDomain: example.com
        system:
          database:
            mysql:
              persistentVolumeClaim:
                resources:
                  requests: 2Gi
      

      PostgreSQL (RWO) PVC

      apiVersion: apps.3scale.net/v1alpha1
      kind: APIManager
      metadata:
        name: apimanager1
      spec:
        wildcardDomain: example.com
        system:
          database:
            postgresql:
              persistentVolumeClaim:
                resources:
                  requests: 2Gi
      

      IMPORTANT NOTE: Storage resource requirements are usually install only attributes. Only when the underlying PersistentVolume's storageclass allows resizing, storage resource requirements can be modified after installation. Check Expanding persistent volumes official doc for more information.

            Unassigned Unassigned
            rhn-support-avilatus Anna Vila Tusell
            Lluis Cavalle Lluis Cavalle
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: