作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我盲目地按照安装文档安装 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/
我是一名优秀的程序员,十分优秀!