milvus-operator
milvus-operator copied to clipboard
rfe: add support for customizing the `runtimeClassName` and `hostIPC` fields of the pod spec for all components
In order to expose custom runtimes and ipc capabilities into the milvus component pods, I would need the ability to customize the runtimeClassName and hostIPC fields of the pod templates for each of the components.
Looking at the code, it seems all that would be needed would be for those fields to be added to the component types here:
https://github.com/zilliztech/milvus-operator/blob/main/apis/milvus.io/v1beta1/components_types.go#L47
And then I believe maybe this section of code as well:
https://github.com/zilliztech/milvus-operator/blob/main/pkg/controllers/deployment_updater.go#L185-L196