Files
kind-lab/apps/apache-demo/istio.yaml
2025-07-20 15:36:14 +02:00

37 lines
609 B
YAML

apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
name: apache-demo-gw
namespace: secure
spec:
selector:
istio: ingressgateway
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "app.kind.local"
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
name: apache-demo-vs
namespace: secure
spec:
hosts:
- "app.kind.local"
gateways:
- apache-demo-gw
http:
- match:
- uri:
prefix: /
route:
- destination:
host: apache-demo.secure.svc.cluster.local
port:
number: 8080