Loading manifests/contextservice.yaml +23 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ spec: selector: matchLabels: app: contextservice replicas: 1 #replicas: 1 template: metadata: labels: Loading Loading @@ -77,3 +77,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: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 manifests/pathcompservice.yaml +25 −5 Original line number Diff line number Diff line Loading @@ -20,11 +20,9 @@ spec: selector: matchLabels: app: pathcompservice replicas: 1 #replicas: 1 template: metadata: #annotations: # config.linkerd.io/opaque-ports: "8081" labels: app: pathcompservice spec: Loading Loading @@ -55,8 +53,8 @@ spec: - name: backend image: labs.etsi.org:5050/tfs/controller/pathcomp-backend:latest imagePullPolicy: Always #ports: #- containerPort: 8081 ports: - containerPort: 8081 #readinessProbe: # httpGet: # path: /health Loading Loading @@ -100,3 +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: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 manifests/serviceservice.yaml +23 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ spec: selector: matchLabels: app: serviceservice replicas: 1 #replicas: 1 template: metadata: labels: Loading Loading @@ -70,3 +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: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 manifests/sliceservice.yaml +23 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ spec: selector: matchLabels: app: sliceservice replicas: 1 #replicas: 1 template: metadata: labels: Loading Loading @@ -75,3 +75,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: sliceservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: sliceservice minReplicas: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 Loading
manifests/contextservice.yaml +23 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ spec: selector: matchLabels: app: contextservice replicas: 1 #replicas: 1 template: metadata: labels: Loading Loading @@ -77,3 +77,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: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30
manifests/pathcompservice.yaml +25 −5 Original line number Diff line number Diff line Loading @@ -20,11 +20,9 @@ spec: selector: matchLabels: app: pathcompservice replicas: 1 #replicas: 1 template: metadata: #annotations: # config.linkerd.io/opaque-ports: "8081" labels: app: pathcompservice spec: Loading Loading @@ -55,8 +53,8 @@ spec: - name: backend image: labs.etsi.org:5050/tfs/controller/pathcomp-backend:latest imagePullPolicy: Always #ports: #- containerPort: 8081 ports: - containerPort: 8081 #readinessProbe: # httpGet: # path: /health Loading Loading @@ -100,3 +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: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30
manifests/serviceservice.yaml +23 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ spec: selector: matchLabels: app: serviceservice replicas: 1 #replicas: 1 template: metadata: labels: Loading Loading @@ -70,3 +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: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30
manifests/sliceservice.yaml +23 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ spec: selector: matchLabels: app: sliceservice replicas: 1 #replicas: 1 template: metadata: labels: Loading Loading @@ -75,3 +75,25 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: sliceservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: sliceservice minReplicas: 2 maxReplicas: 5 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30