runtime-spec icon indicating copy to clipboard operation
runtime-spec copied to clipboard

Proposal: Add the `update` operation

Open utam0k opened this issue 2 years ago • 1 comments

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

utam0k avatar Feb 28 '23 08:02 utam0k

I can make the draft PR if needed.

utam0k avatar Feb 28 '23 08:02 utam0k