update
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m50s

This commit is contained in:
matst80
2024-11-09 13:57:09 +01:00
parent 28ed80e20a
commit a7c5332db0
6 changed files with 39 additions and 41 deletions

11
deployment/scaling.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: cart-scaler
spec:
scaleTargetRef:
kind: Deployment
name: cart-actor
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 50