mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 03:52:44 +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
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /get
|
||||
prefix: /server-d
|
||||
route:
|
||||
- destination:
|
||||
port:
|
||||
@@ -250,7 +250,7 @@ spec:
|
||||
hosts:
|
||||
- "*"
|
||||
gateways:
|
||||
- server-check-gateway
|
||||
- expose-server-gateway
|
||||
tcp:
|
||||
- match:
|
||||
- port: 6000
|
||||
@@ -269,4 +269,6 @@ spec:
|
||||
weight: 50
|
||||
mirror:
|
||||
host: mirror-service
|
||||
port:
|
||||
number: 6000
|
||||
mirror_percent: 100
|
@@ -14,7 +14,7 @@ def doRequest(path):
|
||||
return "None"
|
||||
|
||||
|
||||
@app.route('/get')
|
||||
@app.route('/server-d/get')
|
||||
def get():
|
||||
with open("test.txt", "r") as infile:
|
||||
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