質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Amazon EKS

Amazon EKSは、コンテナ群を管理するマネージドサービスです。Kubernetesコントロールプレーンを独自で立ち上げ・維持せずにAWSで容易に実行できます。自動デプロイやスケーリング、アプリ・コンテナの管理を自動化するオープンソースのプラットフォームです。

AWS(Amazon Web Services)

Amazon Web Services (AWS)は、仮想空間を機軸とした、クラスター状のコンピュータ・ネットワーク・データベース・ストーレッジ・サポートツールをAWSというインフラから提供する商用サービスです。

Q&A

解決済

1回答

2576閲覧

EKS:eksctl create clusterが途中でタイムアウトする

shogoism

総合スコア35

Amazon EKS

Amazon EKSは、コンテナ群を管理するマネージドサービスです。Kubernetesコントロールプレーンを独自で立ち上げ・維持せずにAWSで容易に実行できます。自動デプロイやスケーリング、アプリ・コンテナの管理を自動化するオープンソースのプラットフォームです。

AWS(Amazon Web Services)

Amazon Web Services (AWS)は、仮想空間を機軸とした、クラスター状のコンピュータ・ネットワーク・データベース・ストーレッジ・サポートツールをAWSというインフラから提供する商用サービスです。

0グッド

0クリップ

投稿2019/09/25 06:22

編集2019/09/26 09:34

東京リージョンでcloud9を新規で作成し、eksctlでクラスターを作成しようとしたところ、
途中でタイムアウトします。タイムアウト時間を60minにしても変化なしでした。
なにか事前準備が必要なのでしょうか。

sh

1admin:~/environment $ eksctl create cluster --name test --node-type t2.nano --nodes 2 2[ℹ] using region ap-northeast-1 3[ℹ] setting availability zones to [ap-northeast-1d ap-northeast-1a ap-northeast-1c] 4[ℹ] subnets for ap-northeast-1d - public:192.168.0.0/19 private:192.168.96.0/19 5[ℹ] subnets for ap-northeast-1a - public:192.168.32.0/19 private:192.168.128.0/19 6[ℹ] subnets for ap-northeast-1c - public:192.168.64.0/19 private:192.168.160.0/19 7[ℹ] nodegroup "ng-5c947db7" will use "ami-0a67c71d2ab43d36f" [AmazonLinux2/1.13] 8[ℹ] using Kubernetes version 1.13 9[ℹ] creating EKS cluster "test" in "ap-northeast-1" region 10[ℹ] will create 2 separate CloudFormation stacks for cluster itself and the initial nodegroup 11[ℹ] if you encounter any issues, check CloudFormation console or try 'eksctl utils describe-stacks --region=ap-northeast-1 --name=test' 12[ℹ] CloudWatch logging will not be enabled for cluster "test" in "ap-northeast-1" 13[ℹ] you can enable it with 'eksctl utils update-cluster-logging --region=ap-northeast-1 --name=test' 14[ℹ] 2 sequential tasks: { create cluster control plane "test", create nodegroup "ng-5c947db7" } 15[ℹ] building cluster stack "eksctl-test-cluster" 16[ℹ] deploying stack "eksctl-test-cluster" 17[ℹ] building nodegroup stack "eksctl-test-nodegroup-ng-5c947db7" 18[ℹ] --nodes-min=2 was set automatically for nodegroup ng-5c947db7 19[ℹ] --nodes-max=2 was set automatically for nodegroup ng-5c947db7 20[ℹ] deploying stack "eksctl-test-nodegroup-ng-5c947db7" 21[✔] all EKS cluster resource for "test" had been created 22[✔] saved kubeconfig as "/home/ec2-user/.kube/config" 23[✖] timed out waiting for control plane "test" after 25m0s

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

自己解決

ごめんなさい。自己解決しました。
cloud9は一時的な認証情報を使用しているらしく、
そのままawscliのコマンドを実行すると、足りない権限があるようでした。
なので、

sh

1aws configre --profile hogehoge

で権限のあるプロフィールを設定し、

sh

1admin:~/environment $ eksctl create cluster --name test --node-type t2.nano --nodes 2 --profile hogehoge

したところ、最後まで実行することができました。
お騒がせしました。

※AdministratorAccessをもつユーザを指定したので、具体的にどんな権限が足りてなかったのかまでは調べられていません。ごめんなさい。

また、プロフィール追加した際に以下のアラートが表示されますが、リフレッシュしなければ設定が有効になります。

Could not update credentials We cannot update your AWS managed temporary credentials because the credentials file has been modified. Would you like to force an update?

投稿2019/09/25 07:11

編集2019/09/25 07:16
shogoism

総合スコア35

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問