Microk8s错误时试图安装Kubeflow



我盲目地按照安装文档安装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")

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

编辑:我试图删除控制器,但没有成功:

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

对我起了作用。我猜之前的安装中有一些过期的凭证。

相关内容

  • 没有找到相关文章

最新更新