timeseries-ingestion-autoscaler.yaml 464 Bytes
Newer Older
snehal jagtap's avatar
snehal jagtap committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: ingestion-pipeline
spec:
  scaleTargetRef:
    apiVersion: extensions/v1beta1
    kind: Deployment
    name: ingestion-pipeline
  minReplicas: 1
  maxReplicas: 4
  metrics:
  - type: Pods
    pods:
      metricName: network_packets_received_rate
      targetAverageValue: 10000m
  - type: Pods
    pods:
      metricName: network_packets_transmit_rate
      targetAverageValue: 10000m