A NodePort service exposes a fixed port (default: 30000–32767) on every node’s IP address, forwarding to the target Pod.

🧠 Characteristics

  • Works without cloud integration
  • URL: http://<NodeIP>:<NodePort>
  • Basic form of external access
  • One app per port range (can’t share IP easily)
flowchart LR
  client[Client]
  nodeIP[Node IP]
  svcNodePort[NodePort Service]
  pod[Pod]

  client -->|NodePort| nodeIP --> svcNodePort --> pod

  style svcNodePort fill:#bbf,stroke:#333
  style pod fill:#ddd,stroke:#333
  style nodeIP fill:#eee,stroke:#333