mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 22:29:09 +01:00
Envoy runs as a DaemonSet on host ports 10080 and 10443 for now, so it can be tested next to ingress-nginx, which keeps 80 and 443. The Gateway has a plain HTTP listener and no routes yet.
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
# How Envoy Gateway runs the proxy: a DaemonSet that takes the node's ports
|
|
# directly, the way the microk8s ingress-nginx addon does. Gateway listeners
|
|
# below 1024 run on port + 10000 inside the container (80 becomes 10080).
|
|
#
|
|
# While ingress-nginx still owns 80 and 443, the host ports are 10080 and
|
|
# 10443 so both can be tested side by side.
|
|
apiVersion: gateway.envoyproxy.io/v1alpha1
|
|
kind: EnvoyProxy
|
|
metadata:
|
|
name: hostport
|
|
namespace: envoy-gateway-system
|
|
spec:
|
|
provider:
|
|
type: Kubernetes
|
|
kubernetes:
|
|
# No cloud load balancer here; a LoadBalancer Service would stay pending.
|
|
envoyService:
|
|
type: ClusterIP
|
|
envoyDaemonSet:
|
|
patch:
|
|
type: StrategicMerge
|
|
value:
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: envoy
|
|
ports:
|
|
- containerPort: 10080
|
|
hostPort: 10080
|
|
- containerPort: 10443
|
|
hostPort: 10443
|