14 lines
382 B
TypeScript
14 lines
382 B
TypeScript
|
import type { IServiceRessources } from "./docker.js";
|
||
|
|
||
|
/**
|
||
|
* used for tellilng a cluster about a disired deployment
|
||
|
* and specifies its configuration
|
||
|
*/
|
||
|
export interface IDeploymentDirective {
|
||
|
id: string;
|
||
|
name: string;
|
||
|
imageClaim: string;
|
||
|
ports: { hostPort: number; containerPort: number }[];
|
||
|
environment: { [key: string]: string };
|
||
|
resources?: IServiceRessources;
|
||
|
}
|