mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-30 04:22:49 +00:00
deployment aangepast en betere urls, kweet nie waarom het niet werkt, kga terug efkes focusse op pipeline te laten werken
This commit is contained in:
@@ -214,7 +214,7 @@ spec:
|
|||||||
host: expose-server-service
|
host: expose-server-service
|
||||||
- match:
|
- match:
|
||||||
- uri:
|
- uri:
|
||||||
prefix: /get
|
prefix: /server-d
|
||||||
route:
|
route:
|
||||||
- destination:
|
- destination:
|
||||||
port:
|
port:
|
||||||
@@ -250,7 +250,7 @@ spec:
|
|||||||
hosts:
|
hosts:
|
||||||
- "*"
|
- "*"
|
||||||
gateways:
|
gateways:
|
||||||
- server-check-gateway
|
- expose-server-gateway
|
||||||
tcp:
|
tcp:
|
||||||
- match:
|
- match:
|
||||||
- port: 6000
|
- port: 6000
|
||||||
@@ -269,4 +269,6 @@ spec:
|
|||||||
weight: 50
|
weight: 50
|
||||||
mirror:
|
mirror:
|
||||||
host: mirror-service
|
host: mirror-service
|
||||||
|
port:
|
||||||
|
number: 6000
|
||||||
mirror_percent: 100
|
mirror_percent: 100
|
@@ -14,7 +14,7 @@ def doRequest(path):
|
|||||||
return "None"
|
return "None"
|
||||||
|
|
||||||
|
|
||||||
@app.route('/get')
|
@app.route('/server-d/get')
|
||||||
def get():
|
def get():
|
||||||
with open("test.txt", "r") as infile:
|
with open("test.txt", "r") as infile:
|
||||||
return 'we have something: ' + '\n '.join(infile.readlines())
|
return 'we have something: ' + '\n '.join(infile.readlines())
|
||||||
|
1
serverD/requirements.txt
Normal file
1
serverD/requirements.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Flask
|
Reference in New Issue
Block a user