2017-04-06 54 views
0

我試圖建立Kubernetes執行上Gitlab,但我有此錯誤:Kubernetes執行:作業失敗:像拉失敗

ERROR: Job failed: image pull failed: image pull failed for 
someprivateimage:latest, 
this may be because there are no credentials on this request. details: 
(Error response from daemon: {"message":"Get 
https://someprivateimage/latest: denied: access forbidden"}) 

任何人有任何想法,爲什麼?

回答

0

您需要:

  • 有泊塢窗守護在你的節點登錄到泊塢窗註冊表。看看docker login文檔
  • 讓pod定義從私有註冊表中拉出。看看這些kubernetes docs

如果你打算經常這樣做,我推薦第一個。