serving icon indicating copy to clipboard operation
serving copied to clipboard

Knative with custom Istio Gateway, trying to get virtual service to use port 443 instead of defaulting to 80

Open psingh24 opened this issue 10 months ago • 1 comments

Ask your question here:

I am trying to set up knative with a custom istio gateway with TLS all the way through to the pod.

I followed these direction, https://knative.dev/docs/serving/encryption/external-domain-tls/

My Gateway:

Name:         istio-ov-gateway
Namespace:    istio-gateway
Labels:       app.kubernetes.io/instance=istio-installer
Annotations:  <none>
API Version:  networking.istio.io/v1beta1
Kind:         Gateway
Metadata:
Spec:
  Selector:
    Istio:  ingressgateway
  Servers:
    Hosts:
      *
    Port:
      Name:      https
      Number:    443
      Protocol:  HTTPS
    Tls:
      Credential Name:  ssl-cert-keystore
      Mode:             SIMPLE

config-domain configmap has my domain set up config-istio has the following:

external-gateways:
----
- name: istio-ov-gateway
  namespace: istio-gateway
  service: istio-ingressgateway.istio-gateway.svc.cluster.local

How do I enable virtual service to use port 443 instead of port 80 and also how do I make it create a destination rule?

psingh24 avatar Feb 28 '25 07:02 psingh24

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar May 30 '25 01:05 github-actions[bot]