我是在kubenetes上最小化安装的kubesphere
现在根据官网手顺启用DevOps组件
我直接改Master节点下的cluster-configuration.yaml ,把false改成true了
然后重新apply了一下
之后根据官网手顺,发现该组件并没有被安装上
启用DevOps组件失败
kubesphere版本是v3.1.1
CauchyK零SK壹S
- 已编辑
可以先看下ks-installer的日志
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
Cauchy
TASK [common : fail] ***********************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “It is suggested to refer to the above methods for troubleshooting problems .”}
localhost : ok=40 changed=34 unreachable=0 failed=1 skipped=81 rescued=0 ignored=0
您好,我问下这个会是什么原因..
JjohnniangK零S
建议把错误栈完全展示出来。
- 已编辑
TASK [common : KubeSphere | Creating manifests] ********************************
changed: [localhost] => (item={'name': 'custom-values-minio', 'file': 'custom-values-minio.yaml'})
TASK [common : KubeSphere | Checking minio] ************************************
changed: [localhost]
TASK [common : KubeSphere | Deploying minio] ***********************************
changed: [localhost]
TASK [common : debug] **********************************************************
ok: [localhost] => {
"msg": [
"1. check the storage configuration and storage server",
"2. make sure the DNS address in /etc/resolv.conf is available",
"3. execute 'kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job' to watch logs",
"4. execute 'helm -n kubesphere-system uninstall ks-minio && kubectl -n kubesphere-system delete job minio-make-bucket-job'",
"5. Restart the installer pod in kubesphere-system namespace"
]
}
TASK [common : fail] ***********************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "It is suggested to refer to the above methods for troubleshooting problems ."}
PLAY RECAP *********************************************************************
localhost : ok=31 changed=25 unreachable=0 failed=1 skipped=78 rescued=0 ignored=0
完整的就这些了。。。根本看不出什么问题,看着像是minio安装失败,但是不知道怎么解决