报错信息如下
TASK [common : Kubesphere | Deploying redis] ***********************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/helm upgrade –install ks-redis /etc/kubesphere/redis-ha -f /etc/kubesphere/custom-values-redis.yaml –set fullnameOverride=redis-ha –namespace kubesphere-system\n”, “delta”: “0:00:01.261058”, “end”: “2019-12-11 01:19:01.525090”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-12-11 01:19:00.264032”, “stderr”: "Error: UPGRADE FAILED: StatefulSet.apps \“redis-ha-server\” is invalid: spec: Forbidden: updates to statefulset spec for fields other than ‘replicas’, ‘template’, and ‘updateStrategy’ are forbidden", “stderr_lines”: ["Error: UPGRADE FAILED: StatefulSet.apps \“redis-ha-server\” is invalid: spec: Forbidden: updates to statefulset spec for fields other than ‘replicas’, ‘template’, and ‘updateStrategy’ are forbidden"], “stdout”: "", “stdout_lines”: []}
PLAY RECAP *********************************************************************
localhost : ok=18 changed=11 unreachable=0 failed=1 skipped=47 rescued=0 ignored=0
这个问题很矛盾呀,这个redis本身就是安装平台的时候,自动安装的,然后我启用组件的时候,又禁止升级…