Remove template overrides from your analytics CR

If you are upgrading to v10.0.5.4 or earlier, remove any analytics CR template overrides. Pre-10.0.5 analytics CR template overrides are not compatible with 10.0.5 and must be removed.

If you are upgrading to v10.0.5.5 or later, then template overrides are automatically removed in the upgrade, and no action is needed. If you are upgrading to v10.0.5.4 or an earlier v10.0.5 fix pack, then review your analytics CR and if it has a template: section, remove this section. For example:
kubectl edit a7s -n <namespace>
Remove the template: section:
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
kind: AnalyticsCluster
  template:  # REMOVE THIS SECTION
  - name: storage-data
    - name: storage-data
      - name: ES_JAVA_OPTS
        value: "-Xms2g -Xmx2g"
          memory: 3Gi                    
          memory: 4Gi                    
In this example, the template section specified custom memory allocations for internal analytics processes. These settings are applicable only to pre-v10.0.5 analytics deployments. v10.0.5 has additional deployment profiles that provide increased memory allocations: Analytics component deployment profile limits.