Summary
Verify that Open Interactive Shell works on a Kubernetes-discovered ClusterIP target (reached through a local port-forward tunnel), and decide whether it needs a Kubernetes-aware guard or works as-is via the standard cluster command.
This is task T1 from the PR #621 (Kubernetes service discovery) UX review closeout (§12.1 of docs/ai-and-plans/PRs/621-kubernetes-discovery/bugbash-090-kubernetes-ux-review.md).
Background
After the §9 refactor, the Kubernetes discovery cluster node exposes the standard DocumentDB cluster context menu (Create Database, Copy Connection String, Open Interactive Shell, Data Migration). For ClusterIP services the connection is only reachable through a local port-forward tunnel to 127.0.0.1:<localPort>, which is established on expand/connect. The interactive shell path has not yet been verified live against such a target.
Steps to verify
- Discover a
ClusterIP DocumentDB target on a live cluster (kind/minikube locally, or AKS).
- Expand/connect the node so the port-forward tunnel is established.
- Run Open Interactive Shell on the node.
- Confirm the shell connects against
127.0.0.1:<localPort> and basic commands work.
Acceptance criteria
Pointers
- Node:
src/plugins/service-kubernetes/discovery-tree/KubernetesServiceItem.ts
- Port-forward tunnel:
src/plugins/service-kubernetes/portForwardTunnel.ts, metadata in src/plugins/service-kubernetes/portForwardMetadata.ts
- Related copy path (for reference on how read-only credentials avoid opening a tunnel):
src/commands/copyConnectionString/copyConnectionString.ts
Filed for the 0.9.1 milestone as a follow-up from the Kubernetes discovery UX review (PR #621).
Summary
Verify that Open Interactive Shell works on a Kubernetes-discovered ClusterIP target (reached through a local port-forward tunnel), and decide whether it needs a Kubernetes-aware guard or works as-is via the standard cluster command.
This is task T1 from the PR #621 (Kubernetes service discovery) UX review closeout (§12.1 of
docs/ai-and-plans/PRs/621-kubernetes-discovery/bugbash-090-kubernetes-ux-review.md).Background
After the §9 refactor, the Kubernetes discovery cluster node exposes the standard DocumentDB cluster context menu (Create Database, Copy Connection String, Open Interactive Shell, Data Migration). For
ClusterIPservices the connection is only reachable through a local port-forward tunnel to127.0.0.1:<localPort>, which is established on expand/connect. The interactive shell path has not yet been verified live against such a target.Steps to verify
ClusterIPDocumentDB target on a live cluster (kind/minikube locally, or AKS).127.0.0.1:<localPort>and basic commands work.Acceptance criteria
Pointers
src/plugins/service-kubernetes/discovery-tree/KubernetesServiceItem.tssrc/plugins/service-kubernetes/portForwardTunnel.ts, metadata insrc/plugins/service-kubernetes/portForwardMetadata.tssrc/commands/copyConnectionString/copyConnectionString.tsFiled for the 0.9.1 milestone as a follow-up from the Kubernetes discovery UX review (PR #621).