Fix backend Elasticsearch connectivity for local dev and app logs.
Auto port-forward using the registered cluster kubeconfig, default to loopback outside Kubernetes, route log APIs by app cluster, and document platform env settings. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,7 +30,7 @@ REGISTRY_PASSWORD=registry_secret
|
||||
|
||||
# Central logging (Elasticsearch + Kibana)
|
||||
# In-cluster backend: leave ELASTICSEARCH_HOST unset (uses elasticsearch.logging.svc.cluster.local).
|
||||
# Local backend (npm run dev): API auto-runs kubectl port-forward when host is loopback
|
||||
# Local backend (npm run dev): defaults to 127.0.0.1 and auto-runs kubectl port-forward to the default cluster.
|
||||
# ELASTICSEARCH_HOST=127.0.0.1
|
||||
# ELASTICSEARCH_PORT=9200
|
||||
# ELASTICSEARCH_AUTO_PORT_FORWARD=false
|
||||
|
||||
Reference in New Issue
Block a user