Odstranit z2/flask-web.yaml

This commit is contained in:
Tetiana Mohorian 2025-05-20 10:59:53 +00:00
parent 3ee89abeaa
commit 40a1b81a52

View File

@ -1,35 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-web
namespace: botspace
spec:
replicas: 1
selector:
matchLabels:
app: flask-web
template:
metadata:
labels:
app: flask-web
spec:
containers:
- name: flask-container
image: tetianamohorian/hate-speech-bot:latest
command: ["python"]
args: ["web_app.py"]
ports:
- containerPort: 5000
---
apiVersion: v1
kind: Service
metadata:
name: flask-service
namespace: botspace
spec:
selector:
app: flask-web
ports:
- port: 5000
targetPort: 5000
protocol: TCP