Add automatic cluster pool allocation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-18 23:08:06 +03:30
parent 97e4c865b6
commit 72a1519ea0
19 changed files with 983 additions and 151 deletions
@@ -136,10 +136,10 @@ export class Application {
@Column()
userId: string;
@Column({ nullable: true })
@Column({ type: 'uuid', nullable: true })
clusterId: string;
@Column({ nullable: true })
@Column({ type: 'uuid', nullable: true })
poolId: string; // Cluster pool used for load-balanced assignment
@OneToMany(() => Deployment, (deployment: Deployment) => deployment.application)