惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
F
Fortinet All Blogs
J
Java Code Geeks
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
M
MIT News - Artificial intelligence
腾讯CDC
Last Week in AI
Last Week in AI
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
博客园 - 叶小钗
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
人人都是产品经理
人人都是产品经理
L
LangChain Blog
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - defenseunicorns-labs/compose-bridge-uds: a Compo...
willswire · 2026-05-02 · via Hacker News: Show HN

Convert a Docker Compose application into a deployable UDS package using Docker Compose Bridge. The transformation consumes a fully-resolved Compose model and emits a Zarf package definition — Kubernetes manifests plus a UDS Package CR — ready for zarf package create and zarf package deploy.

Important

This is not a supported product pathway. It's an experimental transformation we're sharing to gather signal. If you find it useful — or hit rough edges — please open an issue. Your feedback is what tells us whether to invest further.

Contents

Prerequisites

Quickstart

This walkthrough deploys UDS Core Slim Dev on k3d, then packages and deploys WordPress + MySQL from a Compose file.

1. Stand up a local cluster with UDS Core Slim Dev (skip if you already have one):

uds deploy k3d-core-slim-dev

2. Run the bridge transformation. This writes Kubernetes manifests and a Zarf package definition to out/:

cd examples/simple
docker compose bridge convert -t ghcr.io/defenseunicorns-labs/compose-bridge-uds

3. Build and deploy the Zarf package:

zarf package create out/
zarf package deploy zarf-package-wordpress-*.tar.zst

How it works

The bridge maps the Compose Specification to Kubernetes resources (Deployments, Services, PVCs, ConfigMaps, Secrets) and synthesizes a UDS Package CR for network policy, monitoring, SSO, and trust-bundle distribution. You can guide that synthesis with x-uds extension keys at the top level of your compose.yaml.

Supported Compose configuration

Compose key Behavior
image: Container image reference.
build: Build from a Dockerfile. Run docker compose build before conversion.
Named volumes: Converted to PersistentVolumeClaims (1Gi, ReadWriteOnce by default).
secrets: Converted to Kubernetes Secrets.
configs: Converted to ConfigMaps. Must use inline content: (no external file references).
environment:, env_file: Resolved by docker compose config and injected as container env vars.
depends_on: Converted to init-container wait logic using netcat (busybox). The dependency must declare a port.
healthcheck: CMD and CMD-SHELL forms convert to Kubernetes liveness probes.
deploy.resources limits and reservations map to Pod resource requests/limits.
ports: Services with published ports are auto-exposed via the UDS tenant gateway. expose: (internal-only) ports are not exposed externally.

Unsupported Compose configuration

  • Bind mounts — use Compose configs:, secrets:, or named volumes: instead.
  • External configsconfigs: must define inline content:; external file references are not supported.

UDS Package CR generation

Most of the UDS Package CR is inferred from your Compose model. Reach for x-uds only when you want to override defaults.

Auto-generated

  • Expose — services with published ports: are exposed on the tenant gateway (host = service name, gateway = tenant, selector/podLabels = app.kubernetes.io/name: <service>).
  • Network allow — intra-namespace ingress/egress rules are always included so services in the namespace can communicate.
  • SSO — a Keycloak client is generated for the first exposed service (clientId = project name, redirectUris = https://<host>.uds.dev/*). Omitted when no services are exposed.

Opt-in

  • Monitoring — declare x-uds.monitor[] for any metrics endpoints you want Prometheus to scrape.

Overriding defaults with x-uds

Key Purpose
x-uds.package.name Package name (default: Compose project name).
x-uds.package.namespace Kubernetes namespace (default: Compose project name).
x-uds.package.version Package version (default: 0.1.0).
x-uds.network.expose[] Override expose rules — replaces auto-generation when present. Missing fields (gateway, port, selector, podLabels) are inferred from the service.
x-uds.network.allow[] Additional network allow rules — merged with (and deduplicated against) auto-generated rules.
x-uds.monitor[] Monitor rules for Prometheus scraping. When service is set, missing selector, podSelector, portName, targetPort, path, and kind are inferred from the Compose service.
x-uds.sso[] Override SSO clients — missing fields (clientId, name, redirectUris, enableAuthserviceSelector) are inferred. Set x-uds.sso: [] to disable inferred SSO.
x-uds.caBundle.configMap Customize the operator-managed trust bundle ConfigMap metadata for this package namespace. Renders to spec.caBundle in manifests/uds-package.yaml.

Example — override only the host for an exposed service:

x-uds:
  network:
    expose:
      - service: server
        host: hello-world    # override host (default would be "server")

See examples/full/compose.yaml for a complete working example.

Notes on specific keys

  • x-uds.sso — If omitted, the bridge infers an SSO client for the first exposed service. If explicitly set to an empty list (x-uds.sso: []), inferred SSO is disabled.
  • x-uds.monitor[] — Each entry may be a raw UDS spec.monitor[] item, or may use the bridge-only service key to infer labels and port metadata. For multi-port services, set either portName or targetPort so the bridge picks the intended metrics port.
  • x-uds.caBundle.configMap — Customizes the namespace trust-bundle ConfigMap created by UDS Core. The actual trust bundle contents are configured separately in UDS Core and are not part of the Package CR.

Feedback

This bridge isn't an officially supported pathway, but we genuinely want to know whether it's useful. Open an issue on this repo with your use case, your friction points, or anything you'd like to see work — that's the signal we'll use to decide where this goes next.