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
| Annotation | Purpose |
|---|---|
polarismesh.cn/sync | true / false |
polarismesh.cn/aliasService | Alias service name on sync |
polarismesh.cn/aliasNamespace | Alias 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.