Connect a Universal zone to Konnect with the UI

Uses: Kong Mesh
Incompatible with
on-prem
Related Documentation
Minimum Version
Kong Mesh - 3.0
Previous Versions of this page
TL;DR

Create a new global control plane running v3, deploy a 3.x zone control plane with its Konnect credentials, and verify that the zone connects.

Prerequisites

If you don’t have a Konnect account, you can get started quickly with our onboarding wizard.

  1. The following Konnect items are required to complete this tutorial:
    • Personal access token (PAT): Create a new personal access token by opening the Konnect PAT page and selecting Generate Token.
  2. Set the personal access token as an environment variable:

    export KONNECT_TOKEN='YOUR KONNECT TOKEN'

This guide creates a Konnect-managed global control plane and connects a Universal zone.

Create the global control plane

  1. In the Konnect sidebar, click Service Mesh.
  2. Click Create a service mesh.
  3. In the Name field, enter example-cp.
  4. From the Version dropdown menu, select “v3”.
  5. Click Save.
  6. Copy the control plane ID and export it:

    export CONTROL_PLANE_ID='YOUR_CONTROL_PLANE_ID'
  7. Export your Konnect region:

    export KONNECT_REGION='us'

Add the zone

  1. In the Konnect sidebar, click Service Mesh.
  2. Click example-cp.
  3. Click Create zone.
  4. Select Universal.
  5. In the Name field, enter zone-1.
  6. In the Use token from system account dropdown menu, select the name under Autogenerate new system account with the name.
  7. Click Create system account and issue token.
  8. Copy the generated zone token and export it to your environment:
    export CONTROL_PLANE_TOKEN='YOUR_GENERATED_ZONE_ACCESS_TOKEN'
  9. Run the commands provided in Konnect to deploy the zone control plane.
  10. Once the zone is connected, click Close.

Validate

Confirm the zone is connected to your global control plane:

  1. In the Konnect sidebar, click Service Mesh.
  2. Click example-cp.
  3. Confirm that zone-1 appears in the list of zones with an Online status.

If a zone is missing or not Online, check:

  • The zone’s control plane logs
  • Outbound access to the KDS address
  • The control plane ID
  • The system account’s Connector role and token

Cleanup

Stop the control plane this guide started:

kill "$(cat "$MESH_INSTALL_DIR/kuma-cp.pid")"

Leave the zone working directory and delete it:

cd "$(dirname "$MESH_INSTALL_DIR")"
rm -rf "$MESH_INSTALL_DIR"

Delete the example-cp control plane. This also removes its mesh configuration:

  1. In the Konnect sidebar, click Service Mesh.
  2. Click example-cp.
  3. From the Actions dropdown menu, select “Delete control plane”.
  4. In the confirmation dialog, enter example-cp.
  5. Click Yes, delete.

Delete the system account that the zone wizard created for zone-1:

  1. In the Konnect sidebar, click Organization.
  2. Click the System Accounts tab.
  3. Click the system account created for zone-1.
  4. From the Actions dropdown menu, select “Delete”.
  5. In the confirmation dialog, enter the name of the system account.
  6. Click Yes, remove.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!