Install KIC with Kong Gateway Operator
This feature is released as a tech preview (alpha-quality) and should not be depended upon in a production environment.
Both Kong Gateway Operator and Kong Ingress Controller can be configured using the Kubernetes Gateway API.
You configure your GatewayClass
and Gateway
objects in a vendor independent way and Kong Gateway Operator translates those requirements in to Kong specific configuration.
This means that CRDs for both the Gateway API and Kong Ingress Controller have to be installed.
Below command installs all Gateway API resources that have graduated to GA or beta,
including GatewayClass
, Gateway
, HTTPRoute
, and ReferenceGrant
.
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/standard-install.yaml
If you want to use experimental resources and fields such as TCPRoute
s and UDPRoute
s, please run this command.
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/experimental-install.yaml
To install Kong specific CRDs, run the following command.
kubectl apply -k https://github.com/Kong/kubernetes-ingress-controller/config/crd
To install Kong Gateway Operator use kubectl apply
:
kubectl apply -f https://docs.konghq.com/assets/gateway-operator/v1.1.0/crds.yaml --server-side
kubectl apply -f https://docs.konghq.com/assets/gateway-operator/v1.1.0/all_controllers.yaml
You can wait for the operator to be ready using kubectl wait
:
kubectl -n kong-system wait --for=condition=Available=true --timeout=120s deployment/gateway-operator-controller-manager