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
Click to show internal directories.
Click to hide internal directories.