Last modified October 26, 2026

Deploy Muster

Applies to self-hosted Muster only. Follow this guide when you operate your own Muster. On the managed Giant Swarm platform, Muster is already deployed for you.

Muster ships as two Helm charts: muster, which runs the aggregator and bundles the MCPServer, Workflow, and WorkflowExecution CustomResourceDefinitions in its crds/ directory, and muster-crds, which carries the same CRDs as a regular chart so Helm can upgrade them. This guide installs both and explains the custom-resource discovery mode the aggregator runs in on a cluster.

For the concepts behind the aggregator, see the architecture overview. To protect the deployed endpoint with single sign-on, continue to set up OAuth.

Prerequisites

  • A management cluster you can deploy to, with the Giant Swarm app platform or Helm available.
  • An ingress controller or Gateway API implementation to expose the aggregator. Production OAuth needs HTTPS.
  • An OIDC provider (Dex on a Giant Swarm cluster) if you plan to protect the endpoint, covered in OAuth setup.

Install the CRDs

The application chart bundles the CRDs in its crds/ directory, so a fresh helm install of muster creates them. Helm never upgrades or deletes files from crds/. If you upgrade with plain Helm and want the CRDs upgraded too, install the muster-crds chart first. With Flux, set install.crds: CreateReplace and upgrade.crds: CreateReplace on the muster HelmRelease instead. Pick one of the two: when both the muster-crds release and the muster release write the CRDs, whichever reconciles last sets their schema.

To manage the CRDs with Helm, install muster-crds before muster:

helm upgrade --install muster-crds \
  oci://gsoci.azurecr.io/charts/giantswarm/muster-crds \
  --namespace muster --create-namespace

The CRDs carry helm.sh/resource-policy: keep, so a later helm uninstall muster-crds leaves them, and every MCPServer, Workflow, and WorkflowExecution resource, in place. Removing them is a deliberate, destructive step that also deletes the dependent resources.

Install the application

helm upgrade --install muster \
  oci://gsoci.azurecr.io/charts/giantswarm/muster \
  --namespace muster

The image comes from gsoci.azurecr.io/giantswarm/muster. On a Giant Swarm management cluster, deploy the charts through the app platform with an App resource managed by your GitOps pipeline, rather than running Helm by hand.

How the aggregator finds resources

The chart renders a config.yaml and runs muster serve --config-path=/etc/muster. Two settings drive discovery:

namespace: muster
kubernetes: true

With kubernetes: true, the aggregator watches the cluster for MCPServer and Workflow resources in namespace and reconciles them live. You add a downstream server by applying an MCPServer resource, and a workflow by applying a Workflow. No restart is needed. namespace defaults to the release namespace, so this configuration watches the muster namespace.

Configure the aggregator endpoint

The aggregator’s HTTP server is configured under muster.aggregator in the values:

muster:
  aggregator:
    port: 8090
    transport: "streamable-http"
  • port: the port the aggregator listens on. The chart’s Service targets the same port.
  • transport: the MCP transport. streamable-http is the default and the right choice for remote clients. sse is also supported.

The aggregator binds to 0.0.0.0 inside the pod and serves the MCP endpoint at /mcp and a health check at /health.

Expose the endpoint

By default the Service is ClusterIP and the aggregator is reachable only inside the cluster. To let IDEs and the developer portal connect, expose it with either Ingress or Gateway API.

ingress:
  enabled: true
  className: "nginx"
  hosts:
    - host: muster.<management-cluster>.<base-domain>
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: muster-tls
      hosts:
        - muster.<management-cluster>.<base-domain>

For Gateway API, set gatewayAPI.enabled: true with at least one gatewayAPI.httpRoute.parentRefs entry and gatewayAPI.httpRoute.hostnames. On Envoy Gateway, also enable gatewayAPI.backendTrafficPolicy with timeout: "0s", because the default fifteen-second backend timeout kills the long-lived streaming connections MCP relies on.

The chart refuses to render an Ingress or HTTPRoute while muster.oauth.server.enabled is false, as the route would accept every request unauthenticated. Either configure OAuth first (see OAuth setup) or, for a deliberate test setup, set muster.oauth.server.acknowledgeUnauthenticatedExposure: true.

Tokens from enterprise single sign-on can carry many group claims and overflow the default ingress header buffers. Raise large_client_header_buffers on the ingress that fronts Muster. The OAuth setup guide covers the symptom and fix.

Verify the deployment

kubectl get pods -n muster
kubectl logs -n muster -l app.kubernetes.io/name=muster -f

Once the pod is ready, check the health endpoint through a port-forward:

kubectl port-forward -n muster svc/muster 8090:8090
curl http://localhost:8090/health

A protected deployment rejects unauthenticated MCP calls, which is expected. The /health endpoint stays open so probes and load balancers can reach it.

Next steps