askill
preparing-iac-deployment

preparing-iac-deploymentSafety --Repository

Prepares IaC project deployment by analyzing the current project and generating K8s manifests, Dockerfiles, CI/CD workflows in standardized structure. Use for "배포 준비", "IaC 설정", "k8s 매니페스트", "deploy prep" requests.

4 stars
1.2k downloads
Updated 2/7/2026

Package Files

Loading files...
SKILL.md

IaC Deploy Prep

Generate deployment infrastructure from project analysis.

Generated Files

deploy/
├── Dockerfile
├── docker-compose.yml
├── k8s/
│   ├── deployment.yaml
│   ├── service.yaml
│   ├── configmap.yaml
│   └── ingress.yaml
└── .github/workflows/
    └── deploy.yml

Workflow

Step 1: Analyze Project

Detect:

  • Language/framework (package.json, requirements.txt, Cargo.toml)
  • Port configuration
  • Environment variables needed
  • Database dependencies

Step 2: Generate Dockerfile

# Auto-detected: Node.js
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
COPY . .
EXPOSE 3000
CMD ["npm", "start"]

Step 3: Generate K8s Manifests

# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: {app-name}
spec:
  replicas: 2
  template:
    spec:
      containers:
      - name: app
        image: {registry}/{app-name}:latest
        ports:
        - containerPort: 3000

Step 4: Generate CI/CD

# .github/workflows/deploy.yml
on:
  push:
    branches: [main]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: docker build -t $IMAGE .
      - run: kubectl apply -f deploy/k8s/

Language Detection

FileFrameworkBase Image
package.jsonNode.jsnode:20-alpine
requirements.txtPythonpython:3.11-slim
Cargo.tomlRustrust:1.75-alpine
go.modGogolang:1.21-alpine

Best Practices

  • Use multi-stage builds for smaller images
  • Set resource limits in K8s
  • Use secrets for sensitive config
  • Include health checks

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/7/2026
Publisherjiunbae

Tags

ci-cddatabasegithubgithub-actions