Files
content-ingestion-agent/k8s/deployment.yaml

37 lines
874 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: content-ingestion-agent
labels:
app: content-ingestion-agent
spec:
replicas: 2
selector:
matchLabels:
app: content-ingestion-agent
template:
metadata:
labels:
app: content-ingestion-agent
spec:
containers:
- name: agent
image: content-ingestion-agent:1.0.0
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
envFrom:
- configMapRef:
name: content-ingestion-agent-config
- secretRef:
name: content-ingestion-agent-secrets
readinessProbe:
httpGet:
path: /health
port: http
livenessProbe:
httpGet:
path: /health
port: http