Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Include vs-kubernetes/tools/kubectl in path.

オープン
#412 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
kubernetes, shell, vscode
領域
devops, devtools

調査の方向性

code.sh を開いて 67 行目を調べ、PATH のエントリを Kubernetes 拡張機能によってインストールされた kubectl の場所と比較します。要求された vs-kubernetes/tools/kubectl パスを含め、実行中の Pod にアタッチするときに VS Code が kubectl を見つけられることを確認します。

索引モデルが issue の本文から書いたものです。

説明

By using the official Kubernetes extension (ms-kubernetes-tools.vscode-kubernetes-tools), Visual Studio Code can automatically install binaries for kubectl, helm, and minikube.

Unfortunately, if you attempt to explore workloads and try to attach vscode to a running pod, you encounter the following error:

Error running command remote-containers.attachToK8sContainerFromViewlet: A system error occurred (spawn kubectl ENOENT). This is likely caused by the extension that contributes remote-containers.attachToK8sContainerFromViewlet.

To fix this issue, you can edit code.sh (line 67) by adding the following path:

${XDG_DATA_HOME}/.local/state/vs-kubernetes/tools/kubectl

After making this change, vscode is able to find the kubectl binary and the extension will be fully functional.

主要言語
Shell
スター
216
フォーク
82
平均マージ
1日 7時間
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flathub/com.visualstudio.code のほかの issue

flathub/com.visualstudio.code の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。