añadido gitea y medio argos
This commit is contained in:
35
argos/deployments/deploy-orchestrator.yaml
Normal file
35
argos/deployments/deploy-orchestrator.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: argos-orchestrator
|
||||
namespace: argos-core
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: argos-orchestrator } }
|
||||
template:
|
||||
metadata: { labels: { app: argos-orchestrator } }
|
||||
spec:
|
||||
containers:
|
||||
- name: orchestrator
|
||||
image: harbor.c2et.net/library/python:3.13.7-slim-bookworm
|
||||
command: ["/bin/sh","-c"]
|
||||
args:
|
||||
- |
|
||||
set -e
|
||||
apt-get update && apt-get install -y --no-install-recommends ffmpeg curl && rm -rf /var/lib/apt/lists/*
|
||||
pip install paho-mqtt minio pyyaml requests
|
||||
python /app/app.py
|
||||
envFrom:
|
||||
- secretRef: { name: argos-orchestrator-secret }
|
||||
volumeMounts:
|
||||
- { name: cfg, mountPath: /app }
|
||||
- { name: data, mountPath: /data }
|
||||
volumes:
|
||||
- name: cfg
|
||||
configMap:
|
||||
name: argos-orchestrator-config
|
||||
items:
|
||||
- { key: app.py, path: app.py }
|
||||
- { key: settings.yaml, path: settings.yaml }
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
Reference in New Issue
Block a user