Migrate from ingress controller to Gateway APIΒΆ
Follow the below steps to migrate load balancer services from ingress controller to Gateway APIs
Note
Assumption here is you have used metallb for setting up external IP
Stop all application that uses the ingress controller (external IP) from this cluster
Check status of ingress controller
kubectl -n ingress-nginx get svc
Based on the status if ingress controller is running, delete the services
kubectl delete -f aizen-helmcharts-1.0.0/aizen/charts/infra/charts/ingress-controller/nginx_metal_deploy.yaml
kubectl -n ingress-nginx get svc
Install Istio and Gateway APIs
Deploy Aizen infra and core components. there will be a lingering ingress for infra please delete it
kubectl -n aizen-infra delete ingress aizen-infra-grafana
You can check all http routes are created after infra and core components are deployed
kubectl -n aizen-infra get httproutes kubectl -n aizen get httproutes