Lattice Hub Docs
Guides

Kubernetes Controller

Synchronize Kubernetes Services and inject Pole Sidecar.

The Kubernetes Controller connects clusters to Lattice Hub through Service sync and Sidecar injection.

Sync modes

  • all: synchronize Services broadly
  • demand: opt-in via annotations (preferred for shared production clusters)

Annotations

AnnotationPurpose
polarismesh.cn/synctrue / false
polarismesh.cn/aliasServiceAlias service name
polarismesh.cn/aliasNamespaceAlias namespace

Deploy

make build
cd deploy/kubernetes_v1.22/kubernetes && bash install.sh

Helm charts live under deploy/kubernetes_v1.22/helm. Configure control-plane host/token before install.

Injection

  • dns: DNS interception
  • mesh: traffic hijack with deeper governance

Further reading

On this page