@catladder/pipeline
Version:
Panter workflow for cloud CI/CD and DevOps
61 lines (55 loc) • 1.3 kB
text/typescript
import type { Config } from "../src";
const config = {
appName: "test-app",
customerName: "pan",
components: {
api: {
dir: "api",
dotEnv: false,
build: {
type: "node",
},
deploy: {
type: "kubernetes",
cluster: {
name: "some-cluster-name",
region: "europe-west6",
projectId: "some-project-id",
type: "gcloud",
domainCanonical: "panter.cloud",
},
values: {
application: {
command: "node main.js",
autoscale: {
minReplicas: 2,
maxReplicas: 5,
metrics: [
{
type: "Resource",
resource: {
name: "cpu",
target: {
type: "Utilization",
averageUtilization: 0.5,
},
},
},
],
},
resources: {
limits: {
cpu: "1",
memory: "2048Mi",
},
},
},
},
},
},
},
} satisfies Config;
export default config;
export const information = {
title: "K8s: Application Customization",
};