【问题标题】:kops can't update aws cluster. RequestTimeoutkops 无法更新 aws 集群。请求超时
【发布时间】:2018-10-01 19:49:27
【问题描述】:

我在 aws 上遇到了 k8s 集群的问题。 我试图在 aws 上创建集群。 第一步是创建:

kops create cluster --name=kubernetes.xarva.stream --state=s3://kops-bucket-pnz-se-kube1 --node-count=2 --node-size=t2.micro --master-size=t2.micro --dns-zone=kubernetes.xarva.stream --zones=eu-central-1a

它已成功完成。但是当我尝试使用命令更新集群时:

kops update cluster kubernetes.xarva.stream --state=s3://kops-b                                                                                        ucket-pnz-se-kube1 --yes

我收到了这个错误:

error writing completed cluster spec: error writing configuration file s3://kops                                                                                        -bucket-pnz-se-kube1/kubernetes.xarva.stream/cluster.spec: error writing s3://ko                                                                                        ps-bucket-pnz-se-kube1/kubernetes.xarva.stream/cluster.spec: RequestTimeout: You                                                                                        r socket connection to the server was not read from or written to within the tim                                                                                        eout period. Idle connections will be closed.
    status code: 400, request id: 2***********3, host id: *********************************************6 

在 s3 存储桶上我找到了配置,所以似乎是读取问题。 有人遇到这个问题吗?任何想法如何解决它? 谢谢

【问题讨论】:

    标签: amazon-web-services amazon-s3 kubernetes kops


    【解决方案1】:

    RequestTimeout:您与服务器的套接字连接未在超时期限内读取或写入。空闲连接将被关闭。

    此错误表示您在从安装了 kops 的位置访问 AWS S3 时遇到问题。
    请确保您有权访问 S3,然后重试或尝试从其他地方执行此操作。

    【讨论】:

    • 是的。看来你是对的,因为它通过 VPN 工作。但我不明白为什么可以通过 Web 访问(没有 vpn)?
    猜你喜欢
    • 2021-12-27
    • 2018-09-19
    • 2020-08-29
    • 2019-06-02
    • 1970-01-01
    • 2018-07-22
    • 2017-11-08
    • 1970-01-01
    • 2020-03-01
    相关资源
    最近更新 更多