apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
  name: doc-executor
  namespace: default
spec:
  scaleTargetRef:
    apiVersion: apps/v1beta1
    kind: Deployment
    name: doc-executor
  minReplicas: 4
  maxReplicas: 4
