Expand description
HTTP proxy for cluster replica endpoints.
This module provides an HTTP proxy that forwards requests from environmentd to clusterd internal HTTP endpoints (profiling, metrics, tracing). This allows accessing clusterd endpoints through environmentdโs canonical HTTP port without requiring direct network access to the clusterd pods.
Structsยง
- Cluster
Proxy Config - Configuration for the cluster HTTP proxy.
- Clusters
Template ๐ - Replica
Info - Information about a replica for the clusters page template.
Constantsยง
- CONNECT_
TIMEOUT ๐ - Connection timeout for proxied requests.
- REQUEST_
TIMEOUT ๐ - Overall request timeout for proxied requests.
Functionsยง
- handle_
cluster_ ๐proxy - Proxy handler for cluster replica HTTP endpoints.
- handle_
cluster_ ๐proxy_ inner - handle_
cluster_ ๐proxy_ root - Proxy handler for cluster replica HTTP endpoints (root path).
- handle_
clusters ๐ - Handler for the clusters overview page.