<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Openclaw on Home</title><link>/tags/openclaw/</link><description>Recent content in Openclaw on Home</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 07 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="/tags/openclaw/" rel="self" type="application/rss+xml"/><item><title>Deploying OpenClaw on OpenShift</title><link>/2026/deploying-openclaw-on-openshift/</link><pubDate>Sun, 07 Jun 2026 00:00:00 +0000</pubDate><guid>/2026/deploying-openclaw-on-openshift/</guid><description>&lt;figure&gt;&lt;img src="/images/posts/post_36/overview.png"data-src="/images/posts/post_36/overview.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;The claw-installer automates the full OpenShift deployment in minutes, including authentication and TLS-terminated route - AI generated&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In this post, I want to describe how to deploy &lt;em&gt;OpenClaw&lt;/em&gt; on OpenShift using a browser-based installer. It is possible to configure OpenClaw to use a self-hosted model endpoint. This post builds on &lt;a href="/2026/running-the-red-hat-ai-inference-server-on-openshift/"&gt;Running the Red Hat AI Inference Server on OpenShift&lt;/a&gt; for the model serving layer and sits alongside the &lt;a href="/2026/deploying-hermes-agent-on-openshift/"&gt;Hermes Agent deployment post&lt;/a&gt; as a second option for running an AI agent on the same cluster.&lt;/p&gt;
&lt;p&gt;The two approaches are different in character. Hermes uses YAML manifests applied to OpenShift, requires a custom ServiceAccount with the &lt;code&gt;anyuid&lt;/code&gt; SCC, and is configured through environment variables and a config file. For OpenClaw it is possible to leverage the &lt;a href="https://github.com/sallyom/claw-installer"&gt;claw-installer&lt;/a&gt; repository, a community supported tool that automates the deployment of OpenClaw on OpenShift. The claw-installer uses a browser-based installer that generates and applies all manifests, runs inside the default &lt;code&gt;restricted-v2&lt;/code&gt; SCC without elevated permissions, and handles OpenShift OAuth authentication automatically through a sidecar container.&lt;/p&gt;
&lt;h2 id="what-is-openclaw"&gt;What is OpenClaw&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://openclaw.ai/"&gt;OpenClaw&lt;/a&gt; is an open-source agent framework designed to run on your own infrastructure. It connects to model providers, integrates with messaging platforms, and exposes a web interface for interacting with an agent.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/steipete"&gt;Peter Steinberger&lt;/a&gt; created OpenClaw in late 2025. The project gained traction quickly: by early 2026 it had become the most-starred software project in GitHub&amp;rsquo;s history, &lt;a href="https://www.star-history.com/blog/openclaw-surpasses-react-most-starred-software/"&gt;overtaking repositories&lt;/a&gt; that had accumulated stars over decades. At the &lt;a href="https://www.youtube.com/watch?v=jw_o0xr8MWU&amp;amp;list=PL5B692fm6--tiaBq8Gc0ZenDDcvk_8vEL"&gt;NVIDIA GTC keynote&lt;/a&gt; in March 2026, NVIDIA CEO Jensen Huang put it directly: &amp;ldquo;OpenClaw is the number one. It is the most popular open-source project in the history of humanity, and it did so in just a few weeks.&amp;rdquo;&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_36/star_history.png"data-src="/images/posts/post_36/star_history.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;GitHub Star History of OpenClaw relative to the Linux and React projects - [Source](https://www.star-history.com/blog/openclaw-surpasses-react-most-starred-software/)&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;The gateway is the always-on component. It manages sessions, routes requests between channels, dispatches tool calls, and emits events. On OpenShift, it runs as a three-container pod: an init container that handles startup configuration, an OAuth-proxy sidecar that ties authentication to the OpenShift OAuth server, and the OpenClaw gateway itself. The pod runs under the default &lt;code&gt;restricted-v2&lt;/code&gt; SCC.&lt;/p&gt;
&lt;p&gt;OpenClaw supports the Model Context Protocol for tool integration. An &lt;code&gt;mcp.json&lt;/code&gt; file placed in the agent workspace directory provisions MCP servers at deploy time, and the installer merges it into the main configuration.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;A running OpenShift cluster. The post &lt;a href="/2026/deploying-openshift-on-aws-with-automated-cluster-provisioning/"&gt;Deploying OpenShift on AWS&lt;/a&gt; covers one way to get there.&lt;/li&gt;
&lt;li&gt;The RHAIIS deployment from &lt;a href="/2026/running-the-red-hat-ai-inference-server-on-openshift/"&gt;Running the Red Hat AI Inference Server on OpenShift&lt;/a&gt; running in the &lt;code&gt;rhaiis&lt;/code&gt; namespace, or an external model provider API key if you prefer a AI model as a service.&lt;/li&gt;
&lt;li&gt;Node.js 22 or later installed locally.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="deploying-openclaw"&gt;Deploying OpenClaw&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create a namespace:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;oc new-project openclaw
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="2"&gt;
&lt;li&gt;Clone the installer:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git clone https://github.com/sallyom/claw-installer.git
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; claw-installer
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="3"&gt;
&lt;li&gt;Start the installer:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm install &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run build &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run dev
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The installer starts a local web server on port 3000. Open &lt;code&gt;http://localhost:3000&lt;/code&gt; in a browser.&lt;/p&gt;
&lt;ol start="4"&gt;
&lt;li&gt;Configure the deployment in the installer UI.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In the Deploy tab, select &lt;strong&gt;OpenShift&lt;/strong&gt; as the deployment target. The installer reads the current &lt;code&gt;oc&lt;/code&gt; context to detect the cluster and active namespace. Fill in the configuration form:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Agent Name:&lt;/strong&gt; a name of your choice for your agent&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Project / Namespace:&lt;/strong&gt; the namespace to deploy the agent into, the installer pre-fills this from the current namespace in the &lt;code&gt;oc&lt;/code&gt; context&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inference providers:&lt;/strong&gt; add one or more model backends, for each provider specify the model endpoint, the model name, and the API key&lt;/li&gt;
&lt;/ul&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_36/claw_installer.png"data-src="/images/posts/post_36/claw_installer.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;OpenClaw Installer available at *localhost:3000*&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;If using RHAIIS as the model provider, the internal service DNS name keeps all model traffic inside the cluster. Retrieve the API key from the &lt;code&gt;rhaiis&lt;/code&gt; namespace before filling in the form:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;MODEL_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;oc get secret vllm-api-key-secret -n rhaiis &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -o &lt;span class="nv"&gt;jsonpath&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;{.data.VLLM_API_KEY}&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; base64 -d&lt;span class="k"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$MODEL_API_KEY&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Set the model endpoint to the internal cluster address:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;http://rhaiis-vllm.rhaiis.svc.cluster.local:8000/v1
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="5"&gt;
&lt;li&gt;Click &lt;strong&gt;Deploy OpenClaw&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The installer generates and applies all manifests against the active cluster context. In the target namespace it creates a ServiceAccount with OpenShift OAuth annotations, secrets for the OAuth client and the gateway token, ConfigMaps for the agent configuration and workspace files, a 10Gi PVC backed by block storage, a Deployment running the three-container pod, a Service, and a TLS-terminated Route using the cluster wildcard certificate.&lt;/p&gt;
&lt;p&gt;Once the pod reaches Running status, the OpenShift Topology view shows the deployment with two services: the gateway on port 18789 and the OAuth proxy on port 8443.&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_36/openclaw_topology.png"data-src="/images/posts/post_36/openclaw_topology.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;The openclaw deployment in the OpenShift Topology view, showing the pod, the gateway service on port 18789 and the OAuth proxy on port 8443 and the route&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;ol start="6"&gt;
&lt;li&gt;Retrieve the gateway token:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;OPENCLAW_HOST&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;oc get route openclaw -n openclaw &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -o &lt;span class="nv"&gt;jsonpath&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;{.spec.host}&amp;#39;&lt;/span&gt;&lt;span class="k"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;OPENCLAW_GATEWAY_TOKEN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;oc get secret openclaw-secrets -n openclaw &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; -o &lt;span class="nv"&gt;jsonpath&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;{.data.OPENCLAW_GATEWAY_TOKEN}&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; base64 -d&lt;span class="k"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;OPENCLAW_HOST : &lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;OPENCLAW_HOST&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;OPENCLAW_GATEWAY_TOKEN : &lt;/span&gt;&lt;span class="si"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;OPENCLAW_GATEWAY_TOKEN&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="7"&gt;
&lt;li&gt;Open the Route in a browser.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;OpenShift OAuth handles authentication automatically. Log in with your cluster credentials when prompted. After login, the OpenClaw gateway dashboard appears. Paste the gateway token into the &lt;strong&gt;Gateway-Token&lt;/strong&gt; field to authenticate the browser session with the running gateway.&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_36/openclaw_gateway.png"data-src="/images/posts/post_36/openclaw_gateway.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;The OpenClaw Gateway-Dashboard after the authentication step, showing the WebSocket connection URL and the Gateway-Token field used to authenticate the browser session&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;ol start="8"&gt;
&lt;li&gt;Approve the pairing in the installer.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Go back to the installer at &lt;code&gt;http://localhost:3000&lt;/code&gt;, open the &lt;strong&gt;Instances&lt;/strong&gt; tab, find the running instance, and click &lt;strong&gt;Approve Pairing&lt;/strong&gt;. This confirms the connection between the local installer session and the cluster deployment.&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_36/openclaw_instances.png"data-src="/images/posts/post_36/openclaw_instances.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;The claw-installer Instances tab showing the openclaw deployment running on OpenShift, with the Approve Pairing control and other management options&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Once the pairing is approved, the web interface is ready. The chat window connects to the configured model backend and the agent shows as ready. The OpenClaw dashboard can be used to further configure the agent, for example adding additional model providers or connecting messaging platforms.&lt;/p&gt;
&lt;figure&gt;&lt;img src="/images/posts/post_36/openclaw_dashboard.png"data-src="/images/posts/post_36/openclaw_dashboard.png"
/&gt;&lt;figcaption&gt;
&lt;h4&gt;OpenClaw Dashboard Overview&lt;/h4&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;The OpenClaw gateway can expose an OpenAI-compatible API, so adding it as a connection in &lt;em&gt;Open WebUI&lt;/em&gt; follows the same steps described in the &lt;a href="/2026/running-the-red-hat-ai-inference-server-on-openshift/"&gt;Running the Red Hat AI Inference Server on OpenShift&lt;/a&gt; and &lt;a href="/2026/deploying-hermes-agent-on-openshift/"&gt;Deploying Hermes Agent on OpenShift&lt;/a&gt; posts.&lt;/p&gt;
&lt;h2 id="conclusion"&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;OpenClaw on OpenShift is a different path compared to the Hermes Agent deployment covered in the previous post. The installer handles all manifest generation from a web form, and the result is a running agent in minutes without writing any YAML. The OpenShift OAuth sidecar covers authentication from the start, using existing cluster credentials rather than a separately managed API key. The pod runs under the default &lt;code&gt;restricted-v2&lt;/code&gt; security policy, which matters in environments where elevated SCCs require explicit approval from a cluster administrator.&lt;/p&gt;
&lt;p&gt;If RHAIIS is already running on the same cluster, pointing OpenClaw at the internal service address keeps all model traffic off the public network. Both agents can run on the same cluster in separate namespaces without any conflict.&lt;/p&gt;
&lt;h2 id="references"&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Running the Red Hat AI Inference Server on OpenShift - &lt;a href="/2026/running-the-red-hat-ai-inference-server-on-openshift/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Deploying Hermes Agent on OpenShift - &lt;a href="/2026/deploying-hermes-agent-on-openshift/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;claw-installer - GitHub repository - &lt;a href="https://github.com/sallyom/claw-installer"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OpenClaw Project website - &lt;a href="https://openclaw.ai/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Peter Steinbergers GitHub Profile - &lt;a href="https://github.com/steipete"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OpenClaw surpasses React as most-starred software on GitHub - &lt;a href="https://www.star-history.com/blog/openclaw-surpasses-react-most-starred-software/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;NVIDIA GTC 2026 Keynote - YouTube - &lt;a href="https://www.youtube.com/watch?v=jw_o0xr8MWU&amp;amp;list=PL5B692fm6--tiaBq8Gc0ZenDDcvk_8vEL"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Nvidia CEO Jensen Huang says OpenClaw is &amp;ldquo;definitely the next ChatGPT&amp;rdquo; - CNBC - &lt;a href="https://www.cnbc.com/2026/03/17/nvidia-ceo-jensen-huang-says-openclaw-is-definitely-the-next-chatgpt.html"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Deploying OpenShift on AWS with Automated Cluster Provisioning - &lt;a href="/2026/deploying-openshift-on-aws-with-automated-cluster-provisioning/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Deploying agents with Red Hat AI: The curious case of OpenClaw - &lt;a href="https://developers.redhat.com/articles/2026/04/14/deploying-agents-red-hat-ai-openclaw"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OpenClaw - GitHub repository - &lt;a href="https://github.com/openclaw/openclaw"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>