Pull image kubernetes
... / Pull image kubernetes
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

Pull image kubernetes

Par
ValentinR14
Créé le 2022-11-08 11:07:16 (edited on 2024-09-04 11:56:08) dans Managed Kubernetes service-old

Bonjour,

je suis en train de réaliser exactement le même protocole avec mon kubectl que sur un cluster kubernetes public mais cette fois-ci mon cluster est sur un network privé muni d'une passerelle gateway.
Cependant il est impossible de téléchargement une image quelconque d'un répo docker public.

Voici l'erreur :
Failed to pull image "ovhplatform/hello": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/ovhplatform/hello:latest": failed to resolve reference "docker.io/ovhplatform/hello:latest": failed to do request: Head "https://registry-1.docker.io/v2/ovhplatform/hello/manifests/latest": dial tcp xx.xxx.xx.xxx:443: connect: no route to host

Dans la commande du cluster il est bien dit que le gateway va permettre notamment la récupération des images or aucune documentation à ce sujet n'est parue. Faut-il modifier les manifestes kubernetes ?


1 réponse ( Latest reply on 2024-06-24 07:31:15 Par
fritz2cat officiel (d'avant la migration)
)

Bonjour,

je suis en train de réaliser exactement le même protocole avec mon kubectl que sur un cluster kubernetes public mais cette fois-ci mon cluster est sur un network privé muni d'une passerelle gateway.
Cependant il est impossible de téléchargement une image quelconque d'un répo docker public.

Voici l'erreur :
Failed to pull image "ovhplatform/hello": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/ovhplatform/hello:latest": failed to resolve reference "docker.io/ovhplatform/hello:latest": failed to do request: Head "https://registry-1.docker.io/v2/ovhplatform/hello/manifests/latest": dial tcp xx.xxx.xx.xxx:443: connect: no route to host


xx.xxx.xx.xxx:443: connect: no route to host


Bonjour,

Vous avez masqué l'adresse IP, vous devriez donc faire vous-même un traceroute vers cette adresse IP et à partir du même environnement que celui qui vous a dit "no route to host" (qui par exemple n'aurait pas de connexion internet directe)