无法成功验证kops集群状态

时间:2019-05-13 20:24:14

标签: amazon-web-services kubernetes kops jenkins--x

我正在使用此命令尝试建立并运行jenkins-x集群:

jx create cluster aws --ng

我也尝试过:

jx create cluster aws

输出如下所示:

Waiting to for a valid kops cluster state...
WARNING: retrying after error: exit status 2
error: Failed to successfully validate kops cluster state: after 25 attempts, last error: exit status 2

感谢所有帮助。

1 个答案:

答案 0 :(得分:0)

尝试如下所示的 kops 验证集群命令

AWS_ACCESS_KEY_ID=<YOUR_KEY_HERE> AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_KEY_HERE> kops validate cluster --wait 10m --state="s3://<YOUR_S3_BUCKET_NAME_HERE>" --name=<YOUR_CLUSTER_NAME_HERE>