Skip to content

feat(daemon): dial each kubernetes session at its own address and pass binding Service metadata - #1682

Merged
edenreich merged 1 commit into
mainfrom
feat/issue-1677-session-address
Nov 2, 2026
Merged

edenreich merged 1 commit into
mainfrom
feat/issue-1677-session-address

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Closes #1677

What

  • address on a kind: kubernetes workspace expands {{.Orchestrator}} per session. A fixed address keeps working.
  • New binding_service.annotations and binding_service.labels on a kubernetes workspace, copied onto each Orchestrator's spec.daemon.binding.service with {{.Orchestrator}} expanded in the values (operator PR feat(orchestrator): pass through binding Service annotations and labels operator#320). The CLI ships no VPN-specific keys.
  • A bad template fails daemon.yaml validation at daemon start. binding_service on a non-kubernetes kind is rejected.
  • Viper's key lowercasing is bypassed for the metadata maps, as it already was for env.
  • The strict-field upgrade hint names v0.33.0 when binding_service is set, v0.29.0 otherwise.
  • docs/daemon.md gets a "Sessions on the VPN" section with a Tailscale and a NetBird setup.

TLS is unchanged: the dial pins the daemon CA and verifies the Orchestrator name, which the pod certificate carries, so the overlay host needs no certificate of its own.

Not verified by hand

  • Tailscale: needs the operator release that ships [FEATURE] Show current version in the chat welcome message #320 (the next after v0.32.0, assumed v0.33.0) and a bump of the cluster's operator first.
  • NetBird: the per-pod DNS name a SidecarProfile peer gets for a Sandbox pod is not checked, the docs say to use whatever name the NetBird setup assigns.

Cross-repo

[DOCS] draft

Title: [DOCS] daemon: per-session address and binding_service on kubernetes workspaces

Body: The CLI's kind: kubernetes workspace now expands {{.Orchestrator}} in address and takes binding_service.annotations / binding_service.labels, passed onto each Orchestrator's binding Service (operator #320). Pages: the daemon / session teleport page and the daemon.yaml reference. Show the Tailscale operator and NetBird setups as in cli docs/daemon.md "Sessions on the VPN". Source: #1677 and this PR.

…s binding Service metadata

A kind: kubernetes workspace's address expands {{.Orchestrator}} per
session, and binding_service.annotations and binding_service.labels land
on each Orchestrator's spec.daemon.binding.service with the same
expansion, so a VPN operator in the cluster can put every session on its
overlay. The CLI ships no VPN-specific keys. A fixed address keeps
working, and a workspace without binding_service keeps working on
operators that predate the field.

Closes #1677
@edenreich
edenreich requested a review from a team as a code owner November 2, 2026 21:51
@github-project-automation github-project-automation Bot moved this to Todo in 2026 Nov 2, 2026
@edenreich edenreich moved this from Todo to QA in 2026 Nov 2, 2026
@edenreich
edenreich merged commit dab8735 into main Nov 2, 2026
1 check passed
@edenreich
edenreich deleted the feat/issue-1677-session-address branch November 2, 2026 23:00
@edenreich edenreich moved this from QA to Done in 2026 Nov 3, 2026
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.241.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

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

1 participant