From 4788a506c97bb3085278f3bd0fef802e30bef90f Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Fri, 13 Sep 2024 15:08:57 +0000 Subject: [PATCH] Updated QoS Profile gRPC port --- manifests/qos_profileservice.yaml | 10 +++++----- src/qos_profile/tests/conftest.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/qos_profileservice.yaml b/manifests/qos_profileservice.yaml index 1bcaa500f..2ad7fa055 100644 --- a/manifests/qos_profileservice.yaml +++ b/manifests/qos_profileservice.yaml @@ -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 diff --git a/src/qos_profile/tests/conftest.py b/src/qos_profile/tests/conftest.py index 8d8e455f2..5c95fd62c 100644 --- a/src/qos_profile/tests/conftest.py +++ b/src/qos_profile/tests/conftest.py @@ -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() -- GitLab