ข้ามไปยังเนื้อหา

This is the Experimental version (Latest). It is under active development and may change. For the most reliable documentation, use the version selector in the top-right to switch to Stable, or click here to go to the Stable version's homepage.

Pull Image Proxy Issue

อัพเดทล่าสุด:

เนื้อหานี้ยังไม่มีในภาษาของคุณ

จากภาพคือ error ที่ไม่สามารถ download library ที่ request ไปยัง domain dl-cdn.alpinelinux.org ได้ เนื่องจากติด proxy

🖼️ [Screenshot Placeholder: proxy1.png]

วิธีการแก้ไขเมื่อไม่สามารถดาวน์โหลด module ได้ เนื่องจากติด proxy

Section titled “วิธีการแก้ไขเมื่อไม่สามารถดาวน์โหลด module ได้ เนื่องจากติด proxy”
  1. เข้าไปหน้า Component Detail ของ Application ที่มีปัญหา

🖼️ [Screenshot Placeholder: proxy5.png]

  1. กดเข้าไปที่ GitLab ในส่วน SSO

🖼️ [Screenshot Placeholder: proxy6.png]

  1. ทำการ Login Gitlab

🖼️ [Screenshot Placeholder: proxy7.png]

  1. เมื่อเข้ามาแล้วให้กดไปที่ เมนู CI/CD ด้านซ้ายมือดังรูป จากนั้นทำการกดไปเข้าที่ Variable

🖼️ [Screenshot Placeholder: proxy8.png]

  1. ทำการ เพิ่ม Variable “KANIKO_EXTRA_ARGS” ที่ทำหน้าที่ในการ Set Proxy บน Repository

🖼️ [Screenshot Placeholder: proxy2.png]

🖼️ [Screenshot Placeholder: proxy3.png]

  1. ทำการเพิ่ม Arg บน Dockerfile ( SSL_CERT_DIR และ NODE_OPTIONS ) ดังรูป

🖼️ [Screenshot Placeholder: proxy4.png]

  1. ทำการ Build Pipeline ใหม่อีกครั้ง

Finished?

Use the below navigation to proceed