Files
kubernetes/argos/deployments/deploy-panel.yaml

35 lines
923 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: argos-panel
namespace: argos-core
spec:
replicas: 1
selector:
matchLabels: { app: argos-panel }
template:
metadata:
labels: { app: argos-panel }
spec:
containers:
- name: panel
image: harbor.c2et.net/library/python:3.13.7-slim-bookworm
command: ["/bin/sh","-c"]
args:
- |
set -e
pip install fastapi uvicorn minio
exec uvicorn app:app --host 0.0.0.0 --port 8000 --app-dir /app
envFrom:
- secretRef: { name: argos-panel-secret }
volumeMounts:
- { name: app, mountPath: /app }
ports:
- { containerPort: 8000, name: http }
volumes:
- name: app
configMap:
name: argos-panel-config
items:
- { key: app.py, path: app.py }