Skip to content

fix(k8s): the portkey gateway reads its routing config in the documented way, or the unused config goes #2046

Closed

Description

@dan-petty

Problem

k8s/llm/portkey/configmap.yaml mounts a routing config at /app/config.json in the Portkey gateway pod. In portkeyai/gateway:1.15.0, /app/build/start-server.js does not contain the string config.json, so the gateway seems never to read that file. Its routes then have no effect on live traffic, and the file is a second, unused copy of the gateway routes.

Found while #1969 was built (its agent read the image in the running pod).

Proposed fix

  • Confirm in the Portkey gateway 1.15.0 source and documentation how the gateway takes a routing config (a request header such as x-portkey-config, or a file).
  • Then either wire the config in the documented way, or delete the ConfigMap and its tests if nothing uses Portkey routing.

Acceptance criteria

  • The Portkey routing config is read by the gateway in the documented way, or it is gone from k8s/llm/portkey/.

Activity

  1. added
    type/bug
    scope/k8s
    on Oct 24, 2026
  2. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

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

    • Priority: P2-Medium. The issue affects functionality of the gateway and its routing, but it is not critical to core operations.
    • Value: Medium. Fixing the routing config ensures that traffic is properly directed according to documented behavior.
    • Effort: Medium. Requires investigation into how the gateway reads configuration and either implementing the correct method or removing unused code.
    • Related: fix(k8s): a changed gateway ConfigMap rolls the gateway deployment, so deploy-stack never leaves a stale pod #1929, which asks for a different change. Both items relate to ConfigMap handling in k8s, but the candidate fixes routing config reading while item 1929 fixes deployment rolling on ConfigMap changes.
  3. added a commit that references this issue on Oct 27, 2026
    15bd601
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

    scope/k8stype/bug

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions