1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00
senpy/k8s/senpy-deployment.yaml.tmpl
J. Fernando Sánchez 268d2a4848 adapt deployment
2023-09-26 17:57:36 +02:00

37 lines
762 B
Cheetah

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: senpy-latest
spec:
replicas: 1
selector:
matchLabels:
app: senpy-latest
template:
metadata:
labels:
app: senpy-latest
role: senpy-latest
spec:
containers:
- name: senpy-latest
image: $IMAGEWTAG
imagePullPolicy: Always
args: ["--enable-cors"]
resources:
limits:
memory: "512Mi"
cpu: "1000m"
ports:
- name: web
containerPort: 5000
volumeMounts:
- name: senpy-data
mountPath: /senpy-data
subpath: data
volumes:
- name: senpy-data
persistentVolumeClaim:
claimName: pvc-senpy