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
I am creating this issue to track the remaining rpcs in the Task trait that containerd-shim-wasm hasn't implemented yet. Some are worth to implement and others aren't (like ResizePty). I am particularly interested to see Stats being implemented so that the shim could return the cgroup stats of a running container back to containerd.
The Task service
// Shim service is launched for each container and is responsible for owning the IO// for the container and its additional processes. The shim is also the parent of// each container and allows reattaching to the IO and receiving the exit status// for the container processes.serviceTask {
rpcState(StateRequest) returns (StateResponse);
rpcCreate(CreateTaskRequest) returns (CreateTaskResponse);
rpcStart(StartRequest) returns (StartResponse);
rpcDelete(DeleteRequest) returns (DeleteResponse);
rpcPids(PidsRequest) returns (PidsResponse);
rpcPause(PauseRequest) returns (google.protobuf.Empty);
rpcResume(ResumeRequest) returns (google.protobuf.Empty);
rpcCheckpoint(CheckpointTaskRequest) returns (google.protobuf.Empty);
rpcKill(KillRequest) returns (google.protobuf.Empty);
rpcExec(ExecProcessRequest) returns (google.protobuf.Empty);
rpcResizePty(ResizePtyRequest) returns (google.protobuf.Empty);
rpcCloseIO(CloseIORequest) returns (google.protobuf.Empty);
rpcUpdate(UpdateTaskRequest) returns (google.protobuf.Empty);
rpcWait(WaitRequest) returns (WaitResponse);
rpcStats(StatsRequest) returns (StatsResponse);
rpcConnect(ConnectRequest) returns (ConnectResponse);
rpcShutdown(ShutdownRequest) returns (google.protobuf.Empty);
}
I am creating this issue to track the remaining rpcs in the Task trait that
containerd-shim-wasm
hasn't implemented yet. Some are worth to implement and others aren't (likeResizePty
). I am particularly interested to seeStats
being implemented so that the shim could return the cgroup stats of a running container back to containerd.The Task service
from https://github.com/containerd/containerd/blob/main/api/runtime/task/v2/shim.proto#L29C3-L51
What's missing from
containerd-shim-wasm
checkpoint()
from Task trait #222close_io()
from Task trait #223Stats()
from Task trait #208The text was updated successfully, but these errors were encountered: