Skip to content

Commit

Permalink
правила автоматического масштабирования
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanporty committed Jan 13, 2020
1 parent a687094 commit 898cc11
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions time-service/k8s/autoscale/hpa-time-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
creationTimestamp: null
name: time-service
spec:
maxReplicas: 3
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: time-service
targetCPUUtilizationPercentage: 80

0 comments on commit 898cc11

Please sign in to comment.