diff --git a/content/en/guides/traffic_management/ingress/fsm_gateway/udp_routing.md b/content/en/guides/traffic_management/ingress/fsm_gateway/udp_routing.md new file mode 100644 index 0000000..a677043 --- /dev/null +++ b/content/en/guides/traffic_management/ingress/fsm_gateway/udp_routing.md @@ -0,0 +1,120 @@ +--- +title: "UDP Routing" +description: "This document outlines setting up a UDPRoute in Kubernetes to route UDP traffic through an FSM Gateway, using Fortio server as a sample application." +type: docs +weight: 19 +draft: false +--- + +The [UDPRoute](https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha2.UDPRoute) provides a method to route UDP traffic. When combined with a gateway listener, it can be used to forward traffic on a port specified by the listener to a set of backends defined in the UDPRoute. + +## Prerequisites + +- Kubernetes cluster version {{< param min_k8s_version_gateway_api >}} or higher. +- kubectl CLI +- FSM Gateway installed via [guide doc](/guides/traffic_management/ingress/fsm_gateway/installation). + +## Demonstration + +## Prerequisites + +- Kubernetes cluster +- kubectl tool + +## Environment Setup + +### Deploying Sample Application + +Use [fortio server](https://github.com/fortio/fortio) as a sample application, which provides a UDP service listening on port `8078` and echoes back the content sent by the client. + +```shell +kubectl create namespace server +kubectl apply -n server -f - <