Skip to content
Snippets Groups Projects

A note about correct network interface when publishing routes

Merged Tommi Tuura requested to merge note-about-network-interface-in-container into main
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -275,3 +275,4 @@ Check the following things:
- `oc port-forward <pod-name> <local-port>:<pod-port>`
- and in another terminal: `curl localhost:<local-port>`
- Your Service has correct endpoints. Optionally the `selectorLabel` in your Service is not matching to the correct pods. The command "`oc get endpoints`" should list all Services and their endpoints. At least one endpoint resembling `10.12.*:<pod-port>` should exist.
- The software in your container has bound to listen to correct network interface (as seen from inside container). `localhost` may not work, try `0.0.0.0` instead.
Loading