按照官网提示,一键安装Runner,但安装完后其POD状态是CrashLoopBackOff ,查看其日志:
Runtime platform arch=amd64 os=linux pid=11 revision=7f00c780 version=11.5.1
WARNING: Running in user-mode.
WARNING: The user-mode requires you to manually start builds processing:
WARNING: $ gitlab-runner run
WARNING: Use sudo for system-mode:
WARNING: $ sudo gitlab-runner…
ERROR: Registering runner… failed runner=token status=couldn’t execute POST against http://code.exmple.choerodon.io/api/v4/runners: Post http://code.exmple.choerodon.io/api/v4/runners: dial tcp: lookup code.exmple.choerodon.io on 10.233.0.10:53: no such host
PANIC: Failed to register this runner. Perhaps you are having network problems