feat(logging): add Elasticsearch admin and user logs API

Add admin endpoints for stack deploy/status and user-facing logs
query API. Register controllers and service in KubernetesModule.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-14 12:41:58 +03:30
parent 5ab7a6081e
commit 393be5d32f
3 changed files with 536 additions and 2 deletions
+6 -2
View File
@@ -1,11 +1,15 @@
import { Module, forwardRef } from '@nestjs/common';
import { KubernetesService } from './kubernetes.service';
import { HelmService } from './helm.service';
import { ElasticsearchService } from './elasticsearch.service';
import { ElasticsearchController } from './elasticsearch.controller';
import { LogsController } from './logs.controller';
import { ClustersModule } from '../clusters/clusters.module';
@Module({
imports: [forwardRef(() => ClustersModule)],
providers: [KubernetesService, HelmService],
exports: [KubernetesService, HelmService],
controllers: [ElasticsearchController, LogsController],
providers: [KubernetesService, HelmService, ElasticsearchService],
exports: [KubernetesService, HelmService, ElasticsearchService],
})
export class KubernetesModule {}