Odstranit z2/flask-web.yaml
This commit is contained in:
parent
3ee89abeaa
commit
40a1b81a52
@ -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
|
Loading…
Reference in New Issue
Block a user