Skip to content

Commit

Permalink
feat: adding hpa
Browse files Browse the repository at this point in the history
  • Loading branch information
Raezil committed Mar 1, 2025
1 parent b74339c commit 3dbc846
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions k8s/hpa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: thunder-hpa
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: thunder-deployment
minReplicas: 2
maxReplicas: 10
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 70

0 comments on commit 3dbc846

Please sign in to comment.