diff --git a/manifests/deviceservice.yaml b/manifests/deviceservice.yaml index bf599d0b4d898588ea2850927c4daca50c359202..bd7c1bf1e9622b3e730dddfbfeb83e647cd2aa50 100644 --- a/manifests/deviceservice.yaml +++ b/manifests/deviceservice.yaml @@ -70,30 +70,30 @@ spec: selector: app: deviceservice ports: - - name: grpc - protocol: TCP - port: 2020 - targetPort: 2020 - - name: metrics - protocol: TCP - port: 9192 - targetPort: 9192 + - name: grpc + protocol: TCP + port: 2020 + targetPort: 2020 + - name: metrics + protocol: TCP + port: 9192 + targetPort: 9192 --- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: deviceservice-hpa -spec: - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: deviceservice - minReplicas: 1 - maxReplicas: 10 - metrics: - - type: Resource - resource: - name: cpu - target: - type: Utilization - averageUtilization: 80 +# apiVersion: autoscaling/v2 +# kind: HorizontalPodAutoscaler +# metadata: +# name: deviceservice-hpa +# spec: +# scaleTargetRef: +# apiVersion: apps/v1 +# kind: Deployment +# name: deviceservice +# minReplicas: 1 +# maxReplicas: 10 +# metrics: +# - type: Resource +# resource: +# name: cpu +# target: +# type: Utilization +# averageUtilization: 80 diff --git a/manifests/monitoringservice.yaml b/manifests/monitoringservice.yaml index 4058436e5d8cede64866fd0fb029da8a70d340d4..a37073b2f1f42c42cc90a5a8aac2bdaf6fc962a1 100644 --- a/manifests/monitoringservice.yaml +++ b/manifests/monitoringservice.yaml @@ -65,30 +65,30 @@ spec: selector: app: monitoringservice ports: - - name: grpc - protocol: TCP - port: 7070 - targetPort: 7070 - - name: metrics - protocol: TCP - port: 9192 - targetPort: 9192 + - name: grpc + protocol: TCP + port: 7070 + targetPort: 7070 + - name: metrics + protocol: TCP + port: 9192 + targetPort: 9192 --- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: monitoringservice-hpa -spec: - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: monitoringservice - minReplicas: 1 - maxReplicas: 10 - metrics: - - type: Resource - resource: - name: cpu - target: - type: Utilization - averageUtilization: 80 +# apiVersion: autoscaling/v2 +# kind: HorizontalPodAutoscaler +# metadata: +# name: monitoringservice-hpa +# spec: +# scaleTargetRef: +# apiVersion: apps/v1 +# kind: Deployment +# name: monitoringservice +# minReplicas: 1 +# maxReplicas: 10 +# metrics: +# - type: Resource +# resource: +# name: cpu +# target: +# type: Utilization +# averageUtilization: 80