Skip to content

Polaris2istio watches Polaris registry and synchronize all the matched Polaris services to Istio.

Notifications You must be signed in to change notification settings

aeraki-mesh/polaris2istio

Repository files navigation

polaris2istio

Polaris2istio watches Polaris registry and synchronize the Polaris services which match the rules to Istio.

 polaris2istio

Usage

Build

make build

Run

polaris2istio --polarisAddress <polarishost:port>

Config

Method 1. Sync polaris service base on ServiceEntry:
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: <polaris-name-for-k8s>
  namespace: polaris
  annotations:
    aeraki.net/polarisNamespace: Test
    aeraki.net/polarisService: test-service
    aeraki.net/external: "false"
  labels:
    manager: aeraki
    registry: polaris
spec:
  hosts:
    - dev.<polaris-name-for-k8s>.polaris
  resolution: NONE # or STATIC

We just watch the ServiceEntrys in the polaris namespae.

About

Polaris2istio watches Polaris registry and synchronize all the matched Polaris services to Istio.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published