mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
33 lines
644 B
YAML
33 lines
644 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: lingo-api
|
|
name: lingo-api
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: lingo
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lingo-api
|
|
spec:
|
|
containers:
|
|
- image: ghcr.io/rubenhensen/lingo-api:master
|
|
name: lingo-api
|
|
ports:
|
|
- containerPort: 8000
|
|
protocol: TCP
|
|
resources:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m"
|
|
restartPolicy: Always
|