gitlab pod shell로 들어가서
gitlab-rake gitlab:check 명령어를 수행해 보면 다음과 같은 유형의 에러메시지가 보이는 경우 조치방법
GitLab Shell: ... GitLab Shell version >= 14.12.0 ? ... OK (14.12.0)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: FAILED - Internal API error (502)
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /opt/gitlab/embedded/service/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
/etc/gitlab/gitlab.rb 파일을 vi 로 편집한다.
아래 항목을 찾아서 값을 0 으로 설정한다.
puma['worker_prosesses'] = 0
reconfigure 후 재시작한다.
# 설정 변경
gitlab-ctl reconfigure
# 재시작
gitlab-ctl restart
# 정상확인
gitlab-rake gitlab:check
정상이라면
GitLab Shell: ... GitLab Shell version >= 14.12.0 ? ... OK (14.12.0)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Internal API available: OK
Redis available via internal API: OK
gitlab-shell self-check successful
이러한 메시지가 조회된다.
728x90
'CloudNative > App Definition & Developement' 카테고리의 다른 글
| tekton - OCP pipeline 3 steps (0) | 2024.03.27 |
|---|---|
| strimzi on docker desktop k8s (1) | 2024.03.04 |
| rabbitmq 로컬구성과 DLQ 설정 (1) | 2024.01.17 |
| 윈도우 PC에 redis + redis insight 구성 (docker) (2) | 2024.01.08 |
| 3분컷 쿠버네티스 카프카 모니터링(Kafdrop) 배포 (0) | 2022.10.13 |