Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…2094) When deploying knative-serving there a race due to an Istio issue that ends up having cluster-local-gateway misconfigured because of conflicting ports. In a nutshell Istio creates listeners based on Gateway ports and the corresponding Services (if any) and in our case we have two Services (cluster-local-gateway, knative-local-gateway) with port 80 and different targetPort (8080, 8081). In normal operation the pod gets the following listeners: ADDRESS PORT MATCH DESTINATION 0.0.0.0 8080 ALL Route: http.80 0.0.0.0 8081 ALL Route: http.8081 We have seen on fresh deployment to end up with only 8081:8081 and istio complaining with: Error adding/updating listener(s) 0.0.0.0_8081: duplicate listener 0.0.0.0_8081 found To fix that add a label in knative-local-gateway service so that it gets ignored by istio when translating gateway ports. Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
- Loading branch information