Skip to content

apisnoop/gateway-api-test-framework

Repository files navigation

Gateway-api Test Framework

Goal

To provide a common framework to test different gateway-api implementations with kind. The framework will deploy metallb as a load balancer.

Configure

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"

Test implementations

Use the following commands to test a gateway-api implementation.

cilium

export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=cilium ; ./deploy-kind-gtw-api-cluster.sh

contour

export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=contour ; ./deploy-kind-gtw-api-cluster.sh

envoy-gateway

export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=envoy-gateway ; ./deploy-kind-gtw-api-cluster.sh

istio

export CONFIG_DIR=${PWD}/config
export IMPLEMENTATION=istio ; ./deploy-kind-gtw-api-cluster.sh

Want to test another implementation?

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

About

Framework to test different gateway-api implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages