Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  1. Runner Pod Name 확인

    kubectl get pods -A -o wide
  2. pods 진입

    kubectl exec -it <GitLab Pod Name> bash
  3. extra_host 파일 생성

    vi ~/extra_hosts
    ​
    192.168.1.50 gitlab.centos.com
  4. ~/.gitlab-runner/config.toml 수정

    [[runners]]
    pre_clone_script = "cat ~/extra_hosts >> /etc/hosts"


  • No labels