免責事項:これは英文の記事「Kubernetes CLI Tools for vSphere and vSphere Plugin Error」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
kubectl vsphere を設定した後、指定するコンテキストやログインするユーザーに関係なく、ログイン試行が失敗します。
kubectl vsphere login --server=########### --tanzu-kubernetes-cluster-name <guest cluster name> --tanzu-kubernetes-cluster-namespace <guest cluster namespace> --vsphere-username [email protected] --insecure-skip-tls-verifyerror msg="Error occurred during HTTP request: Get \"https://<supervisorIP>/wcp/loginbanner\": dial tcp <supervisorIP>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."サーバーへの接続中にエラーが発生しました。サーバーの URL を確認のうえ、再度お試しください。
vSphere Supervisor.
環境においてポート 443 がブロックされています。
ports に記載されている内容に従い、ポート 443 を開放してください。
| 製品 | バージョン | 送信元 | 宛先 | ポート | プロトコル | サービスの説明 | 分類 |
| vSphere | 8.0, 7.0, 9.0 | 管理用ワークステーション | Supervisor コントロールプレーン管理ネットワークの IP アドレス | 443 | TCP | kubectl-plugin-service への HTTPS アクセスを公開(kubectl プラグインのダウンロードページ用)。 vSphere - Tanzu |
受信 |