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
|
2017-12-13 14:30:53 +00:00
|
|
|
image: $IMAGEWTAG
|
2017-06-12 18:43:39 +00:00
|
|
|
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
|