Files
llm-connect/deploy/k8s/activity-core-llm-connect/deployment.yaml
tegwick 14ba47c129
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
Add activity-core LLM endpoint support
2026-06-07 19:24:45 +02:00

65 lines
1.7 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: llm-connect
namespace: activity-core
labels:
app.kubernetes.io/name: llm-connect
app.kubernetes.io/part-of: activity-core
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: llm-connect
template:
metadata:
labels:
app.kubernetes.io/name: llm-connect
app.kubernetes.io/part-of: activity-core
spec:
containers:
- name: llm-connect
image: docker.io/library/llm-connect:latest
imagePullPolicy: Never
envFrom:
- configMapRef:
name: llm-connect-config
- secretRef:
name: llm-connect-provider-secrets
optional: false
ports:
- name: http
containerPort: 8080
readinessProbe:
httpGet:
path: /health
port: http
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /health
port: http
periodSeconds: 30
timeoutSeconds: 3
failureThreshold: 3
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10001
runAsGroup: 10001
securityContext:
fsGroup: 10001