k8s/manifests/01-deployments/flask-htmx-master.yaml

21 lines
398 B
YAML
Raw Normal View History

2023-07-01 23:58:54 +10:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-htmx-master
namespace: vdk2ch
spec:
replicas: 2
selector:
matchLabels:
app: flask-htmx-master
template:
metadata:
labels:
app: flask-htmx-master
spec:
containers:
- name: flask-htmx-master
image: flask-htmx-board1:master-of-slaves
ports:
- containerPort: 5000