Exec /usr/local/bin/python3: exec format error
... / Exec /usr/local/bin/pytho...
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

Exec /usr/local/bin/python3: exec format error

by
Community Deleted user
Created on 2023-10-23 12:31:18 (edited on 2024-09-04 12:01:23) in Conteneurs et Orchestration

Bonjour,

je suis nouveau sur la plateforme OVH, et j'essaie de créer ma première application avec Kubernetes et Django.

J'ai créé un container Docker que je peux exécuter sans problèmes sur ma machine locale.

Quand je le déploie dans Kubernetes sur OVH, le pod télécharge l'image depuis mon registry privé, le démarre, puis s'arrête avec une erreur CrashLoopBackOff. Dans les events, il y a juste le fait que le container a bien démarré. Je voudrais avoir accès aux log de démarrage des containers, mais quand j'entre la commande "kubectl logs", l'output donne :

exec /usr/local/bin/python3: exec format error

Est-ce que quelqu'un sait comment avancer à partir d'ici ?

Merci mille fois de votre aide.


Replies are currently disabled for this question.