-
Kong Operator
Kong Operator is the Kubernetes-native way to interact with Kong. Deploy data planes, configure Konnect, and more.
-
Install Kong Operator
Deploy the Kong Operator
-
Kong Operator version support policy
Check if your version of Kong Operator is supported
-
Kong Operator Changelog
New features, bug fixes and breaking changes for Kong Operator
Operator Documentation
-
Kong Operator architecture
Learn about the Kong Operator architecture with a self-hosted control plane or with Konnect, for single-tenant and multi-tenant deployments.
-
Multi-tenancy
Understand how to run multiple isolated Kong Gateway instances on the same Kubernetes cluster using Kong Operator.
-
Configuration options
Learn about the various settings and configurations of the operator which can be tweaked using CLI flags.
-
Custom resource definitions
Explore schemas of the available Custom Resources for Kong Operator
-
Permissions required for Kong Operator
Reference for the Kubernetes permissions required to install and run Kong Operator.
-
Version compatibility
Understand which versions of Kubernetes and the Gateway API Kong Operator works with
-
Kong Operator ControlPlane feature gates and controllers
Configure feature gates and controllers for Kong ControlPlane in Kong Operator
-
HTTP proxy configuration
Configure Kong Operator to route outbound traffic through an HTTP proxy using standard Go environment variables.
-
Limiting namespaces watched by ControlPlane
Learn how to limit the namespaces that ControlPlane watches.
Get Started
-
Manage Kong Gateway in Kubernetes through Kong Operator and the Gateway API
Deploy and configure Kong Gateway in Kubernetes using the standard Gateway API resources.
-
Manage Kong Gateway in Kubernetes through Kong Operator and the Konnect CRDs
Deploy and configure Kong Gateway in Kubernetes using Kong-specific Custom Resource Definitions (CRDs) provided by Kong Operator.
-
Deploy Kong Event Gateway on Kubernetes
Deploy Kong Event Gateway on Kubernetes with Kong Operator, Konnect, and Event Gateway CRDs.
-
Deploy Kong Event Gateway with port mapping
Deploy Kong Event Gateway with a `LoadBalancer` Service and port-based broker mapping.
-
Deploy Kong Event Gateway with TLSRoute and SNI
Deploy Kong Event Gateway behind a Kubernetes Gateway using TLS passthrough and SNI routing.
-
Install Kong Operator for Kong Event Gateway
Install Kong Operator and prepare a Kubernetes cluster for Kong Event Gateway, with either a Konnect or an on-prem control plane.
-
Deploy Kong AI Gateway on Kubernetes
Deploy Kong AI Gateway on Kubernetes with Kong Operator and AI Gateway CRDs.
-
Add AI Consumers with Kong Operator
Use AIGatewayConsumer, AIGatewayConsumerCredential, and AIGatewayConsumerGroup to authenticate downstream clients and enforce per-Consumer controls on your AI Gateway deployment.
-
Apply AI Policies with Kong Operator
Add AIGatewayPolicy resources to enforce prompt guardrails and content governance on your AI Gateway deployment.
-
Deploy Kong AI Gateway with Kong Operator
Create an AI Gateway control plane, configure an AI provider and model, and deploy the data plane in Kubernetes.
-
Install Kong Operator for Kong AI Gateway
Install Kong Operator with the AI Gateway controllers enabled and prepare a Kubernetes cluster for Kong AI Gateway, with either a Konnect or an on-premises control plane.
Key Concepts
-
Gateway API
Understand how Kong Operator interacts with Gateway API resources
-
Gateway configuration
Customize your Kong Gateway deployments when using the Gateway resource
-
Managed Gateways
Learn how Kong Operator reconciles `Gateway` resources, automatically configuring listeners as needed
-
Enterprise license
Provide your Kong Gateway license using the KongLicense CRD or as an environment variable
-
Kong Event Gateway with Kong Operator
Deploy and validate Kong Event Gateway resources with Kong Operator
-
Kong AI Gateway with Kong Operator
Understand the Kubernetes resources that make up an Kong AI Gateway deployment managed by Kong Operator
How-To
-
Set DataPlane Image
Customize the image used for Kong Gateway
-
Deploy sidecars
Deploy sidecar containers alongside Kong Gateway using PodTemplateSpec
-
Automate TLS certificates with cert-manager
Learn how to use cert-manager to provision TLS certificates for Kong Operator and rotate them without restarting Kong Gateway.
-
Proxy HTTPS traffic with TLS termination
Learn how to configure HTTPS listeners and TLS termination for Kong Operator.
-
Use a Custom CA Certificate
Use a custom CA certificate when generating Data Plane certificates for Konnect
-
Deploy custom plugins with Kong Operator
Package and deploy custom Kong plugins as OCI images using the Kong Operator and reference them in Kong Gateway resources.
-
Route traffic with a Kubernetes Ingress resource
Configure Kong Operator to manage traditional Kubernetes Ingress resources.
-
Install Kong Operator for multi-tenancy
Create tenant namespaces, install Kong Operator scoped to those namespaces, and apply a KongLicense.
-
Configure a plugin for a specific HTTPRoute
Learn how to attach plugins to HTTPRoute resources using ExtensionRef or annotations.
-
Set timeouts and retries for a Service
Learn how to configure connection, read, and write timeouts and retry behavior on a Kubernetes Service using Kong Operator annotations.
-
Set the Host header sent to a Service
Learn how to override the Host header that Kong Gateway sends to upstream services using the konghq.com/host-header annotation.
-
Configure load balancing with KongUpstreamPolicy
Learn how to customize load balancing behavior for a Kubernetes Service using the konghq.com/upstream-policy annotation and a KongUpstreamPolicy resource.
-
Redirect HTTP traffic to HTTPS
Learn how to redirect HTTP requests to HTTPS with a custom status code using the konghq.com/https-redirect-status-code annotation on an HTTPRoute.
-
Upgrade Kong Operator with Helm
Step-by-step instructions for upgrading Kong Operator with Helm, including the manual CRD steps Helm doesn't handle for you.
Observability
-
Kong Operator metrics
See which metrics Kong Operator exposes and learn how to authenticate using a ServiceAccount to scrape the values
Advanced Usage
-
PodDisruptionBudget
Control the number of available pods during a rollout
-
PodTemplateSpec
Customize your ControlPlane and DataPlane deployments. Supports images, volume mounts, node affinity and more
-
Autoscaling Kong Gateway
Horizontally scale Kong Gateway based on CPU usage
-
Autoscaling workloads
Scale your Kubernetes workloads using latency information from Kong Gateway
-
Service annotations
Configure upstream behavior such as timeouts, retries, host header, and TLS by annotating Kubernetes Services exposed through an HTTPRoute.
-
Route annotations
Configure route behavior such as path stripping, host preservation, buffering, HTTPS redirects, and path handling by annotating HTTPRoute and GRPCRoute resources.
Upgrading
-
Migrating from Kong Gateway Operator 1.6.x to Kong Operator 2.0.0
Complete migration guide from Kong Operator (KGO) 1.6.x to Kong Operator (KO) 2.0.0.
-
Migrate KonnectExtension from konnectID to KonnectGatewayControlPlane
Learn how to migrate your KonnectExtension resources to KonnectGatewayControlPlane before upgrading to KO 2.0.0.
-
Migrate Konnect DataPlanes from Kong Gateway Operator 1.4 to 1.5
How do I migrate from Kong Gateway Operator 1.4 to 1.5, taking in to account breaking changes?
-
Upgrade Kong Operator
Understand how Kong Operator versioning works, what to check before upgrading, and version-specific upgrade notes
-
Rolling upgrades for Kong Gateway
Automatically terminate existing pods as new ones become ready
-
Blue/green upgrades for Kong Gateway
Create a new Kong Gateway Service any time your deployment changes, then promote it to be live after testing
-
Migrating from Kong Ingress Controller to Kong Operator 2.0.0
Complete migration guide from Kong Ingress Controller (KIC) to Kong Operator (KO) 2.0.0.
Troubleshooting
-
Status
Inspect resource statuses to see detailed information about Kong Operator resources
Reference
-
KonnectExtension
Automatically register data planes with Konnect by providing authentication credentials in KonnectExtension
-
Custom resource definitions
Explore schemas of the available Custom Resources for Kong Operator
Get Started
-
Create a control plane
Define a Konnect Gateway control plane and bind it to your cluster using a `KonnectExtension`.
-
Create a Service and Route
Provision a service and route in Konnect using Kubernetes CRDs.
-
Create API Authentication
Set up authentication between your Kubernetes cluster and Konnect using the `KonnectAPIAuthConfiguration` and `KonnectExtension` resources.
-
Enable Key Authentication
Secure an API using the `key-auth` plugin and credentials from a `KongConsumer`.
-
Enable Proxy Caching
Use the `KongPlugin` CRD to configure proxy caching for a route or service.
-
Install Kong Operator
Install the Kong Operator with Helm and enable Konnect CRD support.
-
Configure portal settings
Configure email settings, team access, and a custom domain for a Dev Portal with Kong Operator.
-
Configure portal sign-in with OIDC
Configure a `PortalIdentityProviderRequest` for Dev Portal sign-in with Kong Operator.
-
Create a Dev Portal and publish content
Create a `Portal`, a `PortalPage`, and a `PortalCustomization` with Kong Operator.
-
Install Kong Operator for Dev Portal
Install Kong Operator and prepare a Kubernetes cluster for Konnect Dev Portal CRDs.
Key Concepts
-
Reconciliation loop
How does the Kong Operator reconciliation loop work?
-
Labeling and tagging resources
How do I add additional metadata to entities managed by Kong Operator?
-
Understanding KongPluginBinding
What is KongPluginBinding, and how does it interact with the konghq.com/plugins annotation?
-
Cross namespace references
How do I use cross namespace references with Kong Operator?
-
Config Store-backed Vaults
How does a KongVault reference a KonnectConfigStore, and where do the secrets it holds actually live?
Konnect CRDs: Control Planes
-
Create a control plane
Create a Hybrid mode control plane in Konnect
-
Create a Control Plane Group
Create a Control Plane, and a Control Plane Group that contains the Control Plane
-
Create a Kong Ingress Controller Control Plane
Create a new Kong Ingress Controller Control Plane in Konnect
-
Reference an existing Control Plane
Reference an existing Hybrid mode Control Plane in Konnect
Konnect CRDs: Gateway
-
Create a Certificate and CA Certificate
Provision TLS and CA certificates in Konnect using Kubernetes CRDs, and assign SNIs to TLS certificates.
-
Create a Consumer and Consumer Group
Provision Consumers and manage Consumer Groups in Konnect using Kubernetes CRDs.
-
Create a Data Plane client certificate
Provision a Data Plane client certificate in Konnect using the `KongDataPlaneClientCertificate` CRD.
-
Create a Key and Key Set
Provision Keys and Key Sets in Konnect using CRDs, and associate Keys with Key Sets.
-
Create a Service and Route
Provision and manage Gateway Services and Routes in Konnect using KGO custom resources.
-
Create a serviceless Route
Create a Kong Route that does not have an attached Service. Useful when used with the Lambda plugin.
-
Create a Vault
Provision a Vault in Konnect using the KongVault CRD and configure it for use with your Control Plane.
-
Create an Upstream and Target
Provision an Upstream and attach Targets to it in Konnect using Kubernetes CRDs.
-
Enable a plugin on a Route
Enable a plugin on a Route in Konnect using the KongPlugin and KongPluginBinding CRDs and configure it for use with your control plane.
-
Set Konnect labels on control planes and data planes with Kong Operator
Use Gateway API annotations to set custom labels on the Konnect control planes and data plane nodes that Kong Operator creates for hybrid Gateways.
Konnect CRDs: Cloud Gateways
-
Create a Cloud Gateway Data Plane group configuration
Provision a Dedicated Cloud Gateway Data Plane group configuration in Konnect using the `KonnectCloudGatewayDataPlaneGroupConfiguration` CRD.
-
Create a Cloud Gateway Network
Provision a Dedicated Cloud Gateway Network in Konnect using the `KonnectCloudGatewayNetwork` CRD.
How-To
-
Reference Konnect authentication across multiple namespaces with Kong Operator
Learn how to use the KongReferenceGrant resource to use Konnect authentication configuration across namespaces.
-
Reference Secrets across multiple namespaces with Kong Operator
Learn how to use the ReferenceGrant and KongReferenceGrant resources to reference a Secret across namespaces.
-
Store TLS certificate private keys in a Konnect Config Store
Keep TLS private keys out of Kubernetes and out of your certificate objects by referencing them from a KonnectConfigStore-backed KongVault.
-
Enable static naming for Konnect control planes with Kong Operator
Ensure your Konnect control planes use predictable names to support references from other resources.
-
Connect Kong Operator to Konnect over AWS PrivateLink
Run Kong Operator and its data planes against Konnect without public internet egress, using an AWS PrivateLink VPC endpoint.
Troubleshooting
-
Status in Konnect
How do I find out why my resources aren't being reconciled against Konnect?
Reference
-
Custom resource definitions
Explore schemas of the available Custom Resources for Kong Operator
-
FAQ
Answers to common questions about managing Konnect entities using the Operator.
-
Migrate Konnect DataPlanes from Kong Gateway Operator 1.4 to 1.5
How do I migrate from Kong Gateway Operator 1.4 to 1.5, taking in to account breaking changes?
-
Migrate KonnectExtension from konnectID to KonnectGatewayControlPlane
Learn how to migrate your KonnectExtension resources to KonnectGatewayControlPlane before upgrading to KO 2.0.0.