From the worker node, run the following command to view which CPUs are allocated to the containers that requested dedicated vCPUs.


[root@blr-pc5-ocp2-comp20 core]# cat /var/lib/kubelet/cpu_manager_state | jq .
{
  "policyName": "static",
  "defaultCpuSet": "0-7,9,11,13,15-21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51-59,61,63,65,67-71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103",
  "entries": {
    "0c9dfac6-dc1f-4fab-98f9-32d6ee90dd24": {
      "hpa": "8"
    },
    "3c1948de-e606-4a02-8cf5-bd9d83d67552": {
      "oam-container": "22,24,74,76",
      "rbbn-telemetry-agent": "72"
    },
    "5c1725e4-9f19-46b8-850d-95b48622a756": {
      "cs-container": "12,14,64,66",
      "rbbn-telemetry-agent": "60"
    },
    "9fc7ee4f-be17-4fac-b229-417c53a2c438": {
      "rbbn-cache-proxy": "10,62"
    },
    "ad74f089-a84a-447b-aa0f-e00189080d20": {
      "rbbn-telemetry-agent": "30",
      "rs-container": "26,28,78,80"
    },
    "bcc3e896-1e31-400c-843f-1ecc1932b357": {
      "rbbn-cache": "82"
    },
    "f1cc29c0-0a67-4025-b04b-0fa9c17989de": {
      "isbc-container": "32,34,36,38,40,42,44,46,48,84,86,88,90,92,94,96,98,100",
      "pvclogger-container": "50",
      "rbbn-telemetry-agent": "102"
    }
  },
  "checksum": 3541741708
}
[root@blr-pc5-ocp2-comp20 core]#
  • No labels