前提
操作系统信息,例如:虚拟机,Centos7.5,2C/4G
网卡是eth0,桥接模式。
Kubernetes版本信息,例如:v1.19.8。 一主一从
KubeSphere版本信息,例如:v3.1.0。在线安装。已有K8s安装
问题是什么,报错日志是什么,最好有截图。



下载kubesphere-installer.yaml、cluster-configuration.yaml 到root 目录,分别执行
kubectl apply -f kubesphere-installer.yaml
kubectl apply -f cluster-configuration.yaml
日志查看,报错。

rror: error executing jsonpath “{.items[0].metadata.name}”: Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template
不清楚为什么没出现成功提示,日志报错也没看明白。有遇到的小伙伴一起学习下。
吐槽下,真的太难安装了,安装了多少次都不成功。

查看 deployment

查看pod
