diff options
Diffstat (limited to 'kubernetes/auto-hpa.yaml')
| -rw-r--r-- | kubernetes/auto-hpa.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kubernetes/auto-hpa.yaml b/kubernetes/auto-hpa.yaml new file mode 100644 index 0000000..83dacd9 --- /dev/null +++ b/kubernetes/auto-hpa.yaml @@ -0,0 +1,13 @@ +apiVersion: autoscaling/v1 +kind: HorizontalPodAutoscaler +metadata: + name: my-deployment +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: my-deployment + minReplicas: 1 + maxReplicas: 10 + targetCPUUtilizationPercentage: 50 + |
