一键部署Choerodon时出现gitlab端口的报错

  • Choerodon平台版本:
    0.21.0
  • 遇到问题的执行步骤:
./c7nctl install -c config.yml --no-timeout --version=0.21
  • 文档地址:
    http://choerodon.io/zh/docs/installation-configuration/steps/install/choerodon/
  • 环境信息(如:节点信息):
    NAME STATUS ROLES AGE VERSION
    10.100.60.14 Ready etcd,master,worker 135m v1.16.7
    10.100.60.28 Ready etcd,master,worker 134m v1.16.7
    10.100.60.32 Ready etcd,master,worker 134m v1.16.7
    10.100.60.46 Ready worker 134m v1.16.7
  • 报错日志:
    rpc error: code = Unknown desc = release gitlab failed: Service “gitlab” is invalid: [spec.ports[0].port: Invalid value: 0: must be between 1 and 65535, inclusive, spec.ports[1].port: Invalid value: 0: must be between 1 and 65535, inclusive, spec.ports[1]: Duplicate value: core.ServicePort{Name:"", Protocol:“TCP”, Port:0, TargetPort:intstr.IntOrString{Type:0, IntVal:0, StrVal:""}, NodePort:0}]
  • 原因分析:

    提出您分析问题的过程,以便我们能更准确的找到问题所在
    日志报错为端口无效,默认使用了0端口,但文档示例中没有关于端口的配置

  • 疑问:

    提出您对于遇到和解决该问题时的疑问
    端口需要单独在哪配置么?

你的 helm 版本是什么?

# helm version

Client: &version.Version{SemVer:“v2.15.0”, GitCommit:“c2440264ca6c078a06e088a838b0476d2fc14750”, GitTreeState:“clean”}
Server: &version.Version{SemVer:“v2.15.0”, GitCommit:“c2440264ca6c078a06e088a838b0476d2fc14750”, GitTreeState:“clean”}

https://choerodon.io/zh/docs/installation-configuration/steps/helm/

你好,请使用helm 2.16.3