Kong Mesh with Kubernetes
To install and run Kong Mesh on Kubernetes, execute the
Finally, you can follow the Quickstart to take it from here
and continue your Kong Mesh journey.
You have a license for Kong Mesh.
1. Download Kong Mesh
To run Kong Mesh on Kubernetes, you need to download a
compatible version of Kong Mesh for the machine from which you
will be executing the commands.
2. Run Kong Mesh
Note: Before running the Kong Mesh
control plane process in the next step — which is served by the
kuma-cp container — you need to have a valid
Kong Mesh license in place.
Navigate to the
$ cd kong-mesh-1.2.1/bin
Then, run the control plane with:
$ kumactl install control-plane --license-path=/path/to/license.json | kubectl apply -f -
/path/to/license.json is the path to a valid Kong Mesh
license file on the file system.
This example will run Kong Mesh in standalone mode for a flat
deployment, but there are more advanced deployment modes
We suggest adding the
kumactl executable to your
PATH so that it’s always
available in every working directory. Alternatively, you can also create a link
/usr/local/bin/ by executing:
$ ln -s ./kumactl /usr/local/bin/kumactl
It may take a while for Kubernetes to start the
Kong Mesh resources. You can check the status by executing:
$ kubectl get pod -n kong-mesh-system
3. Verify the Installation
Now that Kong Mesh (
kuma-cp) has been installed in the newly
kong-mesh-system namespace, you can access the control plane using either
kubectl, the HTTP API, or the CLI:
You will notice that Kong Mesh automatically creates a
entity with the name
Congratulations! You have successfully installed Kong Mesh.
After installation, the Kuma quickstart documentation is fully compatible with
Kong Mesh, except that you are running Kong Mesh
binaries instead of the vanilla Kuma ones.
To start using Kong Mesh, see the
quickstart guide for Kubernetes deployments.