@controlplane/schema
Version:
Control Plane Corporation Schema
20 lines (19 loc) • 419 B
TypeScript
export interface DeploymentResources {
replicas?: number;
replicasReady?: number;
cpu?: number;
memory?: number;
}
export interface ContainerStatus {
name?: string;
image?: string;
ready?: boolean;
resources?: DeploymentResources;
message?: string;
restarts?: {
lastRestartTime?: Date;
exitCode?: number;
reason?: string;
count?: number;
};
}