相关文章推荐

I use repository: https://gitlab.com/charts/gitlab for deploy Gitlab with Helm on Kubernetes.

POD gitlab-runner can't start:

# kubectl get pods --all-namespaces
default          yellow-squirrel-gitlab-runner-5d9d794df5-zfbp6                   0/1       CrashLoopBackOff   7          11m
# kubectl logs yellow-squirrel-gitlab-runner-5d9d794df5-zfbp6
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=pn6jCJl0 status=couldn't execute POST against https://gitlab.example.local/api/v4/runners: Post https://gitlab.example.local/api/v4/runners: dial tcp: lookup gitlab.example.local on 10.233.0.3:53: no such host
PANIC: Failed to register this runner. Perhaps you are having network problems

When I call (HTTP): https://gitlab.example.local/ I see: default backend - 404

If I call (HTTPS): http://gitlab.example.local/ I see UI

Where is reason in this problem?

 
推荐文章