Commit ea2ddbe9 authored by Carlos Natalino's avatar Carlos Natalino
Browse files

Fixing the port of the service according to the MS 5.1, from 10010 to the correct one 10000

parent 8cc9f9ab
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ spec:
        image: registry.gitlab.com/teraflow-h2020/controller/centralizedcybersecurity:latest
        imagePullPolicy: Always
        ports:
        - containerPort: 10010
        - containerPort: 10000
        env:
        - name: DB_ENGINE
          value: "redis"
@@ -49,8 +49,8 @@ spec:
    app: centralizedcybersecurityservice
  ports:
  - name: grpc
    port: 10010
    targetPort: 10010
    port: 10000
    targetPort: 10000
---
apiVersion: v1
kind: Service
@@ -65,6 +65,6 @@ spec:
  ports:
  - name: grpc
    protocol: TCP
    port: 10010
    targetPort: 10010
    port: 10000
    targetPort: 10000
---
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ import logging
LOG_LEVEL = logging.WARNING

# gRPC settings
GRPC_SERVICE_PORT = 10010
GRPC_SERVICE_PORT = 10000
GRPC_MAX_WORKERS  = 10
GRPC_GRACE_PERIOD = 60