Remove template overrides from your analytics CR
Pre-10.0.5 analytics CR template overrides are not compatible with 10.0.5 and must be removed.
Edit 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.
#
apiVersion: analytics.apiconnect.ibm.com/v1beta1
kind: AnalyticsCluster
...
spec:
...
template: # REMOVE THIS SECTION
- name: storage-data
containers:
- name: storage-data
env:
- name: ES_JAVA_OPTS
value: "-Xms2g -Xmx2g"
resources:
requests:
memory: 3Gi
limits:
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.