xLog/deploy/prod/hpa.yaml

14 lines
258 B
YAML

apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: xlog
namespace: crossbell
spec:
maxReplicas: 8
minReplicas: 5
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: xlog
targetCPUUtilizationPercentage: 70