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

  1. Run the command:
oc project cp4aiops
  1. Followed by:
oc edit iaconfig `oc get iaconfig --no-headers | awk '{print $1}'`
  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

  1. Then, crosscheck the updates using the following command:
oc edit manageservice cam
  1. The results should look like the following:
  camAPI:
    camMongo:
      resources:
        limits:
          cpu: 500m
          memory: 4Gi
        requests:
          cpu: 100m
          memory: 4Gi
  1. Finally, run the command:
oc edit deploy cam-mongo
  1. 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