extra_hosts = ["other-host:127.0.0.1"] 這個(gè)無法作用到“子”pod 上绩郎,runner 拉起的pod 在執(zhí)行 gitlab-ci里的job時(shí),依然報(bào) `Could not resolve host: other-host `
gitlab-runner kubernetes部署基于Kubernetes運(yùn)行的runner和docker主要區(qū)別在于運(yùn)行環(huán)境在pod內(nèi)余寥,容器間網(wǎng)絡(luò)連接只需要localhost即可窃植。我們先通過docker啟動(dòng)一個(gè)臨時(shí)runn...