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

  1. Stop all application that uses the ingress controller (external IP) from this cluster

  2. Check status of ingress controller

kubectl -n ingress-nginx get svc
  1. 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
  1. Install Istio and Gateway APIs

  2. 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
    
  3. 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