{"resourceId":"red-hat-kserve-native-r-model-runtime-openshift-ai-20261119","versions":[{"version":"external-53f3f45f89d29b2a5e09c6e0e518eb0a90e68b14c00b37e884c226784111589b","resource":{"id":"red-hat-kserve-native-r-model-runtime-openshift-ai-20261119","title":"Red Hat Developer publishes a customer-requested path for serving native R models on OpenShift AI through a custom KServe runtime (kserveR) and ModelCar packaging","organization":"Red Hat","sector":"Technology vendor / AI platform engineering","geography":"Global (product engineering guidance)","publishedAt":"19 Nov 2026 (Red Hat Developer article by Anneli Sara Banderby)","publicationDate":"2026-11-19","eventDate":null,"sourceName":"Red Hat Developer","sourceLabel":"Vendor engineering walkthrough","sourceUrl":"https://developers.redhat.com/articles/2026/11/19/deploy-r-models-red-hat-openshift-ai-kserve","evidenceClass":"vendor-claim","outcomeClass":"emerging","topics":["developers-agents","infrastructure","knowledge-work"],"finding":"The article shows how to build a custom KServe serving runtime for R (the kserveR repository from the Red Hat AI services team), package a model as an OCI ModelCar, import the runtime into OpenShift AI and deploy an authenticated InferenceService. The runtime accepts .rds objects with a predict() method (lm, glm, randomForest, ranger, glmnet, rpart, nnet, e1071, MASS, caret, tidymodels), plus .qs2, .rda and .RData; it rebuilds factor columns from the training schema, converts KServe V2 tensors to data frames, exposes Prometheus request metrics and errors out rather than guessing when several candidate model files exist. The worked example is an Iris random-forest model. The author says the workflow came from a customer request and draws on her earlier life-sciences and healthcare work. Cross-check of the linked GitHub repository: 0 stars and 39 commits at retrieval, no licence file visible, and the default prebuilt runtime image is pulled from a personal Quay namespace (quay.io/sara_banderby).","sledRelevance":"Moderate. R is widely used by public-health epidemiologists, state statistical and budget offices and university researchers, whose models often stall before production. This gives agencies and campuses already on OpenShift AI a way to serve R models without rewriting them in Python. No public-sector user is named, and the runtime is a community repository, not a supported product component.","evidence":"Vendor how-to with code; no performance, concurrency, scale or production-use data. Repository observations come from opening the GitHub page.","architectureImplications":"Custom ServingRuntime (UBI 9, R 4.4.2 per the independent recap) registered in OpenShift AI; model shipped separately as an OCI ModelCar under /models; InferenceService exposed via an authenticated route using a service account, role, role binding and token secret; Prometheus metrics at /metrics.","governanceImplications":"Bring-your-own runtimes shift support and patching to the adopter. Model files and runtime images become software artefacts that need provenance, review of baked-in R packages and version control.","securityPrivacyImplications":"Deserialising .rds/.RData objects executes R object methods, so only trusted model files should be loaded; prebuilt images from a personal registry should be rebuilt in the agency registry and scanned. Authentication is configured per InferenceService in the example.","caveats":"Vendor-authored community walkthrough; not a supported OpenShift AI runtime; no performance data; repository is young and unlicensed as viewed; read via WebFetch because curl returned HTTP 403.","streamIds":["red-hat"],"roles":{"sales":"Sales framing: this speaks to analytics teams, not only AI teams. Public-health, statistics and university research groups often have validated R models that never reach production. If the customer already runs OpenShift AI, a short exercise can serve one existing R model behind an authenticated API without a Python rewrite. Position it as a community pattern from Red Hat's field team, not a supported runtime, and do not promise performance, since none was measured.","engineering":"Engineering framing: bring-your-own runtime with clear edges. kserveR loads common R model formats, rebuilds factor levels from the training schema and speaks KServe V2, so OpenShift AI handles routing, scaling and authentication. The adopter owns the runtime image: rebuild it from source in the agency registry rather than pulling the author's personal Quay image, pin the R package set, and load only trusted model files. Test concurrency, because R serving performance is unpublished here.","delivery":"Delivery framing: a one-model production rehearsal. The work is choosing a validated R model, rebuilding the runtime and ModelCar in the customer registry, deploying with authentication, and writing the runbook for patching the R image. Ownership splits between the platform team (runtime, scanning, upgrades) and the analytics team (model files, schema, validation). Acceptance should compare served predictions with the R workbench output on a held-out dataset."},"roleDetails":{"sales":{"customerProblem":"Validated R models in public health, statistics or research stay on workbenches because the production stack expects Python or vendor runtimes.","stakeholders":["Chief data officer / state statistician","Epidemiology or research analytics lead","Platform engineering lead","Information security officer"],"discoveryQuestions":["Which R models are in use for decisions today, and how are results delivered?","Is OpenShift AI already licensed and running?","Who would own patching an R runtime image?","Are model files from trusted, controlled sources only?"],"valueHypothesis":"Serving existing R models through OpenShift AI could shorten the path from validated model to an authenticated API without re-implementation; time savings are unmeasured.","potentialEngagement":"A short exercise deploying one existing R model on OpenShift AI with a rebuilt runtime, authentication and a validation report.","unsupportedClaims":["Red Hat support for the kserveR runtime","Any performance or concurrency figures","Any public-sector deployment","That R deserialisation is safe for untrusted files"]},"engineering":{"fit":"Fits OpenShift AI users with R models (.rds etc.) that need online scoring; poor fit for heavy concurrent workloads until tested, or for models without a predict() method.","architectureIntegration":"Custom KServe ServingRuntime image plus OCI ModelCar; InferenceService with service-account token authentication; Prometheus metrics; registered via oc or the OpenShift AI console.","prerequisites":["OpenShift AI with KServe","Agency container registry","Podman build pipeline","R package list reviewed by security"],"constraints":["Community runtime, not a supported component","No published performance data","Repository young with no visible licence","Single model file per directory"],"security":"Rebuild images from source, scan them, load only trusted model files (R objects can carry code), and require token authentication on every InferenceService.","proofOfValue":["Served predictions match workbench predictions on a held-out set","Load test to the expected request rate","Image scan shows no critical CVEs after rebuild","Unauthenticated requests rejected"]},"delivery":{"work":"Rebuild kserveR and one ModelCar in the customer registry, deploy one R model with authentication, validate outputs and document patching.","dependencies":["OpenShift AI cluster","Registry and build pipeline","Analytics team model and test data","Security review of R packages"],"ownership":"Platform team owns the runtime image and patch cadence; the analytics team owns model files, schemas and validation.","skillsAdoption":"Analysts learn container packaging and ModelCar; platform staff learn R runtime basics.","governanceCheckpoints":["Licence and provenance review of runtime source","Approval of trusted model sources","Production readiness review before external exposure"],"acceptanceCriteria":["Proposed: 100% agreement between served and workbench predictions on the test set","Proposed: runtime image rebuilt from source with no critical CVEs","Proposed: documented patch procedure tested once"],"risks":["Unmaintained community runtime","Loading an untrusted model file","Performance shortfall under load"]}},"retrievedAt":"2026-11-19T22:31:05-06:00","enrichedAt":"2026-11-19T22:40:53-06:00","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Lets R-skilled analysts reach production without retraining in Python, though they need container and Kubernetes basics.","procurementImplications":"No new licence beyond OpenShift AI; support for the custom runtime is not included and must be planned.","operatingModelImplications":"Introduces a shared runtime owned by the platform team and model artefacts owned by analytics teams.","peerReview":"unknown","sourceVerification":{"openedUrl":"https://developers.redhat.com/articles/2026/11/19/deploy-r-models-red-hat-openshift-ai-kserve","referenceExcerpt":"This workflow came from a request from a customer I worked with","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}