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

[Docs, Operator] Cache CR Update Strategies

XMLWordPrintable

      JDG-5682 allows users to control how the Cache CR controller handles updates to the spec.template field.

      Users can now specify the following in their Cache CR(s):

      spec: 
        updates: 
          strategy: recreate | retain
      

      The strategies behave as follows:

      "retain" (Default): The cache configuration on the server is updated at runtime if possible, otherwise Cache CR status Ready=False.
      "recreate": The cache configuration on the server is updated at runtime if possible, otherwise it's deleted and a new cache created with the latest spec.template value.

      The "retain" strategy is the behaviour implemented by previous Operator versions and remains the default behaviour if the user does not explicitly define a strategy.

              dvagnero@redhat.com Dominika Borges
              remerson@redhat.com Ryan Emerson
              Pavel Drobek Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: