Skip to content

Can't change gateway port on service #1697

Answered by kate-osborn
jenwirth asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jenwirth,

The targetPort in your service definition also needs to be changed to 8080. The targetPort is the port on which the service will send requests to. With the current configuration, the service is exposed on port 8080 (mapped to NodePort 32516) but forwards the request to the NGINX Gateway Fabric Pod on port 80.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jenwirth
Comment options

@kate-osborn
Comment options

Answer selected by jenwirth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants