Skip to content

feat(k8s): the 48 GiB and 64 GiB Ollama tiers serve qwen3.8:27b alone #3567

Closed

Description

@dan-petty

Problem or Motivation

The owner asks: "Standardize the 48 and 64 gib vram ollama tiers to use qwen3.8:27b with max context, keep it loaded, and not run any other models until the configuration changes."

Today the tiers ollama-48gib (node with 2 RTX 3090) and ollama-64gib (node with 2 Tesla V100) serve more than one model:

  • ollama-48gib: qwen3.8:27b, qwen3-coder:30b and gemma4:31b, and the embedding model qwen3-embedding:0.6b beside them. OLLAMA_MAX_LOADED_MODELS is 2 and no keep-alive is set.
  • ollama-64gib: the same set, and the 70B models deepseek-r1:70b. OLLAMA_CONTEXT_LENGTH is 160000 because of the 70B models.

A swap between models drops the KV cache and loads the weights again. #3485 shows slow devops-coder replies on ollama-48gib-fast while a second chat model shares the tier. This item removes the second model for good, so a reply never waits for a swap.

Related: #3485

Proposed Solution & Architectural Design

  • The tiers ollama-48gib and ollama-64gib serve ollama_chat/qwen3.8:27b alone.
  • OLLAMA_CONTEXT_LENGTH is the native limit of the model (262144, from ollama show) on both tiers, with OLLAMA_NUM_PARALLEL 1. The largest length that the evidence supports is used on a tier that cannot hold it.
  • OLLAMA_KEEP_ALIVE is -1 and OLLAMA_MAX_LOADED_MODELS is 1 on both tiers.
  • The gateway sends no other model to these tiers. A virtual model name that a client uses (devops-coder, devops-reasoning, devops-review) names qwen3.8:27b. A route that no client needs is deleted, and the embedding deployments on these tiers are deleted. Embeddings keep ollama-24gib-embed-gpu0, -gpu1 and ollama-16gib-fast.
  • A test of the rendered manifests and of the gateway config fails if a second model returns to these tiers.
  • The same pull request replaces qwen3-coder:30b by qwen3.8:27b in tasks, defaults and documents (owner decision), and removes the old name.

Nothing is applied to the cluster by hand. Argo CD deploys the merged change.

Target Subsystem

Kubernetes & Minikube Automation

Existing Tool Considered

Ollama settings (OLLAMA_KEEP_ALIVE, OLLAMA_MAX_LOADED_MODELS, OLLAMA_CONTEXT_LENGTH) and the LiteLLM model list. The existing devops ai gateway render and its tests stay. Nothing new is built.

Activity

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

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P2-Medium. It removes a measured source of slow replies on two production tiers, but it is an optimisation, not an outage fix.
    • Value: Medium. Users on the 48 and 64 GiB tiers stop waiting for model swaps on every reply.
    • Effort: Medium. It touches manifests, gateway config, task defaults, documents, and adds a regression test, but builds on existing tooling.
    • Related: fix(k8s): the coder tier serves no second chat model #3485, which asks for a different change. Both ensure a tier serves one chat model to avoid KV-cache swap, but #3485 targets ollama-48gib-fast while the candidate targets ollama-48gib and ollama-64gib and also sets context length, keep-alive, removes embeddings, and replaces the mo
  3. added
    priority/p2-medium
    owner/agent
    status/in-review
    and removed
    status/new
    on Nov 5, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 5, 2026
  5. devops-cli-service commented on Nov 5, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-05 03:28 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/p2-mediumscope/k8ssource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions