Loading .dockerignore 0 → 100644 +17 −0 Original line number Diff line number Diff line # Avoid including these folders when building the components .git/ .gitlab/ .vscode/ coverage/ data/ deploy/ manifests/ hackfest/ scripts/ tmp/ ecoc22/ nfvsdn22/ oeccpsc22/ ofc22/ ofc23/ manifests/contextservice.yaml +24 −24 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ spec: - name: MB_BACKEND value: "nats" - name: LOG_LEVEL value: "INFO" value: "DEBUG" envFrom: - secretRef: name: crdb-data Loading @@ -54,7 +54,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:1010"] resources: requests: cpu: 250m cpu: 125m memory: 128Mi limits: cpu: 1000m Loading @@ -79,25 +79,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: contextservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: contextservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: contextservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: contextservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30 manifests/deviceservice.yaml +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:2020"] Loading @@ -48,7 +48,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:2020"] resources: requests: cpu: 250m cpu: 125m memory: 128Mi limits: cpu: 1000m Loading manifests/interdomainservice.yaml +4 −2 Original line number Diff line number Diff line Loading @@ -35,7 +35,9 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" - name: TOPOLOGY_ABSTRACTOR value: "DISABLE" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10010"] Loading @@ -44,7 +46,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10010"] resources: requests: cpu: 250m cpu: 125m memory: 64Mi limits: cpu: 1000m Loading manifests/pathcompservice.yaml +27 −27 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10020"] Loading @@ -45,11 +45,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10020"] resources: requests: cpu: 50m memory: 64Mi cpu: 125m memory: 128Mi limits: cpu: 500m memory: 512Mi cpu: 1000m memory: 1024Mi - name: backend image: labs.etsi.org:5050/tfs/controller/pathcomp-backend:latest imagePullPolicy: Always Loading Loading @@ -98,25 +98,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: pathcompservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: pathcompservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: pathcompservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: pathcompservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30 Loading
.dockerignore 0 → 100644 +17 −0 Original line number Diff line number Diff line # Avoid including these folders when building the components .git/ .gitlab/ .vscode/ coverage/ data/ deploy/ manifests/ hackfest/ scripts/ tmp/ ecoc22/ nfvsdn22/ oeccpsc22/ ofc22/ ofc23/
manifests/contextservice.yaml +24 −24 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ spec: - name: MB_BACKEND value: "nats" - name: LOG_LEVEL value: "INFO" value: "DEBUG" envFrom: - secretRef: name: crdb-data Loading @@ -54,7 +54,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:1010"] resources: requests: cpu: 250m cpu: 125m memory: 128Mi limits: cpu: 1000m Loading @@ -79,25 +79,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: contextservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: contextservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: contextservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: contextservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30
manifests/deviceservice.yaml +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:2020"] Loading @@ -48,7 +48,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:2020"] resources: requests: cpu: 250m cpu: 125m memory: 128Mi limits: cpu: 1000m Loading
manifests/interdomainservice.yaml +4 −2 Original line number Diff line number Diff line Loading @@ -35,7 +35,9 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" - name: TOPOLOGY_ABSTRACTOR value: "DISABLE" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10010"] Loading @@ -44,7 +46,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10010"] resources: requests: cpu: 250m cpu: 125m memory: 64Mi limits: cpu: 1000m Loading
manifests/pathcompservice.yaml +27 −27 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10020"] Loading @@ -45,11 +45,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10020"] resources: requests: cpu: 50m memory: 64Mi cpu: 125m memory: 128Mi limits: cpu: 500m memory: 512Mi cpu: 1000m memory: 1024Mi - name: backend image: labs.etsi.org:5050/tfs/controller/pathcomp-backend:latest imagePullPolicy: Always Loading Loading @@ -98,25 +98,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: pathcompservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: pathcompservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 #--- #apiVersion: autoscaling/v2 #kind: HorizontalPodAutoscaler #metadata: # name: pathcompservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: pathcompservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30