gpt4 book ai didi

minishift - 执行 minishift start : connect: connection refused 时出错

转载 作者:行者123 更新时间:2023-12-03 16:50:48 24 4
gpt4 key购买 nike

  • Windows 10
  • CDK v3.9/Minishift 1.34
  • VirtualBox v5.2.32(也试过 v6.0.10)

  • 我正在尝试启动 minishift/cdk,但一直出现错误。在阅读了许多其他具有类似错误的报告后,尚不清楚解决方案可能是什么。
  • 我没有使用慢速计算机或网络连接速度慢
  • 我试过禁用防火墙。没有帮助,但我认为这不是问题,因为服务器部分启动,我可以执行 minishift ssh进入服务器
  • 我尝试使用具有管理员权限的命令提示符
    我是 Minishift 的新手,所以不确定下一步该往哪里看。
  • C:\cdk>minishift start
    -- Starting profile 'minishift'
    <snip>
    -- Copying oc binary from the OpenShift container image to VM ... OK
    -- Starting OpenShift cluster .................................................................Error during 'cluster up' execution: Error starting the cluster. ssh command error:
    command : /var/lib/minishift/bin/oc cluster up --image 'registry.access.redhat.com/openshift3/ose-${component}:v3.11.104' --public-hostname 192.168.99.100 --routing-suffix 192.168.99.100.nip.io --base-dir /var/lib/minishift/base
    err : exit status 1
    output : Getting a Docker client ...
    Checking if image registry.access.redhat.com/openshift3/ose-control-plane:v3.11.104 is available ...
    Checking type of volume mount ...
    Determining server IP ...
    Using public hostname IP 192.168.99.100 as the host IP
    Checking if OpenShift is already running ...
    Checking for supported Docker version (=>1.22) ...
    Checking if insecured registry is configured properly in Docker ...
    Checking if required ports are available ...
    Checking if OpenShift client is configured properly ...
    Checking if image registry.access.redhat.com/openshift3/ose-control-plane:v3.11.104 is available ...
    Starting OpenShift using registry.access.redhat.com/openshift3/ose-control-plane:v3.11.104 ...
    I0809 19:32:23.621656 2964 flags.go:30] Running "create-kubelet-flags"
    I0809 19:32:24.474547 2964 run_kubelet.go:49] Running "start-kubelet"
    I0809 19:32:24.921489 2964 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
    E0809 19:37:24.935726 2964 run_self_hosted.go:571] API server error: Get https://192.168.99.100:8443/healthz?timeout=32s: dial tcp 192.168.99.100:8443: connect: connection refused ()
    Error: timed out waiting for the condition

    最佳答案

    您也可以报告此问题 here或者您可以在现有 issue 下添加评论.

    除此之外,您可以尝试重新开始:

  • minishift delete
  • 删除 ~/.minishift 文件夹
  • 删除 ~/.kube 文件夹
  • 确认您在虚拟盒管理器中没有剩余的 VM,以防万一
  • 最后 minishift start

  • 但请注意,这将清除您在 minishift/local openshift 上使用的任何实际配置和应用程序,请参阅更多 reference .不幸的是,没有比尝试重新开始 AFAIK 更好的解决方法了。

    关于minishift - 执行 minishift start : connect: connection refused 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57436612/

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