Improve logging recovery, resource scaling, and app deploy logging.
Auto-reconnect Elasticsearch port-forward after cluster or API restarts, poll log status in the UI, and apply storage changes through billing upgrade for all workloads. Add Redis/RabbitMQ PVC resize, Helm ES credentials for Fluent Bit, and fix deploy progress overlay behavior. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -35,9 +35,21 @@ export default () => ({
|
||||
},
|
||||
|
||||
elasticsearch: {
|
||||
/** API host for log search. Use cluster DNS in-cluster; 127.0.0.1 + port-forward when backend runs locally. */
|
||||
host: process.env.ELASTICSEARCH_HOST || 'elasticsearch.logging.svc.cluster.local',
|
||||
port: parseInt(process.env.ELASTICSEARCH_PORT || '9200', 10),
|
||||
/** In development with loopback host, start kubectl port-forward on API boot (set false to manage manually). */
|
||||
autoPortForward: process.env.ELASTICSEARCH_AUTO_PORT_FORWARD ?? 'true',
|
||||
password: process.env.ELASTIC_PASSWORD || 'CloudHost2024!Secure',
|
||||
fluentbitPassword: process.env.FLUENTBIT_PASSWORD || 'FluentBit2024!Writer',
|
||||
kibanaPassword: process.env.KIBANA_SYSTEM_PASSWORD || 'Kibana2024!System',
|
||||
/** Override when cluster nodes cannot reach docker.elastic.co (mirror to local registry). */
|
||||
images: {
|
||||
elasticsearch:
|
||||
process.env.LOGGING_ELASTICSEARCH_IMAGE ||
|
||||
'docker.elastic.co/elasticsearch/elasticsearch:8.12.0',
|
||||
kibana: process.env.LOGGING_KIBANA_IMAGE || 'docker.elastic.co/kibana/kibana:8.12.0',
|
||||
},
|
||||
},
|
||||
|
||||
platform: {
|
||||
|
||||
Reference in New Issue
Block a user