Updating the resource limits for Managed services containers
To begin you need to install the correct version of the container in question, for example "ibm-management-cam-install.vx.xxxxxxx" and then specify the resource limit.
Steps involved in updating the resource limits for the container
- Run the command:
oc project cp4aiops
- Followed by:
oc edit iaconfig `oc get iaconfig --no-headers | awk '{print $1}'`
- Next, update the content under the
ibm-management-cam-install
enablement section.
- enabled: true
name: ibm-management-cam-install
spec:
manageservice:
camAPI:
camMongo:
resources:
limits:
cpu: 500m
memory: 4Gi
requests:
cpu: 100m
memory: 4Gi
- Then, crosscheck the updates using the following command:
oc edit manageservice cam
- The results should look like the following:
camAPI:
camMongo:
resources:
limits:
cpu: 500m
memory: 4Gi
requests:
cpu: 100m
memory: 4Gi
- Finally, run the command:
oc edit deploy cam-mongo
- The results should match the resources you specified in the IAConfig and appear similar to the following:
containers:
resources:
limits:
cpu: 500m
memory: 4Gi
requests:
cpu: 100m
memory: 4Gi