Commit 4788a506 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Updated QoS Profile gRPC port

parent 99d2ad3e
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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()