concept external traffic in category kubernetes
appears as: external traffic

This is an excerpt from Manning's book Learn Kubernetes in a Month of Lunches.
Figure 3.8 LoadBalancer services route external traffic from any node into a matching pod
![]()
Code listing 3.3 web-service.yaml - a LoadBalancer service for external traffic
apiVersion: v1 kind: Service metadata: name: numbers-web spec: ports: - port: 8080 # the port the service listens on targetPort: 80 # the port the traffic is sent to on the pod selector: app: numbers-web type: LoadBalancer # this service is available for external traffic