UNPKG

@gati-framework/cli

Version:

CLI tool for Gati framework - create, develop, build and deploy cloud-native applications

35 lines 1.24 kB
/** * @module cli/deployment/manifest-generator * @description Thin wrapper around Kubernetes manifest generators that also writes files */ import type { DeploymentEnvironment, DeploymentManifests } from './types.js'; export interface GenerateOptions { nodeVersion?: string; port?: number; replicas?: number; image?: string; startCommand?: string; buildCommand?: string; serviceType?: 'ClusterIP' | 'LoadBalancer' | 'NodePort'; enableAutoscaling?: boolean; minReplicas?: number; maxReplicas?: number; targetCPUUtilization?: number; targetMemoryUtilization?: number; enableIngress?: boolean; ingressHost?: string; ingressClassName?: string; enableTLS?: boolean; tlsSecretName?: string; } export declare function createManifests(appName: string, namespace: string, env: DeploymentEnvironment, options?: GenerateOptions): DeploymentManifests; export declare function writeManifests(outDir: string, manifests: DeploymentManifests): Promise<{ dockerfilePath: string; deploymentPath: string; servicePath: string; hpaPath?: string; ingressPath?: string; valuesPath: string; chartPath: string; }>; //# sourceMappingURL=manifest-generator.d.ts.map