Skip to content

fix(k8s): Roll the MCP server and the LLM gateway with no gap #6066

Closed

Description

@dan-petty

Problem

Two workloads that serve traffic stop their route during a rollout or a node drain:

  • devops/mcp-server runs 1 replica with strategy: Recreate (k8s/devops/mcp-server/deployment.yaml). It holds no volume, and the manifest gives no reason for Recreate. Each release stops the MCP sessions of the running jobs until the new pod is ready. Its probes are TCP only, so a pod that accepts a connection but cannot serve a tool gets traffic.
  • llm/llm-gateway (tier 1, SLO 3 and 4 of k8s/README.md) runs 1 replica and has no PodDisruptionBudget. Its rolling update starts the new pod first, so a release has no gap. But a node drain stops each model call until the pod runs on another node.

The SRE guideline (Change safety) asks for 2 or more replicas, RollingUpdate with maxUnavailable: 0 and a PodDisruptionBudget, or the reason in the product document.

Expected behavior

  • The MCP server rolls with RollingUpdate and maxUnavailable: 0, and its readiness probe calls an HTTP health route of the server.
  • The gateway runs 2 replicas with a PodDisruptionBudget, or docs/CLUSTER.md and k8s/README.md give the reason for 1 replica. A second replica needs the cooldown state of the provider routing (feat(ai): Route around a stalled or offline model provider #5990) to be shared, for example in Valkey, so the design states it.
  • A live check of one release of each shows no failed call from a running job.

Related

Activity

  1. added
    type/bug
    scope/k8s
    source/agent
    status/new
    effort/medium
    value/high
    on Nov 16, 2026
  2. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. Rollout gaps cause failed model calls and lost MCP sessions on a tier-1 service with active SLOs.
    • Related: feat(service): Roll each Service release with no webhook gap #6058, which asks for a different change. Both enforce zero-gap rollout on a single-replica k8s service, but #6058 targets the roadmap Service while this targets the MCP server and the LLM gateway.
  3. added
    priority/p1-high
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 16, 2026
  4. removed
    status/in-review
    on Nov 17, 2026
  5. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-17 01:11 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p1-highscope/k8ssource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions