Skip to content

A Kubernetes controller to automatically expose a statefulset through GCP Private Service Connect, using Port Mapping NEGs.

License

Notifications You must be signed in to change notification settings

0x5d/psc-portmapper

Repository files navigation

psc-portmapper

A Kubernetes controller to automatically expose a statefulset through GCP Private Service Connect, using Port Mapping NEGs.

See the design doc for more info.

IMPORTANT

This is a WIP, currently undergoing testing and lots of changes. Contributions are very much welcome.

Reqirements

psc-portmapper requires its target statefulset to keep a 1:1 pod-node relationship, to be able to map a single port (i.e. on the forwarding rule exposed through the service attachment) to a single pod. This is because it creates a NodePort service to satisfy the port-mapping Network Endpoint Group's requirement to have an instance:port pair as its target.

Because of this, psc-portmapper isn't compatible with Autopilot clusters, as they don't create actual instances which can be used as endpoint targets.

Installation

Helm (Recommended)

See the Chart docs.

About

A Kubernetes controller to automatically expose a statefulset through GCP Private Service Connect, using Port Mapping NEGs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published