gpt4 book ai didi

尝试安装 Kubeflow 时 Microk8s 出错

转载 作者:行者123 更新时间:2023-12-03 08:06:55 32 4
gpt4 key购买 nike

我盲目地按照安装文档安装 Microk8s 并使用 kubeflow 配置,但遇到了如下错误:

https://charmed-kubeflow.io/docs/quickstart

joesan@joesan-InfinityBook-S-14-v5:~$ juju add-model kubeflow
ERROR opening API connection: starting proxy for api connection: connecting k8s proxy: Get "https://192.168.0.35:16443/api/v1/namespaces/controller-microk8s-localhost/services/controller-service": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "10.152.183.1")

看起来有些证书不匹配,但如何解决这个问题?

编辑:我尝试删除 Controller ,但没有成功:

joesan@joesan-InfinityBook-S-14-v5:~$ juju kill-controller microk8s-localhost
WARNING! This command will destroy the "microk8s-localhost" controller.
This includes all machines, applications, data and other resources.

Continue? (y/N):y
Unable to open API: starting proxy for api connection: connecting k8s proxy: Get "https://192.168.0.35:16443/api/v1/namespaces/controller-microk8s-localhost/services/controller-service": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "10.152.183.1")
ERROR getting controller environ: getting environ using bootstrap config from client store: finding controller namespace with non legacy labels: Get "https://192.168.0.35:16443/api/v1/namespaces?labelSelector=model.juju.is%2Fname%3Dcontroller": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "10.152.183.1")

我使用的是 Ubuntu 20.04 LTS 计算机。

最佳答案

删除

~$ .local/share/juju

帮我解决了这个问题。我猜想以前的安装中存在一些过时的凭据。

关于尝试安装 Kubeflow 时 Microk8s 出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72014796/

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