Loading manifests/contextservice.yaml +25 −25 Original line number Diff line number Diff line Loading @@ -54,11 +54,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:1010"] resources: requests: cpu: 250m cpu: 150m memory: 128Mi limits: cpu: 1000m memory: 1024Mi cpu: 500m memory: 512Mi --- apiVersion: v1 kind: Service 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 +4 −4 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,11 +48,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:2020"] resources: requests: cpu: 250m cpu: 150m memory: 128Mi limits: cpu: 1000m memory: 1024Mi cpu: 500m memory: 512Mi --- apiVersion: v1 kind: Service Loading manifests/monitoringservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" envFrom: - secretRef: name: qdb-data Loading manifests/pathcompservice.yaml +24 −24 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 Loading @@ -72,7 +72,7 @@ spec: cpu: 100m memory: 256Mi limits: cpu: 700m cpu: 500m memory: 1024Mi --- apiVersion: v1 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 manifests/serviceservice.yaml +26 −26 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=:3030"] Loading @@ -45,11 +45,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:3030"] resources: requests: cpu: 250m cpu: 150m memory: 128Mi limits: cpu: 1000m memory: 1024Mi cpu: 500m memory: 512Mi --- apiVersion: v1 kind: Service Loading @@ -70,25 +70,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: serviceservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: serviceservice 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: serviceservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: serviceservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30 Loading
manifests/contextservice.yaml +25 −25 Original line number Diff line number Diff line Loading @@ -54,11 +54,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:1010"] resources: requests: cpu: 250m cpu: 150m memory: 128Mi limits: cpu: 1000m memory: 1024Mi cpu: 500m memory: 512Mi --- apiVersion: v1 kind: Service 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 +4 −4 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,11 +48,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:2020"] resources: requests: cpu: 250m cpu: 150m memory: 128Mi limits: cpu: 1000m memory: 1024Mi cpu: 500m memory: 512Mi --- apiVersion: v1 kind: Service Loading
manifests/monitoringservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" value: "DEBUG" envFrom: - secretRef: name: qdb-data Loading
manifests/pathcompservice.yaml +24 −24 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 Loading @@ -72,7 +72,7 @@ spec: cpu: 100m memory: 256Mi limits: cpu: 700m cpu: 500m memory: 1024Mi --- apiVersion: v1 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
manifests/serviceservice.yaml +26 −26 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=:3030"] Loading @@ -45,11 +45,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:3030"] resources: requests: cpu: 250m cpu: 150m memory: 128Mi limits: cpu: 1000m memory: 1024Mi cpu: 500m memory: 512Mi --- apiVersion: v1 kind: Service Loading @@ -70,25 +70,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: serviceservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: serviceservice 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: serviceservice-hpa #spec: # scaleTargetRef: # apiVersion: apps/v1 # kind: Deployment # name: serviceservice # minReplicas: 1 # maxReplicas: 20 # metrics: # - type: Resource # resource: # name: cpu # target: # type: Utilization # averageUtilization: 80 # #behavior: # # scaleDown: # # stabilizationWindowSeconds: 30