Accés à un service NodePort depuis l'extérieur
... / Accés à un service NodePo...
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

Accés à un service NodePort depuis l'extérieur

Par
AntoineE5
Créé le 2022-06-22 09:42:14 (edited on 2024-09-04 13:43:08) dans Conteneurs et Orchestration

Bonjour,

Dans un cluster Managed Kubernetes j'ai configuré un service de type NodePort qui expose un port TCP.

D'après la documentation il devrait être possible d'y accéder depuis l'extérieur via <node-ip>:<node-port>, mais ça ne fonctionne pas (timeout sur la connexion), alors que ça fonctionne à partir d'un pod du cluster.

Sur cette doc il est dit qu'il faut configurer les règles de pare-feu des noeuds pour autoriser les connexions, mais je ne vois pas comment faire ça.

Pourriez-vous m'aider ?