apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
  name: test-autoscaler 
spec:
  scaleTargetRef:
    kind: DeploymentConfig 
    name: frontend 
    apiVersion: v1
  minReplicas: 1 
  maxReplicas: 10  