Difference between targetPort and port in Kubernetes Service definition
Service: This directs the traffic to a pod. TargetPort: This is the actual port on which your application is running inside the container. Port: Some times your application inside container serves different services on a different port. Example: The actual application can run 8080 and health checks for this application can run on 8089 port … Read more