1
0

More than 1 year has passed since last update.

EKSでconnectex: a socket operation was attempted to an unreachable networkというエラーが出る

Posted at

はじめに

この記事は2022年3月にまとめていた「細かいつまずいたことをメモしておく(3月編)をそれぞれ投稿した内容になります
解決方法が最新でない可能性もありますのでご了承ください

問題

「Kubernetes on AWS アプリケーションエンジニア本番環境へ備える」という本のP42のコマンドでエラーが発生した

connectex: a socket operation was attempted to an unreachable network

解決方法

これはAWS CLIがインストールされていない、またはAWS Configureがされていないことが原因でした
AWS CLIは自動で環境変数が設定されるようですが、私は手動でいれることで動くようになりました

C:\Program Files\Amazon\AWSCLIV2

また、Credentialも他の設定があるせいで以下のエラーになってたので、メモ帳で修正しました

また書籍通りだとクラスターのバージョンでエラーになります

error: invalid version, 1.14 is no longer supported, supported values: 1.18, 1.19, 1.20, 1.21

そこで、--version 1.14と修正しました

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