summaryrefslogtreecommitdiff
path: root/yaml/networking/balance.yaml
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-01-17 11:41:55 +0100
committerSanto Cariotti <santo@dcariotti.me>2025-01-17 11:41:55 +0100
commit6cfd0194f65d7730fedcf4ac100f0c3aa28ad06d (patch)
tree51ef1435683788985a83f1bef00e35532735d045 /yaml/networking/balance.yaml
parenta8a948998cd12c5bfbb24a1fcf123901c70cb1c0 (diff)
Use only three files
Diffstat (limited to 'yaml/networking/balance.yaml')
-rw-r--r--yaml/networking/balance.yaml37
1 files changed, 0 insertions, 37 deletions
diff --git a/yaml/networking/balance.yaml b/yaml/networking/balance.yaml
deleted file mode 100644
index a2367e7..0000000
--- a/yaml/networking/balance.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-apiVersion: autoscaling/v2
-kind: HorizontalPodAutoscaler
-metadata:
- name: cas-hpa
-spec:
- scaleTargetRef:
- apiVersion: apps/v1
- kind: Deployment
- name: cas-deployment
- minReplicas: 1
- maxReplicas: 10
- metrics:
- - type: Resource
- resource:
- name: cpu
- target:
- type: Utilization
- averageUtilization: 70
- - type: Resource
- resource:
- name: memory
- target:
- type: Utilization
- averageUtilization: 70
- behavior:
- scaleUp:
- stabilizationWindowSeconds: 60
- policies:
- - type: Percent
- value: 100
- periodSeconds: 15
- scaleDown:
- stabilizationWindowSeconds: 300
- policies:
- - type: Percent
- value: 100
- periodSeconds: 15