<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/llms-on-kubernetes-same-cluster-different-threat-model-pwv5wm3sx" -->

---
title: LLMs on Kubernetes: Same Cluster, Different Threat Model
description: Running LLMs on Kubernetes requires application-layer security controls beyond what Kubernetes provides. The OWASP LLM Top 10 identifies risks like prompt...
canonical: https://daily.dev/posts/llms-on-kubernetes-same-cluster-different-threat-model-pwv5wm3sx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: LLMs on Kubernetes: Same Cluster, Different Threat Model | daily.dev
og:description: Running LLMs on Kubernetes requires application-layer security controls beyond what Kubernetes provides. The OWASP LLM Top 10 identifies risks like prompt...
og:url: https://daily.dev/posts/llms-on-kubernetes-same-cluster-different-threat-model-pwv5wm3sx
og:image: https://api.daily.dev/og/posts/pWv5WM3sX.png
og:image:alt: LLMs on Kubernetes: Same Cluster, Different Threat Model
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.

# LLMs on Kubernetes: Same Cluster, Different Threat Model

**[MetalBear](https://daily.dev/sources/metalbear)** · 18 min read · 1 upvotes · 0 comments

## Summary

Running LLMs on Kubernetes requires application-layer security controls beyond what Kubernetes provides. The OWASP LLM Top 10 identifies risks like prompt injection, sensitive data leakage, supply chain vulnerabilities, and excessive tool permissions. An LLM gateway acts as a policy enforcement layer, validating inputs, filtering outputs, restricting model access, and controlling tool permissions. The article demonstrates building a reference gateway implementation, using mirrord for fast local development against cluster resources, and Cloudsmith for model artifact governance with versioning and access controls.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://metalbear.com/blog/llm-kubernetes-security/>

## Similar posts on daily.dev

- [LLMs on Kubernetes Part 1: Understanding the threat model](https://daily.dev/posts/llms-on-kubernetes-part-1-understanding-the-threat-model-wl0wr4hgf) · CNCF · 37 upvotes · 0 comments
- [The LLM Gateway Pattern: Why Every Kubernetes-Based AI App Needs One](https://daily.dev/posts/the-llm-gateway-pattern-why-every-kubernetes-based-ai-app-needs-one-isxnljenb) · freeCodeCamp · 4 upvotes · 0 comments
- [How to route external and local LLMs with Models-as-a-Service](https://daily.dev/posts/how-to-route-external-and-local-llms-with-models-as-a-service-ufwzx55fl) · Red Hat Developer · 0 upvotes · 0 comments
- [Large Language Model \(LLM\) integration risks for SaaS and enterprise](https://daily.dev/posts/large-language-model-llm-integration-risks-for-saas-and-enterprise-cn1znviyb) · Security Boulevard · 2 upvotes · 0 comments
- [Untitled](https://daily.dev/posts/untitled-32cinyywt) · SitePoint · 0 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/llms-on-kubernetes-same-cluster-different-threat-model-pwv5wm3sx)

```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":"LLMs on Kubernetes: Same Cluster, Different Threat Model","url":"https://daily.dev/posts/llms-on-kubernetes-same-cluster-different-threat-model-pwv5wm3sx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/llms-on-kubernetes-same-cluster-different-threat-model-pwv5wm3sx"},"datePublished":"2026-02-10T15:07:02.314Z","dateModified":"2026-02-10T15:07:27.329Z","description":"Running LLMs on Kubernetes requires application-layer security controls beyond what Kubernetes provides. The OWASP LLM Top 10 identifies risks like prompt...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ab1e4d7cf3533860e4ae8756bb171e50?_a=AQAEunF","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ab1e4d7cf3533860e4ae8756bb171e50?_a=AQAEunF","isAccessibleForFree":true,"articleSection":"MetalBear","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":"MetalBear","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3165f5f876b147e2a160f4bf0fcaa13a","url":"https://daily.dev/sources/metalbear"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/llms-on-kubernetes-same-cluster-different-threat-model-pwv5wm3sx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,python,devops,kubernetes,llm","timeRequired":"PT18M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"MetalBear","item":"https://daily.dev/sources/metalbear"},{"@type":"ListItem","position":3,"name":"LLMs on Kubernetes: Same Cluster, Different Threat Model"}]}
```

