You are using RTF. You are checking the stats for your RTF cluster via the RTF API and want to understand how "allocatedRequestCapacity" and "allocatedLimitCapacity" are calculated.
Here is the official documentation for the RTF API endpoint: link
GET https://anypoint.mulesoft.com/runtimefabric/api/organizations/12345-e6c4-475c-8711-123456/fabrics
{
"id": "f733e07d-fdbb-4f5e-9d47-123456",
"name": "rtftest",
"region": "us-west-1",
"vendor": "gravitational",
"organizationId": "12345-e6c4-475c-8711-123456",
"version": "1.10.26",
"status": "Degraded",
"desiredVersion": "1.10.26",
"createdAt": 1632949546643,
"nodes": [
{
"uid": "12345-2169-11ec-8458-123456",
"name": "172.31.0.114",
"kubeletVersion": "v1.13.13-gravitational.0",
"dockerVersion": "docker://18.6.2",
"role": "controller",
"status": {
"isHealthy": true,
"isReady": true,
"isSchedulable": true
},
"capacity": {
"cpu": 1,
"cpuMillis": 1340,
"memory": "6546Mi",
"memoryMi": 6546,
"pods": 94
},
"allocatedRequestCapacity": {
"cpu": 0,
"cpuMillis": 660,
"memory": "970Mi",
"memoryMi": 970,
"pods": 16
},
"allocatedLimitCapacity": {
"cpu": 3,
"cpuMillis": 3250,
"memory": "2920Mi",
"memoryMi": 2920,
"pods": 16
}
},
kubectl describe nodes 172.31.0.114
Non-terminated Pods: (16 in total) Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits AGE --------- ---- ------------ ---------- --------------- ------------- --- kube-system coredns-sgjbp 100m (5%) 0 (0%) 70Mi (0%) 170Mi (2%) 3h31m kube-system gravity-site-4wqn2 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h30m kube-system log-collector-fc97d699f-wwpls 100m (5%) 500m (25%) 200Mi (2%) 600Mi (7%) 3h29m kube-system log-forwarder-bn7rz 100m (5%) 500m (25%) 200Mi (2%) 600Mi (7%) 3h31m kube-system tiller-deploy-7f5cd54c97-php5g 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h29m monitoring grafana-5fd4fdbd85-rvmgv 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h29m monitoring heapster-5858fcb487-lpgsz 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h29m monitoring influxdb-7754bf8967-w8c8t 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h29m monitoring kapacitor-9d6954f84-mf4fn 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h29m monitoring nethealth-km2d8 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h30m monitoring telegraf-ddbcb564f-5cwfs 0 (0%) 0 (0%) 0 (0%) 0 (0%) 3h29m monitoring telegraf-node-master-5tpct 50m (2%) 100m (5%) 50Mi (0%) 100Mi (1%) 3h30m rtf agent-5586558cd8-j9bpc 100m (5%) 1 (50%) 200Mi (2%) 500Mi (6%) 3h28m rtf cluster-status-1632962400-bwlmb 10m (0%) 100m (5%) 50Mi (0%) 100Mi (1%) 4m13s rtf mule-clusterip-service-755b6fcbbd-7kt5v 50m (2%) 500m (25%) 100Mi (1%) 500Mi (6%) 3h28m rtf resource-cache-79dd694fbf-tkvkr 150m (7%) 550m (27%) 100Mi (1%) 350Mi (4%) 3h28m Allocated resources: (Total limits may be over 100 percent, i.e., overcommitted.) Resource Requests Limits -------- -------- ------ cpu 660m (33%) 3250m (162%) memory 970Mi (12%) 2920Mi (38%) ephemeral-storage 0 (0%) 0 (0%)
001116761

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.