fold-discovery

command
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Command fold-discovery produces fold's discovery document from Kubernetes Services: it lists Services matching a label selector on an interval, maps them to upstream entries via fold.run/* annotations, and serves {"upstreams": [...]} for a fold gateway's discovery.url to poll.

fold-discovery --port 8090                  # in-cluster
fold-discovery --kube-api http://127.0.0.1:8001   # via kubectl proxy

Jump to

Keyboard shortcuts

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