Bootstrap

MacOS Docker Desktop 上 Rook 安装 Ceph(未完成)

Docker Desktop 启动 K8s

1、Docker Desktop 开启 K8s,总是报错

2、改为手动下载 K8s 相关的镜像(参考这里

3、重新启动,右下角会显示报错信息

"{\"message\":\"starting kubernetes: initializing PKI: initializing PKI: error creating PKI assets: failed to write or validate certificate \\\"etcd-server\\\": certificate etcd/server is not signed by corresponding CA\"}\n{\"message\":\"starting kubernetes: initializing PKI: initializing PKI: error creating PKI assets: failed to write or validate certificate \\\"etcd-server\\\": certificate etcd/server is not signed by corresponding CA\"}\n{\"message\":\"starting kubernetes: initializing PKI: initializing PKI: error creating PKI assets: failed to write or validate certificate \\\"etcd-server\\\": certificate etcd/server is not signed by corresponding CA\"}\n"

之前我安装过 K8s,证书过期了,参考官网 issue 我把

/Users/{user_name}/Library/Containers/com.docker.docker/pki

修改为

/Users/{user_name}/Library/Containers/com.docker.docker/_pki

重启 Docker Desktop 成功启动

kubectl 版本较老,参照文档更新下

继续参照这个文档安装 dashboard

;