Skip to content

[FEATURE] kubernetes workspace: per-session address and binding Service metadata #1677

Description

@edenreich

Summary

A kind: kubernetes workspace reaches a session's pod daemon through a port-forward, or through address, which is one fixed host for every session of the workspace. On a cluster where a VPN operator puts each session on its overlay, the workspace should dial the session there instead. The CLI should know no VPN for that. daemon.yaml supplies whatever that VPN's operator reads, and the CLI passes it on.

Examples of what a user would put there:

  • Tailscale: tailscale.com/expose: "true" and tailscale.com/hostname: "{{.Orchestrator}}", with address: "{{.Orchestrator}}.<tailnet>.ts.net:52789".
  • NetBird: no Service metadata. A SidecarProfile selecting inference-gateway.com/workspace: <name> injects a peer into every session pod, since Sandbox pods carry the Orchestrator's labels. address then names that peer's DNS name. What label the injected peer gets per pod still needs checking.

TLS keeps verifying whatever host the dial uses. ClientForKubernetes pins the daemon CA and forces ServerName to the Orchestrator name, which the pod certificate carries as a SAN. The kube API stays in use for the Orchestrator's lifecycle.

Acceptance Criteria

  • address on a kubernetes workspace expands {{.Orchestrator}} per session, and a fixed address keeps working
  • binding_service.annotations and binding_service.labels reach each Orchestrator as given, with {{.Orchestrator}} expanded, and the CLI ships no VPN-specific keys
  • A teleport dials the session at its overlay name with no port-forward, checked with Tailscale and with NetBird
  • docs/daemon.md shows both setups
  • The Service metadata needs [FEATURE] Orchestrator: pass-through annotations and labels on the binding Service operator#318 released. The NetBird path may not.

Activity

  1. added
    enhancement
    on Nov 2, 2026
  2. added theissue type on Nov 2, 2026
  3. changed the title [-][FEATURE] kubernetes workspace: reach each session at its own tailnet name[/-] [+][FEATURE] kubernetes workspace: per-session address and binding Service metadata[/+] on Nov 2, 2026
  4. moved this from Todo to QA in 2026on Nov 2, 2026
  5. added a commit that references this issue on Nov 2, 2026
    dab8735
  6. moved this from QA to Done in 2026on Nov 3, 2026
  7. inference-gateway-releaser commented on Nov 3, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.241.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

    enhancementreleased

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions