Compare commits
2 Commits
65087ead35
...
42031650c4
Author | SHA1 | Date |
---|---|---|
Paul Warren | 42031650c4 | |
Paul Warren | a623c8f9b8 |
|
@ -5,7 +5,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app: desteg
|
app: desteg
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 3
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: desteg
|
app: desteg
|
||||||
|
@ -19,3 +19,16 @@ spec:
|
||||||
image: dockerhub.kube:5000/desteg:latest
|
image: dockerhub.kube:5000/desteg:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5002
|
- containerPort: 5002
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: desteg
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: desteg
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 5002
|
||||||
|
targetPort: 5002
|
||||||
|
type: LoadBalancer
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
numpy==1.16.2
|
numpy==1.16.2
|
||||||
Flask==1.0.2
|
Flask>=2.0.3
|
||||||
Pillow==6.2.0
|
Pillow==6.2.0
|
||||||
gunicorn==20.0.4
|
gunicorn==20.0.4
|
||||||
|
|
Loading…
Reference in New Issue