Update the Analytics CR to scale down the amount of services managing data storage in
your IBM® API
Connect Analytics
deployment.
About this task
For information about reducing storage requirements in your Analytics deployment, see Planning to reduce storage complexity.
Procedure
-
Open the analytics_cr.yaml file for editing.
-
In the
spec
section, replace the existing storage
section in your analytics CR with the following snippet:
storage:
type: shared
shared:
volumeClaimTemplate:
storageClassName: $STORAGE_CLASS
where
$STORAGE_CLASS
is the Kubernetes storage class to be used for persistent
volume claims (for more information, see
Planning the Analytics profile and storage).
Find the available storage classes in the target cluster by running the following command:
kubectl get sc
.
storage:
data:
volumeClaimTemplate:
storageClassName: local-storage
master:
volumeClaimTemplate:
storageClassName: local-storage
-
Save the file.