PermalinkInstalling Kong for Kubernetes Enterprise
PermalinkIntroduction
Kong for Kubernetes Enterprise provides most Kong Enterprise plugins and runs without a database, but does not include other Kong Enterprise features (Kong Manager, Dev Portal, Vitals, and so on).
This installation topic walks you through a DB-less deployment on Kubernetes. For the full range of Enterprise features, you need a database-backed or a hybrid deployment. See the instructions for Installing Kong Enterprise on Kubernetes, which walk you through a deployment with a database.
You can install Kong for Kubernetes Enterprise using YAML with kubectl
, with
OpenShift oc
, or with Helm.
PermalinkDeployment Options
The following instructions assume that you are deploying Kong Gateway in classic embedded mode.
If you would like to run Kong Gateway in Hybrid mode, the instructions in this topic will walk you though setting up a Control Plane instance. Afterward, you will need to bring up additional Kong instances for the Data Planes, and perform further configuration steps. See Hybrid Mode setup documentation for details.
PermalinkPrerequisites
Before starting installation, be sure you have the following:
- Kubernetes cluster: Kong is compatible with all distributions of Kubernetes. You can use a Minikube, GKE, or OpenShift cluster.
-
kubectl or oc access: You should have
kubectl
oroc
(if working with OpenShift) installed and configured to communicate to your Kubernetes cluster. - You have signed up for a paid Enterprise subscription and received a
license.json
file from Kong.
PermalinkStep 1. Provision a Namespace
To create the license secret, first provision the kong
namespace:
PermalinkStep 2. Set Up Kong Enterprise License
Running Kong for Kubernetes Enterprise requires a valid license. See prerequisites for more information.
Save the license file temporarily to disk with filename license
(no file extension) and execute the following:
- There is no
.json
extension in the--from-file
parameter. -n kong
specifies the namespace in which you are deploying Kong for Kubernetes Enterprise. If you are deploying in a different namespace, change this value.
PermalinkStep 3. Deploy Kong for Kubernetes Enterprise
The steps in this section show you how to install Kong for Kubernetes Enterprise using YAML.
The initial setup might take a few minutes.
You can also see the kong-proxy service:
Set up an environment variable to hold the IP address:
$ export PROXY_IP=$(kubectl get -o jsonpath="{.status.loadBalancer.ingress[0].ip}" service -n kong kong-proxy)
It might take a while for your cloud provider to associate the IP address to the kong-proxy
service.
After you have installed Kong, see the getting started tutorial.
PermalinkNext steps…
See Using Kong for Kubernetes Enterprise for information about concepts, how-to guides, reference guides, and using plugins.