psc-portmapper

command module
v0.0.0-...-73315e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2025 License: BSD-3-Clause Imports: 17 Imported by: 0

README

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

See the Chart docs.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
gcp
gcp/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL