kubesphere部署minio失败

报错日志

TASK [common : Kubesphere | Deploy minio] **************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/helm upgrade --install ks-minio /etc/kubesphere/minio-ha -f /etc/kubesphere/custom-values-minio.yaml --set fullnameOverride=minio --namespace kubesphere-system --wait --timeout 1800\n", "delta": "0:30:00.948378", "end": "2019-11-11 09:53:01.606320", "msg": "non-zero return code", "rc": 1, "start": "2019-11-11 09:23:00.657942", "stderr": "Error: release ks-minio failed: timed out waiting for the condition", "stderr_lines": ["Error: release ks-minio failed: timed out waiting for the condition"], "stdout": "Release "ks-minio" does not exist. Installing it now.", "stdout_lines": ["Release "ks-minio" does not exist. Installing it now."]}

解决方案

# 关闭防火墙
sudo systemctl stop firewalld.service && sudo systemctl disable firewalld.service
# 关闭SELinux
vi /etc/selinux/config
# 将 SELINUX=enforcing 改为 SELINUX=disabled
# 重启机器
shutdown -r now
# 检查修改结果
/usr/sbin/sestatus -v

你可能感兴趣的:(kubesphere部署minio失败)