Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
4
Help us understand the problem. What is going on with this article?
@masuda-s

kubectlで「Unable to connect to the server」

More than 1 year has passed since last update.

Docker for Macで以前インストールしたKubernetesでクラスタ情報を取得しようとしたら

$ kubectl cluster-info
Kubernetes master is running at https://localhost:6443

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Unable to connect to the server: EOF

というエラーが発生した。また、Docker for Macのメニューから「Preferences」で設定画面を開くと、以下のキャプチャのようにKubernetes is startingのままrunningの状態に遷移しなかった。

スクリーンショット 2019-05-03 10.07.08.png

以下のキャプチャようにDocker for Macの設定画面から利用できるリソースの上限を変更して、数分待ったら、Kubernetes is runningの状態に遷移した。

スクリーンショット 2019-05-03 11.24.27.png

参考

[helm] elasticsearchをinstallしたらkubectlが「Unable to connect to the server:」しか返さなくなった

4
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
masuda-s

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
4
Help us understand the problem. What is going on with this article?