gpt4 book ai didi

amazon-web-services - 无法使用 eksctl 创建 AWS EKS 集群

转载 作者:行者123 更新时间:2023-12-04 09:13:05 25 4
gpt4 key购买 nike

无法从 Windows 10 PC 使用 eksctl 创建 AWS EKS 集群。这是我正在执行的命令

eksctl create cluster --name revit --version 1.17 --region ap-southeast-2 --fargate

eksctl 版本:0.25.0

AWS CLI 版本:aws-cli/2.0.38 Python/3.7.7 Windows/10 exe/AMD64

执行创建集群命令出错

2020-08-08T19:05:35+10:00 [ℹ]  eksctl version 0.25.0
2020-08-08T19:05:35+10:00 [ℹ] using region ap-southeast-2
2020-08-08T19:05:35+10:00 [!] retryable error (RequestError: send request failed
caused by: Put "http://169.254.169.254/latest/api/token": dial tcp 169.254.169.254:80: connectex: A socket operation was attempted to an unreachable network.) from ec2metadata/GetToken - will retry after delay of 54.121635ms
2020-08-08T19:05:35+10:00 [!] retryable error (RequestError: send request failed
caused by: Put "http://169.254.169.254/latest/api/token": dial tcp 169.254.169.254:80: connectex: A socket operation was attempted to an unreachable network.) from ec2metadata/GetToken - will retry after delay of 86.006168ms

最佳答案

我遇到了同样的错误,我已经摆脱了为编程访问提供我的 AWS 凭证(AWS 访问 key ID、AWS secret 访问 key ):

$ aws configure

下次我使用 eksctl 时,它只是没有尝试自行验证并通过了命令。

关于amazon-web-services - 无法使用 eksctl 创建 AWS EKS 集群,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63313662/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com