Loading manifests/centralizedcybersecurityservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -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" Loading Loading @@ -49,8 +49,8 @@ spec: app: centralizedcybersecurityservice ports: - name: grpc port: 10010 targetPort: 10010 port: 10000 targetPort: 10000 --- apiVersion: v1 kind: Service Loading @@ -65,6 +65,6 @@ spec: ports: - name: grpc protocol: TCP port: 10010 targetPort: 10010 port: 10000 targetPort: 10000 --- src/centralizedcybersecurity/Config.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
manifests/centralizedcybersecurityservice.yaml +5 −5 Original line number Diff line number Diff line Loading @@ -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" Loading Loading @@ -49,8 +49,8 @@ spec: app: centralizedcybersecurityservice ports: - name: grpc port: 10010 targetPort: 10010 port: 10000 targetPort: 10000 --- apiVersion: v1 kind: Service Loading @@ -65,6 +65,6 @@ spec: ports: - name: grpc protocol: TCP port: 10010 targetPort: 10010 port: 10000 targetPort: 10000 ---
src/centralizedcybersecurity/Config.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading