homek8s/apps/base/osint/ingester-deployment.yaml

43 lines
1 KiB
YAML
Raw Permalink Normal View History

apiVersion: apps/v1
kind: Deployment
metadata:
name: osint-ingester
namespace: osint
labels:
app: osint-ingester
spec:
replicas: 1
selector:
matchLabels:
app: osint-ingester
template:
metadata:
labels:
app: osint-ingester
spec:
tolerations:
- key: dedicated
operator: Exists
effect: PreferNoSchedule
nodeSelector:
kubernetes.io/hostname: siriussec
containers:
- name: ingester
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
imagePullPolicy: IfNotPresent
command: ["python", "app/run_ingester.py"]
envFrom:
- configMapRef:
name: osint-env
env:
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: osint-db
key: password
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 512Mi