proxy-informer

command module
v0.0.0-...-6fe5e3b Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2021 License: MIT Imports: 19 Imported by: 0

README

proxy-informer

proxy-informer helps run a highly available Celo Proxy on Kubernetes by dynamically discovering Proxies and re-configuring a specified Validator.

Usage

Add a proxy-informer container to run as a sidecar to each Pod running a Celo validator container. The proxy-informer sidecar discovers proxies running on the Kubernetes cluster and makes JSONRPC requests to update the validator's proxy configuration.

e2e has an example usage.

Proxy discovery

Command-line arguments configure the proxy-informer:

Argument Default Description
-proxy-namespace default Namespace to search for proxy Pod objects
-proxy-label-selector proxy=true Label selector to identify Pod objects

The proxy-informer discovers internal and external enode URL values by reading two annotations on Pod objects:

Annotation Description
proxy.mantalabs.com/internal-enode-url Internal enode URL
proxy.mantalabs.com/external-enode-url External enode URL

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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