- Home
- Operations Guide
- Deploy applications with Kubernetes
- Envoy Gateway Controller
- Create an EnvoyProxy
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
EnvoyProxymanifest: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: envoyDeployment: container: image: mirantis/ucp-envoy-proxy:{{ page.ucp_version }} envoyService: type: NodePort patch: type: StrategicMerge value: spec: externalTrafficPolicy: Cluster EOF