diff --git a/deployment/scaling.yaml b/deployment/scaling.yaml index 7d3eda5..6024cad 100644 --- a/deployment/scaling.yaml +++ b/deployment/scaling.yaml @@ -1,12 +1,25 @@ apiVersion: autoscaling/v1 kind: HorizontalPodAutoscaler metadata: - name: cart-scaler + name: cart-scaler-amd spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment - name: cart-actor-amd64 + name: cart-actor-x86 minReplicas: 3 maxReplicas: 9 - targetCPUUtilizationPercentage: 50 \ No newline at end of file + targetCPUUtilizationPercentage: 30 +--- +apiVersion: autoscaling/v1 +kind: HorizontalPodAutoscaler +metadata: + name: cart-scaler-arm +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: cart-actor-arm64 + minReplicas: 3 + maxReplicas: 9 + targetCPUUtilizationPercentage: 30 \ No newline at end of file