Commit f163a56c authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Deployment hacks:

- Deactivated linkerd
- Deactivated service monitors
- Added missing slice component
- Enabled build of all components during deploy
- Added missing symbolic link ecoc24
- Corrected paths in ecoc24/deploy.sh
- Deactivated grafana dashboard
- Adjusted compute request limits per component
- Deactivated Horizontal Pod Autoscalers
parent 3c786ac4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -279,8 +279,8 @@ for COMPONENT in $TFS_COMPONENTS; do

    echo "  Adapting '$COMPONENT' manifest file..."
    MANIFEST="$TMP_MANIFESTS_FOLDER/${COMPONENT}service.yaml"
    # cp ./manifests/"${COMPONENT}"service.yaml "$MANIFEST"
    cat ./manifests/"${COMPONENT}"service.yaml | linkerd inject - --proxy-cpu-request "10m" --proxy-cpu-limit "1" --proxy-memory-request "64Mi" --proxy-memory-limit "256Mi" > "$MANIFEST"
    cp ./manifests/"${COMPONENT}"service.yaml "$MANIFEST"
    #cat ./manifests/"${COMPONENT}"service.yaml | linkerd inject - --proxy-cpu-request "10m" --proxy-cpu-limit "1" --proxy-memory-request "64Mi" --proxy-memory-limit "256Mi" > "$MANIFEST"

    if [ "$COMPONENT" == "pathcomp" ]; then
        IMAGE_URL=$(echo "$TFS_REGISTRY_IMAGES/$COMPONENT-frontend:$TFS_IMAGE_TAG" | sed 's,//,/,g' | sed 's,http:/,,g')

ecoc24

0 → 120000
+1 −0
Original line number Diff line number Diff line
src/tests/ecoc24/
 No newline at end of file
+23 −23
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ spec:
              command: ["/bin/grpc_health_probe", "-addr=:1010"]
          resources:
            requests:
              cpu: 250m
              cpu: 200m
              memory: 128Mi
            limits:
              cpu: 1000m
@@ -83,25 +83,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
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ spec:
              command: ["/bin/grpc_health_probe", "-addr=:2020"]
          resources:
            requests:
              cpu: 250m
              cpu: 200m
              memory: 128Mi
            limits:
              cpu: 1000m
+2 −23
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ spec:
  selector:
    matchLabels:
      app: e2e-orchestratorservice
  replicas: 1
  template:
    metadata:
      annotations:
@@ -48,7 +49,7 @@ spec:
              command: ["/bin/grpc_health_probe", "-addr=:10050"]
          resources:
            requests:
              cpu: 250m
              cpu: 200m
              memory: 128Mi
            limits:
              cpu: 1000m
@@ -74,25 +75,3 @@ spec:
    - name: ws
      port: 8765
      targetPort: 8765
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  name: e2e-orchestratorservice-hpa
spec:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: e2e-orchestratorservice
  minReplicas: 1
  maxReplicas: 20
  metrics:
    - type: Resource
      resource:
        name: cpu
        target:
          type: Utilization
          averageUtilization: 80
  #behavior:
  #  scaleDown:
  #    stabilizationWindowSeconds: 30
Loading