Mercurial > code > home > repos > sco-bot
view k8s/deploy.yaml @ 7:53ae53f7d1b3
add k8s config
author | drewp@bigasterisk.com |
---|---|
date | Sat, 06 Jul 2024 16:45:19 -0700 |
parents | |
children | f23b21bd0fce |
line wrap: on
line source
apiVersion: apps/v1 kind: Deployment metadata: name: sco-bot spec: replicas: 1 selector: matchLabels: app: sco-bot template: metadata: labels: app: sco-bot spec: containers: - name: vite image: reg:5000/sco_bot_web workingDir: /opt command: - pnpm - exec - vite ports: - containerPort: 8002 - name: search image: reg:5000/sco_bot_search workingDir: /opt command: - pdm - run - fastapi - dev - --host - "0.0.0.0" - --port - "8001" - search/query.py ports: - containerPort: 8001