new subdomain
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-16 02:24:51 +10:00
parent b04aefbe28
commit 113214ee42
3 changed files with 64 additions and 1 deletions

View File

@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-htmx-our-style
namespace: vdk2ch
spec:
revisionHistoryLimit: 3
replicas: 2
selector:
matchLabels:
app: flask-htmx-our-style
template:
metadata:
labels:
app: flask-htmx-our-style
spec:
containers:
- name: flask-htmx-our-style
image: flask-htmx-board1:our-style
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

View File

@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Service
metadata:
name: flask-htmx-our-style-service
namespace: vdk2ch
spec:
selector:
app: flask-htmx-our-style
ports:
- protocol: TCP
name: board
port: 5000
targetPort: 5000

View File

@ -29,3 +29,13 @@ spec:
name: flask-htmx-dev-service name: flask-htmx-dev-service
port: port:
number: 5000 number: 5000
- host: our-style.board.vdk2ch.ru
http:
paths:
- path: /(.*)
pathType: Prefix
backend:
service:
name: flask-htmx-our-style-service
port:
number: 5000