You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: keps/sig-node/20200619-provisioning-resources-with-numa-topology.md
+32-11Lines changed: 32 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,12 +86,33 @@ system allocatable resources.
86
86
87
87
### Design based on CRI
88
88
89
-
TODO here should be description of daemonset and how it
90
-
interacts with container runtime daemon through CRI
89
+
The containerStatusResponse returned as a response to the ContainerStatus rpc contains `Info` field which is used by the container runtime for capturing ContainerInfo.
90
+
```go
91
+
message ContainerStatusResponse {
92
+
ContainerStatus status = 1;
93
+
map<string, string> info = 2;
94
+
}
95
+
```
96
+
97
+
Containerd has been used as the container runtime in the initial investigation. The internal container object info
- Parsing the info field to obtain container resource information
103
+
- Identifying NUMA nodes of the allocated resources
104
+
- Identifying total number of resources allocated on a NUMA node basis
105
+
- Detecting Node resource capacity on a NUMA node basis
106
+
- Updating the CRD instance per node indicating available resources on NUMA nodes, which is referred to the scheduler
107
+
108
+
109
+
#### Drawbacks
110
+
111
+
The content of the `info` field is free form, unregulated by the API contract. So, CRI-compliant container runtime engines are not required to add any configuration-specific information, like for example cpu allocation, here. In case of containerd container runtime, the Linux Container Configuration is added in the `info` map depending on the verbosity setting of the container runtime engine.
112
+
113
+
There is currently work going on in the community as part of the the Vertical Pod Autoscaling feature to update the ContainerStatus field to report back containerResources
0 commit comments