42 lines
988 B
YAML
42 lines
988 B
YAML
|
apiVersion: apps/v1
|
|||
|
kind: Deployment
|
|||
|
metadata:
|
|||
|
name: flask-htmx-dev
|
|||
|
namespace: vdk2ch
|
|||
|
spec:
|
|||
|
revisionHistoryLimit: 5
|
|||
|
replicas: 2
|
|||
|
selector:
|
|||
|
matchLabels:
|
|||
|
app: flask-htmx-dev
|
|||
|
template:
|
|||
|
metadata:
|
|||
|
labels:
|
|||
|
app: flask-htmx-dev
|
|||
|
spec:
|
|||
|
containers:
|
|||
|
- name: flask-htmx-dev
|
|||
|
image: harbor.guaranteedstruggle.host/library/flask-htmx-board1:dev
|
|||
|
imagePullPolicy: Always
|
|||
|
ports:
|
|||
|
- containerPort: 5000
|
|||
|
|
|||
|
#### таймауты и прочее взяты с потолка
|
|||
|
#livenessProbe:
|
|||
|
# httpGet:
|
|||
|
# path: /liveness
|
|||
|
# port: 5000
|
|||
|
# initialDelaySeconds: 2
|
|||
|
# timeoutSeconds: 2
|
|||
|
# periodSeconds: 5
|
|||
|
# failureThreshold: 2
|
|||
|
#readinessProbe:
|
|||
|
# httpGet:
|
|||
|
# path: /readiness
|
|||
|
# port: 5000
|
|||
|
# initialDelaySeconds: 3
|
|||
|
# timeoutSeconds: 3
|
|||
|
# periodSeconds: 10
|
|||
|
# failureThreshold: 3
|
|||
|
|