Create an EnvoyProxy¶
Without a custom EnvoyProxy, the MKE default GatewayClass will
provision a proxy using built-in defaults.
Create an EnvoyProxy service to use NodePort as the service type.
As an example, to set EnvoyProxy with NodePort:
Create the namespace.
kubectl create namespace gateway-test
#.Apply the EnvoyProxy manifest:
kubectl apply -n gateway-test -f - <<'EOF' apiVersion: gateway.envoyproxy.io/v1alpha1 kind: EnvoyProxy metadata: name: envoy-gateway-proxy namespace: gateway-test spec: logging: level: default: info provider: type: Kubernetes kubernetes: envoyService: type: NodePort patch: type: StrategicMerge value: spec: externalTrafficPolicy: Cluster EOF