mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
37 lines
762 B
Cheetah
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
|