Loading manifests/contextservice.yaml +24 −25 Original line number Diff line number Diff line Loading @@ -23,9 +23,8 @@ spec: #replicas: 1 template: metadata: # Deactivated linkerd for the Hackfest #annotations: # config.linkerd.io/skip-outbound-ports: "4222" annotations: config.linkerd.io/skip-outbound-ports: "4222" labels: app: contextservice spec: Loading Loading @@ -80,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 +3 −4 Original line number Diff line number Diff line Loading @@ -23,10 +23,9 @@ spec: replicas: 1 template: metadata: # Deactivated linkerd for the Hackfest #annotations: # # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd # config.linkerd.io/skip-outbound-ports: "8002" annotations: # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd config.linkerd.io/skip-outbound-ports: "8002" labels: app: deviceservice spec: Loading manifests/pathcompservice.yaml +22 −22 Original line number Diff line number Diff line 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 +22 −22 Original line number Diff line number Diff line 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 manifests/sliceservice.yaml +22 −22 Original line number Diff line number Diff line Loading @@ -75,25 +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: 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: sliceservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: sliceservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 Loading
manifests/contextservice.yaml +24 −25 Original line number Diff line number Diff line Loading @@ -23,9 +23,8 @@ spec: #replicas: 1 template: metadata: # Deactivated linkerd for the Hackfest #annotations: # config.linkerd.io/skip-outbound-ports: "4222" annotations: config.linkerd.io/skip-outbound-ports: "4222" labels: app: contextservice spec: Loading Loading @@ -80,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 +3 −4 Original line number Diff line number Diff line Loading @@ -23,10 +23,9 @@ spec: replicas: 1 template: metadata: # Deactivated linkerd for the Hackfest #annotations: # # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd # config.linkerd.io/skip-outbound-ports: "8002" annotations: # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd config.linkerd.io/skip-outbound-ports: "8002" labels: app: deviceservice spec: Loading
manifests/pathcompservice.yaml +22 −22 Original line number Diff line number Diff line 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 +22 −22 Original line number Diff line number Diff line 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
manifests/sliceservice.yaml +22 −22 Original line number Diff line number Diff line Loading @@ -75,25 +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: 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: sliceservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: sliceservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30