<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev" -->

---
title: Deploy NeMo Guardrails on Red Hat OpenShift AI | daily.dev
description: A step-by-step guide walks through deploying a NeMo Guardrails configuration to production on Red Hat OpenShift AI, the final part of a three-part series on...
canonical: https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Deploy NeMo Guardrails on Red Hat OpenShift AI | daily.dev
og:description: A step-by-step guide walks through deploying a NeMo Guardrails configuration to production on Red Hat OpenShift AI, the final part of a three-part series on...
og:url: https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev
og:image: https://api.daily.dev/og/posts/vzGBMrJev.png
og:image:alt: Deploy NeMo Guardrails on Red Hat OpenShift AI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy NeMo Guardrails on Red Hat OpenShift AI

**[Red Hat Developer](https://daily.dev/sources/rhdev)** · 6 min read · 0 upvotes · 0 comments

## Summary

A step-by-step guide walks through deploying a NeMo Guardrails configuration to production on Red Hat OpenShift AI, the final part of a three-part series on local guardrail development and evaluation. It covers prerequisites (OpenShift AI 3.5+), creating a configmap from local config files, defining a NemoGuardrails custom resource with authentication enabled, generating service account tokens, and testing the deployed server with curl requests to verify prompt injection detection and auth enforcement. NeMo Guardrails became a generally available component of OpenShift AI as of version 3.4, built on the open source NeMo Guardrails server distinct from NVIDIA's licensed Guardrails Microservice.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://developers.redhat.com/articles/2026/09/09/deploy-nemo-guardrails-on-red-hat-openshift-ai>

## Questions this post answers

### Do I need a separate NVIDIA license to use NeMo Guardrails on Red Hat OpenShift AI?

No additional NVIDIA licensing is required as of OpenShift AI 3.4, since NeMo Guardrails became a generally available platform component built on the fully open source NeMo Guardrails server. This differs from NVIDIA's separately licensed Guardrails Microservice, which adds proprietary algorithms and features not included in the open source version.

_Teams evaluating LLM guardrail licensing costs can track platform updates like this on daily.dev._

### How do I deploy a NeMo Guardrails configuration to a Red Hat OpenShift AI cluster?

Create a configmap from your local NeMo Guardrails configuration files, then apply a NemoGuardrails custom resource referencing that configmap, which tells the TrustyAI operator to create a managed deployment. Setting the annotation security.opendatahub.io/enable-auth to true adds authentication, and any user with view access to the namespace can reach the server route via a generated service account token.

_Developers moving guardrail configs from local testing to production can follow deployment workflows like this via daily.dev._

### How do you enable authentication on a NeMo Guardrails deployment in OpenShift AI?

Add the annotation security.opendatahub.io/enable-auth: "true" to the NemoGuardrails custom resource, which restricts access to users with view permissions on the namespace. You can also create a dedicated service account with a view rolebinding and generate a token with oc create token, which by default expires after 168 hours (7 days), adjustable via the duration flag.

_Engineers securing internal AI safety endpoints can keep up with configuration patterns like this on daily.dev._

## Similar posts on daily.dev

- [Add NeMo Guardrails to a LangGraph agent on OpenShift AI](https://daily.dev/posts/add-nemo-guardrails-to-a-langgraph-agent-on-openshift-ai-bungs4u8w) · Red Hat Developer · 0 upvotes · 0 comments
- [Developing LLM guardrail configs locally with NeMo Guardrails](https://daily.dev/posts/developing-llm-guardrail-configs-locally-with-nemo-guardrails-mojfzkrcn) · Red Hat Developer · 0 upvotes · 0 comments
- [How to Self-Host a Validated AI Coding Assistant with NVIDIA NeMo Guardrails](https://daily.dev/posts/how-to-self-host-a-validated-ai-coding-assistant-with-nvidia-nemo-guardrails-r5uow8grh) · NVIDIA Developer · 0 upvotes · 0 comments
- [Configure input guardrails for an OpenShift AI voice agent](https://daily.dev/posts/configure-input-guardrails-for-an-openshift-ai-voice-agent-etxmshydw) · Red Hat Developer · 1 upvotes · 0 comments
- [Red Hat launches unified platform for deploying and managing AI models, agents, and apps](https://daily.dev/posts/red-hat-launches-unified-platform-for-deploying-and-managing-ai-models-agents-and-apps-e1iaecils) · SD Times · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#kubernetes](https://daily.dev/tags/kubernetes), [#mlops](https://daily.dev/tags/mlops)

[View this post on daily.dev](https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Deploy NeMo Guardrails on Red Hat OpenShift AI","url":"https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev"},"datePublished":"2026-09-09T15:34:13.972Z","dateModified":"2026-09-09T15:34:38.493Z","description":"A step-by-step guide walks through deploying a NeMo Guardrails configuration to production on Red Hat OpenShift AI, the final part of a three-part series on...","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"Red Hat Developer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Red Hat Developer","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/2a8895f3216c4900bdc455585a4ad3e4","url":"https://daily.dev/sources/rhdev"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,kubernetes,mlops","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Red Hat Developer","item":"https://daily.dev/sources/rhdev"},{"@type":"ListItem","position":3,"name":"Deploy NeMo Guardrails on Red Hat OpenShift AI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/deploy-nemo-guardrails-on-red-hat-openshift-ai-vzgbmrjev#faq","mainEntity":[{"@type":"Question","name":"Do I need a separate NVIDIA license to use NeMo Guardrails on Red Hat OpenShift AI?","acceptedAnswer":{"@type":"Answer","text":"No additional NVIDIA licensing is required as of OpenShift AI 3.4, since NeMo Guardrails became a generally available platform component built on the fully open source NeMo Guardrails server. This differs from NVIDIA's separately licensed Guardrails Microservice, which adds proprietary algorithms and features not included in the open source version. Teams evaluating LLM guardrail licensing costs can track platform updates like this on daily.dev."}},{"@type":"Question","name":"How do I deploy a NeMo Guardrails configuration to a Red Hat OpenShift AI cluster?","acceptedAnswer":{"@type":"Answer","text":"Create a configmap from your local NeMo Guardrails configuration files, then apply a NemoGuardrails custom resource referencing that configmap, which tells the TrustyAI operator to create a managed deployment. Setting the annotation security.opendatahub.io/enable-auth to true adds authentication, and any user with view access to the namespace can reach the server route via a generated service account token. Developers moving guardrail configs from local testing to production can follow deployment workflows like this via daily.dev."}},{"@type":"Question","name":"How do you enable authentication on a NeMo Guardrails deployment in OpenShift AI?","acceptedAnswer":{"@type":"Answer","text":"Add the annotation security.opendatahub.io/enable-auth: \"true\" to the NemoGuardrails custom resource, which restricts access to users with view permissions on the namespace. You can also create a dedicated service account with a view rolebinding and generate a token with oc create token, which by default expires after 168 hours (7 days), adjustable via the duration flag. Engineers securing internal AI safety endpoints can keep up with configuration patterns like this on daily.dev."}}]}
```

