2025-06-20 05:56:38 +00:00

40 lines
1.0 KiB
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: healthsync-motivator-manual
namespace: team1tier-healthsync-motivator-ns
labels:
app: healthsync-motivator
type: manual
spec:
template:
metadata:
labels:
app: healthsync-motivator-manual
spec:
imagePullSecrets:
- name: acr-secret
restartPolicy: Never
containers:
- name: motivator-batch
image: acrhealthsync01.azurecr.io/team1tier/motivator-service:1.1.1
imagePullPolicy: Always
command: ["python", "app/batch_runner.py"]
envFrom:
- configMapRef:
name: motivator-config
- secretRef:
name: motivator-secret
resources:
requests:
cpu: 256m
memory: 256Mi
limits:
cpu: 1024m
memory: 1024Mi
env:
- name: PYTHONPATH
value: "/app"
- name: PYTHONUNBUFFERED
value: "1"