Skip to content

Commit

Permalink
Update Attach to Kubernetes docs (microsoft/vscode-remote-release#6054)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Sep 17, 2024
1 parent 3614399 commit 37b0665
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/devcontainers/attach-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Variables can be referenced in certain string values in attached configuration f

## Attach to a container in a Kubernetes cluster

To attach to a container in a Kubernetes cluster, first install the [Kubernetes extension](https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools) and `kubectl` along with the Dev Containers extension. Then select the Kubernetes explorer from the Activity bar and expand the cluster and Pod where the container you want to attach to resides. Finally, right-click on the container and select **Attach Visual Studio Code** from context menu.
To attach to a container in a Kubernetes cluster, either select **Dev Containers: Attach to Running Kubernetes Container...** from the Command Palette (`kbstyle(F1)`) or first install the [Kubernetes extension](https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools) and `kubectl` along with the Dev Containers extension. Then select the Kubernetes explorer from the Activity bar and expand the cluster and Pod where the container you want to attach to resides. Finally, right-click on the container and select **Attach Visual Studio Code** from context menu.

> **Note:** Attached container configuration files are not yet supported for containers in a Kubernetes cluster.
Expand Down
2 changes: 1 addition & 1 deletion docs/devcontainers/containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ See the Docker troubleshooting guide for [Windows](https://docs.docker.com/docke

### Docker Extension limitations

If you are using the Docker or Kubernetes extension from a WSL or Remote - SSH window, you will not be able to use the right-click **Attach to Container** option. This will only work if you are using it from your local machine.
If you are using the Docker or Kubernetes extension from a WSL, Remote - Tunnels or Remote - SSH window, using the **Attach Visual Studio Code** context menu action in the Docker or Kubernetes views will ask to pick from the available containers a second time.

### Extension limitations

Expand Down
2 changes: 1 addition & 1 deletion docs/remote/ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ SSHFS is the most convenient option and does not require any file sync'ing. Howe

### Docker Extension limitations

If you are using the Docker or Kubernetes extension in a Remote - SSH window, you will not be able to use the right-click **Attach VS Code to Container** option. This will only work if you are using it from your local machine.
If you are using the Docker or Kubernetes extension from a WSL, Remote - Tunnels or Remote - SSH window, using the **Attach Visual Studio Code** context menu action in the Docker or Kubernetes views will ask to pick from the available containers a second time.

### Extension limitations

Expand Down

0 comments on commit 37b0665

Please sign in to comment.