runtime-spec
runtime-spec copied to clipboard
Proposal: Add the `update` operation
How about adding the update operation, which is used in the real world, if you don't mind me asking?[^1][^2] https://github.com/opencontainers/runtime-spec/blob/main/runtime.md#operations [^1]: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/1287-in-place-update-pod-resources#cri-changes [^2]: https://github.com/containerd/containerd/blob/a5a4c9ce04d11f4437263b14a2b7b3b8a21e8a0c/pkg/process/init.go#L466
Also, we already have checkBeforeUpdate for the update operation.
https://github.com/opencontainers/runtime-spec/blob/main/config-linux.md#memory
I can make the draft PR if needed.