API Connect

 View Only
Expand all | Collapse all

restricting the apic application to use specific number of cpu's from underlying machine

  • 1.  restricting the apic application to use specific number of cpu's from underlying machine

    Posted Fri July 01, 2022 05:59 AM
    We are using api connect. We have restricted the namespaces in which we deployed the apic to use 8 vcpu's from underlying machine .
    Is this the right way of restricting the app to use the cpu's from the underlying machine to ensure we are not breaching the licenses.
    v2018.4.1.x AWS/ Kubernetes

    Is there any other way of doing the same to remain complaint with respect to license usage.


    ------------------------------
    Luca Cappelletti
    ------------------------------


  • 2.  RE: restricting the apic application to use specific number of cpu's from underlying machine
    Best Answer

    Posted Mon July 04, 2022 03:35 AM
    Edited by Jina K Thu July 07, 2022 03:22 PM

    Hi Luca,

    Have you considered setting limits on the Gateway?

    Here is a snippet from the Gateway yaml file we have in place. The profile we have for one of our Gateway is "n1xc4.m8"

    spec:
      template:
      - name: datapower
        containers:
        - name: gateway
          resources:
            limits:
              memory: 16Gi
              cpu: 8
            requests:
              memory: 8Gi
              cpu: 4


    ------------------------------
    Rosh
    ------------------------------