diff --git a/manifests/contextservice.yaml b/manifests/contextservice.yaml index 04da586dfeb25a01a6f5267aa31441498ce4f2cc..41a55e468d8e565613e5f7a0e7cb7315bd9af212 100644 --- a/manifests/contextservice.yaml +++ b/manifests/contextservice.yaml @@ -34,7 +34,7 @@ spec: - containerPort: 6379 resources: requests: - cpu: 250m + cpu: 200m memory: 512Mi limits: cpu: 700m @@ -64,7 +64,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:1010"] resources: requests: - cpu: 250m + cpu: 200m memory: 512Mi limits: cpu: 700m diff --git a/manifests/deviceservice.yaml b/manifests/deviceservice.yaml index 46c7557d9178d1bb2bc36eda13a088606f56cede..2c450c61941a16511fa9fac68d86ea9af7149831 100644 --- a/manifests/deviceservice.yaml +++ b/manifests/deviceservice.yaml @@ -43,7 +43,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:2020"] resources: requests: - cpu: 250m + cpu: 200m memory: 512Mi limits: cpu: 700m diff --git a/manifests/dltservice.yaml b/manifests/dltservice.yaml index 5ef6eae7de6cb7c839b0cb17e65c8b3f045c1d66..7e00bd1508b8ea1ccb418b736dc0e4672e9deeca 100644 --- a/manifests/dltservice.yaml +++ b/manifests/dltservice.yaml @@ -34,7 +34,12 @@ spec: - containerPort: 8080 env: - name: LOG_LEVEL - value: "INFO" + value: "DEBUG" + # for debug purposes + - name: DLT_GATEWAY_HOST + value: "mock-blockchain.tfs-bchain.svc.cluster.local" + - name: DLT_GATEWAY_PORT + value: "50051" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:8080"] @@ -43,33 +48,33 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:8080"] resources: requests: - cpu: 250m - memory: 512Mi - limits: - cpu: 700m - memory: 1024Mi - - name: gateway - image: registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest - imagePullPolicy: Always - #readinessProbe: - # httpGet: - # path: /health - # port: 8081 - # initialDelaySeconds: 5 - # timeoutSeconds: 5 - #livenessProbe: - # httpGet: - # path: /health - # port: 8081 - # initialDelaySeconds: 5 - # timeoutSeconds: 5 - resources: - requests: - cpu: 250m + cpu: 200m memory: 512Mi limits: cpu: 700m memory: 1024Mi +# - name: gateway +# image: registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest +# imagePullPolicy: Always +# #readinessProbe: +# # httpGet: +# # path: /health +# # port: 8081 +# # initialDelaySeconds: 5 +# # timeoutSeconds: 5 +# #livenessProbe: +# # httpGet: +# # path: /health +# # port: 8081 +# # initialDelaySeconds: 5 +# # timeoutSeconds: 5 +# resources: +# requests: +# cpu: 200m +# memory: 512Mi +# limits: +# cpu: 700m +# memory: 1024Mi --- apiVersion: v1 kind: Service diff --git a/manifests/interdomainservice.yaml b/manifests/interdomainservice.yaml index ca30da0101659f801440af343e42851146d17bda..8073ff76f508cf0b4f5a4a9db92082bc6ee68b47 100644 --- a/manifests/interdomainservice.yaml +++ b/manifests/interdomainservice.yaml @@ -43,7 +43,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10010"] resources: requests: - cpu: 250m + cpu: 100m memory: 512Mi limits: cpu: 700m diff --git a/manifests/mock_blockchain.yaml b/manifests/mock_blockchain.yaml index b383d7db42be9eb3c9dc7758c230f5250eb43db1..1e1a1a4c647962fc6749695f65d942e7d866ce69 100644 --- a/manifests/mock_blockchain.yaml +++ b/manifests/mock_blockchain.yaml @@ -43,7 +43,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:50051"] resources: requests: - cpu: 250m + cpu: 150m memory: 512Mi limits: cpu: 700m diff --git a/manifests/pathcompservice.yaml b/manifests/pathcompservice.yaml index d5939cb154443139be88d8e0ac23c281a3b18c4d..c0f018beb979cf67f51b7cedbbd4bf50f3ea9f60 100644 --- a/manifests/pathcompservice.yaml +++ b/manifests/pathcompservice.yaml @@ -43,7 +43,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10020"] resources: requests: - cpu: 250m + cpu: 100m memory: 512Mi limits: cpu: 700m @@ -65,7 +65,7 @@ spec: # timeoutSeconds: 5 resources: requests: - cpu: 250m + cpu: 200m memory: 512Mi limits: cpu: 700m diff --git a/manifests/serviceservice.yaml b/manifests/serviceservice.yaml index efe43fe229a7f7ba862b10a04d44c6e9de06b5fb..729aeb5c0d8e1968bbbc479ae1b8e4324bbdb86f 100644 --- a/manifests/serviceservice.yaml +++ b/manifests/serviceservice.yaml @@ -43,7 +43,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:3030"] resources: requests: - cpu: 250m + cpu: 100m memory: 512Mi limits: cpu: 700m diff --git a/manifests/sliceservice.yaml b/manifests/sliceservice.yaml index eeed3776c10958751b74fc81b52ab79806153b18..67af029b648777bd2ad2ae90fea498b457ba8c3a 100644 --- a/manifests/sliceservice.yaml +++ b/manifests/sliceservice.yaml @@ -43,7 +43,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:4040"] resources: requests: - cpu: 250m + cpu: 100m memory: 512Mi limits: cpu: 700m diff --git a/manifests/webuiservice.yaml b/manifests/webuiservice.yaml index fe08d37aefb29ea3d6169ffad0e28d0efd3ed4d8..fd5d178220d8c6fa8a2fc3adfc259352ffa0a723 100644 --- a/manifests/webuiservice.yaml +++ b/manifests/webuiservice.yaml @@ -55,7 +55,7 @@ spec: timeoutSeconds: 1 resources: requests: - cpu: 250m + cpu: 100m memory: 512Mi limits: cpu: 700m