I have set up an IPFS cluster on Kubernetes (following this guide), except that I have used a Headless service rather than a LoadBalancer (I think Headless is what the guide used to instruct, but GitHub suggests my memory is faulty ).
Port 4001 does not have a public IP address and, because I have usually been able to retrieve files I added to the IPFS cluster from public gateways (e.g., IPFS, Cloudflare), I did not realize this was an issue. I only learned of it recently, when I added a new node to the cluster and none of the previously-pinned files were successfully pinning (they all stayed at PINNING
status) and, when debugging, I could not successfully get a file pinned to nodes in the cluster with ipfs pin add
from an IPFS peer outside the cluster.
Could someone explain to me why, if 4001 does not have a public IP address, I can get files via a public gateway but the files will not be successfully pinned by a new node in the IPFS cluster or by a peer outside the cluster? Or point me to where I can look for definitive answers? In posts in this forum, port-opening magic and port-punching are referencedāis that it?
My networking understanding is practically coextensive with my IPFS understanding, so Iām learning as I go.
ipfs: go-ipfs:v0.4.23
ipfs-cluster: ipfs-cluster:v0.12.1