1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-23 05:28:13 +00:00
senpy/k8s/senpy-deployment.yaml.tmpl

37 lines
762 B
Cheetah
Raw Normal View History

2017-05-19 12:38:29 +00:00
---
2022-05-23 12:03:44 +00:00
apiVersion: apps/v1
2017-05-19 12:38:29 +00:00
kind: Deployment
metadata:
name: senpy-latest
spec:
replicas: 1
2022-05-23 12:03:44 +00:00
selector:
matchLabels:
app: senpy-latest
2017-05-19 12:38:29 +00:00
template:
metadata:
labels:
2022-05-23 12:03:44 +00:00
app: senpy-latest
2022-05-23 13:19:46 +00:00
role: senpy-latest
2017-05-19 12:38:29 +00:00
spec:
containers:
- name: senpy-latest
image: $IMAGEWTAG
imagePullPolicy: Always
2022-05-24 12:44:46 +00:00
args: ["--enable-cors"]
2017-05-19 12:38:29 +00:00
resources:
limits:
memory: "512Mi"
cpu: "1000m"
ports:
- name: web
containerPort: 5000
2023-09-26 15:57:36 +00:00
volumeMounts:
- name: senpy-data
mountPath: /senpy-data
2023-09-27 09:01:15 +00:00
subPath: data
2023-09-26 15:57:36 +00:00
volumes:
- name: senpy-data
persistentVolumeClaim:
claimName: pvc-senpy