To provide a common framework to test different gateway-api implementations with kind. The framework will deploy metallb as a load balancer.
Override the following environment variables if the defaults don’t match your requirements.
GATEWAY_API_VERSION="v1.1.0" GATEWAY_API_CHANNEL="standard" KIND_IMAGE="kindest/node:v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e" KIND_NET="kind"
Use the following commands to test a gateway-api implementation.
export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=cilium ; ./deploy-kind-gtw-api-cluster.sh
export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=contour ; ./deploy-kind-gtw-api-cluster.sh
export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=envoy-gateway ; ./deploy-kind-gtw-api-cluster.sh
export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=istio ; ./deploy-kind-gtw-api-cluster.sh
Use the following instructions to launch a clean environment that includes metallb as a load balancer.
export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=none ; ./deploy-kind-gtw-api-cluster.sh