ipassign

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

README

ipassign

PkgGoDev

This package is published as a container to ghcr.io/cycoresystems/ipassign.

ipassign binds a given set of kubernetes Nodes to a given set of Public IP addresses. Both sets are determined by tags, where the Nodes use kubernetes labels, and the Public IPs use the cloud provider's selection mechanism (labels or tags).

In AWS, Elastic IPs are additionally selected by a GROUP tag. This is to facilitate deployment groups while maintaining the same resource tags otherwise. For GCP, this kind of layering is usually applied through the use of differing deployment zones or differing project IDs.

This utility is somewhat opinionated, but the backends are now modular, allowing you to create more flexible options, should you need them.

RBAC

Because the Node object is not a namespaced resource, a simple RoleBinding is not sufficient. You must use ClusterRole and ClusterRoleBindings.

Please see the example.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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