Skip to content
Snippets Groups Projects
Commit 4788a506 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Updated QoS Profile gRPC port

parent 99d2ad3e
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!257Resolve "Create QoSProfile component"
......@@ -32,17 +32,17 @@ spec:
image: labs.etsi.org:5050/tfs/controller/qos_profile:latest
imagePullPolicy: Always
ports:
- containerPort: 30060
- containerPort: 20040
- containerPort: 9192
env:
- name: LOG_LEVEL
value: "INFO"
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:30060"]
command: ["/bin/grpc_health_probe", "-addr=:20040"]
livenessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:30060"]
command: ["/bin/grpc_health_probe", "-addr=:20040"]
resources:
requests:
cpu: 250m
......@@ -64,8 +64,8 @@ spec:
ports:
- name: grpc
protocol: TCP
port: 30060
targetPort: 30060
port: 20040
targetPort: 20040
- name: metrics
protocol: TCP
port: 9192
......
......@@ -18,7 +18,7 @@ from common.proto.context_pb2 import Uuid, QoSProfileValueUnitPair, QoSProfileId
@pytest.fixture(scope='function')
def qos_profile_client():
_client = QoSProfileClient(host='0.0.0.0', port=30060)
_client = QoSProfileClient(host='0.0.0.0', port=20040)
yield _client
_client.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment