Support volume type "image" for volume mounting
In what area(s)?
/area API
Describe the feature
Kubernetes 1.31 introduces a new volume type "image" which allows the direct mount of OCI container images into a Pod. According to https://knative.dev/docs/serving/services/storage/ volume mounts are supported in Knative, but the type "image" is missing.
The "image" type should be added to the allow-list for possible types so that this new K8s feature can be used.
KServe would need this for introducing such image mounts for mounting model data stored in OCI images --> https://github.com/kserve/kserve/issues/3908
As a side note we are a bit behind on tested versions (1.28, 1.29) and also we are not on 1.31 from an api pov (1.30). As it is mentioned Image type was introduced in 1.31 and it is Alpha in 1.31 https://kubernetes.io/docs/concepts/storage/volumes/#image so I guess it is a bit early but we will track it.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
/remove-lifecycle stale
I've started working on this issue.
I wrote a blog post about this feature, but I really want to use image volumes with Knative. https://qiita.com/kahirokunn/items/7945dbc0e0f8a5f5e25c
Being able to separate runtime and code is the dawn of a wonderful new era.