1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Kubernetes ターゲットマシンが接続を拒否した時の対処法

Posted at

環境

Windows10 Home
Docker Desktop for Windows 3.4.0
Docker v20.10.7

発生した問題

kubectl get nodesを実行すると以下のエラーが発生

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.

対処法

結論、kubernetesが起動していないだけでした。Docker Desktopからkubernetesを起動してあげれば解決です。

Docker Desktopを起動 > Settings > Kubernetes

Enable Kubernetesにチェックを入れて、右下のApply & Resetボタンを選択

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?