Production readiness checklist

Uses: Kong Mesh
Related Documentation
Minimum Version
Kong Mesh - 3.0

Settings that affect configuration at scale

reachableBackends has the largest effect, because the amount of configuration for each proxy grows with the number of services. For more information, see reachableBackends. The following settings decide how much work the control plane does and how quickly proxies receive its output.

xDS refresh interval

Every 10 seconds, the control plane regenerates the configuration of each connected proxy. The xdsServer.dataplaneConfigurationRefreshInterval setting (KUMA_XDS_SERVER_DATAPLANE_CONFIGURATION_REFRESH_INTERVAL) sets this interval.

Changes to meshes, policies, and services take up to ten seconds to reach the proxies. Changes to trust bundles also take up to ten seconds. During a CA rotation, keep the old CA in place for at least one refresh interval after you add the new one. Otherwise, proxies that haven’t refreshed yet fail mTLS. See MeshTrust.

If a deployment needs faster propagation, you can lower the interval. A shorter interval uses more control plane CPU, so plan for it.

KDS synchronization between zones

In a multi-zone deployment, the global control plane and the zone control planes exchange resources over KDS. Each control plane sends changes as they happen, grouped over a flushInterval of 5s. Every minute (fullResyncInterval: 1m), it also sends a full resync, which recovers any change that the event path missed. The delayFullResync: true setting delays the first full resync by a random time, so zones don’t all resync at once.

These settings apply to both multizone.global.kds.eventBasedWatchdog and multizone.zone.kds.eventBasedWatchdog. See Multi-zone architecture.

Policy target breadth

The control plane evaluates a policy with a top-level targetRef of kind: Mesh for every proxy in the mesh. Select only the workloads that the policy must affect. A narrow selection keeps the work in proportion to what the policy does, and makes overlapping policies easier to understand. See Policy targeting.

Defaults to configure before production

Kong Mesh 3.x expects you to decide the following items instead of relying on a default. Each item links to the page that covers it.

Area

What to do

Where

Outbound to the internet With the default restrictOutbound setting, a transparent proxy that no MeshPassthrough selects drops traffic to destinations outside the mesh. Allow the destinations that your workloads use. MeshPassthrough
Retries A new mesh has no default policies. The control plane still applies default timeouts and circuit breaker limits, but a mesh without a MeshRetry doesn’t retry. Apply a MeshRetry. MeshRetry
Inbound ports You can’t turn off strict inbound ports. A sidecar with a transparent proxy and a workload identity accepts traffic only on the ports of its inbounds, unless a MeshTLS policy sets Permissive mode for it. Declare every port that the workload receives traffic on. Concepts
Identity Replace the autogenerated CA of each zone with a CA you control. Your identity platform then distributes and rotates trust, instead of you copying it between zones. Use your own CA
Authorization Keep the Strict mTLS mode that a proxy gets with its workload identity, and don’t leave a MeshTLS policy in Permissive mode. Keep MeshTrafficPermission default-deny. A call path that you didn’t declare then fails at authorization as well as at resolution. MeshTLS and MeshTrafficPermission
External services A client proxy gets a cluster for a MeshExternalService only when it has a workload identity. Make sure that a MeshIdentity matches the proxies that call the external service. MeshExternalService
Cross-zone load balancing MeshLoadBalancingStrategy accepts localityAwareness.crossZone only in a to entry that targets a MeshMultiZoneService. The control plane rejects it on a Mesh, MeshService, or MeshExternalService target. MeshMultiZoneService
Naming Names of Mesh, Zone, MeshService, MeshExternalService, and MeshMultiZoneService resources must be RFC 1035 labels, because HostnameGenerator uses them in DNS hostnames. The control plane rejects names that don’t conform. HostnameGenerator
Observability Send MeshMetric, MeshTrace, and MeshAccessLog data to backends that share labels for mesh, zone, workload, and service, so that one query covers every zone. Observability across zones

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!