You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Pre-requises
kubectl apply -f ./gateway-api-in-action/manifests/04-migration/01-basic-auth
kubectl apply -f ./gateway-api-in-action/manifests/04-migration/02-ingressclass
kubectl apply -f ./gateway-api-in-action/manifests/04-migration/03-whoami
## First step: Expose the backend with the Ingress
kubectl apply -f ./gateway-api-in-action/manifests/04-migration/04-ingress
# Reach the backend successfully every secondwhiletruedo
curl http://whoami-tls.docker.localhost -L -u "user:password" --location-trusted
sleep 1
done## Second step: Expose the backend with a HTTPRoute# Deploy the ingress
kubectl apply -f ./gateway-api-in-action/manifests/04-migration/05-gatewayapi
## The ingress has a bigger name than the HTTPRoute, so the priority is higher: Traefik still uses the Ingress for the routing# Delete the ingress
kubectl delete -f ./gateway-api-in-action/manifests/04-migration/04-ingress