Lattice Hub Docs

Synchronizing Kubernetes Services into Lattice Hub

Full sync, demand sync, annotations, and service aliases.

The Kubernetes Controller brings cluster Services into Lattice Hub. The hard questions are which Services to sync, how names map, and how aliases stay understandable.

Sync modes

  • all: synchronize Services broadly—simple, but noisy on shared clusters.
  • demand: opt-in with Namespace/Service annotations—better for progressive adoption.

Annotations

AnnotationPurpose
polarismesh.cn/synctrue / false
polarismesh.cn/aliasServiceAlias service name on sync
polarismesh.cn/aliasNamespaceAlias Namespace

Namespace semantics

A control-plane Namespace is an environment, not “every Kubernetes Namespace is a tenant”. Map cluster namespaces onto business names, then into dev/prod environments.

On this page