We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[X] Networking
Expected behavior
istio-ingressgateway
Steps to reproduce the bug
cat <<EOF | kubectl apply -f - apiVersion: v1 kind: Namespace metadata: name: gateway-demo --- apiVersion: networking.x-k8s.io/v1alpha1 kind: GatewayClass metadata: name: istio spec: controller: istio.io/gateway-controller --- apiVersion: apps/v1 kind: Deployment metadata: name: foo namespace: gateway-demo spec: replicas: 1 selector: matchLabels: app: foo template: metadata: labels: app: foo spec: containers: - name: whereami image: docker.io/kennethreitz/httpbin ports: - containerPort: 80 env: - name: METADATA value: "foo" --- apiVersion: v1 kind: Service metadata: name: foo-svc namespace: gateway-demo spec: selector: app: foo ports: - port: 8000 targetPort: 80 --- apiVersion: networking.x-k8s.io/v1alpha1 kind: HTTPRoute metadata: name: test namespace: gateway-demo labels: knative-e2e-test: "net-ingressv2-local" spec: gateways: allow: SameNamespace hostnames: - "foo.example.com" rules: - forwardTo: - port: 8000 serviceName: foo-svc weight: 0 matches: - path: type: Prefix value: / EOF
8081
cat <<EOF | kubectl apply -f - apiVersion: networking.x-k8s.io/v1alpha1 kind: GatewayClass metadata: name: istio spec: controller: istio.io/gateway-controller --- kind: Gateway apiVersion: networking.x-k8s.io/v1alpha1 metadata: name: test-local-gateway namespace: gateway-demo spec: gatewayClassName: istio listeners: - protocol: HTTP port: 8081 routes: kind: HTTPRoute selector: matchLabels: knative-e2e-test: "net-ingressv2-local" --- apiVersion: v1 kind: Service metadata: name: test-local-gateway namespace: istio-system labels: serving.knative.dev/release: devel networking.knative.dev/ingress-provider: istio spec: type: ClusterIP selector: istio: ingressgateway ports: - name: http2 port: 80 targetPort: 8081 EOF
The HTTPRoute is exposed via 80 port.
80
$ export INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].hostname}') $ curl -Is -H "Host: foo.example.com" $INGRESS_HOST -o /dev/null -w '%{http_code}\n' 200
(I expected the access failed because Gateway (test-local-gateway) with 8081 should expose it.)
test-local-gateway
Version
$ istioctl version client version: 1.10-alpha.75974d56a327e9857f36d17151b2ef3146745b92 control plane version: 1.10-alpha.75974d56a327e9857f36d17151b2ef3146745b92 data plane version: 1.10-alpha.75974d56a327e9857f36d17151b2ef3146745b92 (1 proxies)
How was Istio installed?
I'm using this manifest https://github.com/knative-sandbox/net-ingressv2/blob/main/third_party/istio-head/istio-ci-no-mesh.yaml
The text was updated successfully, but these errors were encountered:
I think this is related to #31566. Its not even about gateway-api so much, the same happens with standard GW/VS
Sorry, something went wrong.
#32653 should fix this issue. I am testing it now.
Thank you! I verified that it works.
No branches or pull requests
[X] Networking
Expected behavior
istio-ingressgateway
service.Steps to reproduce the bug
1. Deploy test apps
2. Deploy Gateways with
8081
port and ClusterIP service.3. Access to the HTTPRoute.
The HTTPRoute is exposed via
80
port.(I expected the access failed because Gateway (
test-local-gateway
) with8081
should expose it.)Version
How was Istio installed?
I'm using this manifest https://github.com/knative-sandbox/net-ingressv2/blob/main/third_party/istio-head/istio-ci-no-mesh.yaml
The text was updated successfully, but these errors were encountered: