You are browsing documentation for an older version. See the latest documentation here.
AKS
To install Kong Ingress Controller for Konnect, select a Kong Ingress Controller Control Plane in Gateway Manager and follow the instructions in the UI
Prerequisites
- Set up an AKS cluster.
- Install
kubectl
and connect to the AKS Kubernetes cluster.
Deploy the Kong Ingress Controller
-
Add the Kong Helm repo
helm repo add kong https://charts.konghq.com helm repo update
-
Deploy the Kong Ingress Controller using
Helm
:helm install kong kong/ingress -n kong --create-namespace
The results should look like this:
NAME: kong LAST DEPLOYED: Tue Oct 3 15:12:38 2023 NAMESPACE: kong STATUS: deployed REVISION: 1 TEST SUITE: None
Note: this process could take up to five minutes the first time.
Setup environment variables
Create an environment variable with the IP address at which Kong is accessible. This IP address sends requests to the Kubernetes cluster.
-
Get the IP address at which Kong is accessible:
$ kubectl get services -n kong
The results should look like this:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kong-gateway-proxy LoadBalancer 10.0.92.49 20.232.82.183 80:31540/TCP,443:31338/TCP 5m10s
-
Create an environment variable to hold the ELB hostname:
$ export PROXY_IP=$(kubectl get -o jsonpath="{.status.loadBalancer.ingress[0].ip}" service -n kong kong-gateway-proxy)
Note: It may take some time for Azure to associate the IP address to the
kong-gateway-proxy
Service.
After you’ve installed the Kong Ingress Controller, learn to use Ingress Controller, see the getting started tutorial.