Override KServe configuration
You can override KServe settings to customize your model-serving environment.
Follow the general steps for your operating system.
- Option 1
-
-
Make a copy of the existing
inferenceservice-configconfig map file in theredhat-ods-applicationsnamespace. -
Edit the settings you want to change.
-
Overwrite the existing
ConfigMapobject. -
Restart KServe by either deleting the pod or scaling the
Deploymentpod parameter down to0and then back up to1.
-
- Option 2
-
-
Copy the
/usr/lib/microshift/manifests.d/010-microshift-ai-model-serving-kserve/inferenceservice-config-microshift-patch.yamlconfig map file. -
Edit the settings you want to change.
-
Apply the
ConfigMapobject. -
Restart KServe by either deleting the pod or scaling the
Deploymentpod parameter down to0and then back up to1.
-
- For RHEL for Edge and image mode for RHEL systems
-
-
Create a new manifest with the
ConfigMapfile, based on either the/usr/lib/microshift/manifests.d/010-microshift-ai-model-serving-kserve/inferenceservice-config-microshift-patch.yamlorinferenceservice-configfile, in theredhat-ods-applicationsnamespace. -
Place the new manifest in the
/usr/lib/microshift/manifests.d/directory. Staring with prefix011is recommended so that your manifest is applied after the/usr/lib/microshift/manifests.d/010-microshift-ai-model-serving-kserve/directory contents.
-