Skip to content

Commit 197d2a2

Browse files
authored
Merge pull request #51791 from dkarczmarski/ru-sync-43688
[ru] sync with PR 43688
2 parents 3050e75 + c0bc7e8 commit 197d2a2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/ru/examples/application/hpa/php-apache.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: autoscaling/v1
1+
apiVersion: autoscaling/v2
22
kind: HorizontalPodAutoscaler
33
metadata:
44
name: php-apache
@@ -9,4 +9,10 @@ spec:
99
name: php-apache
1010
minReplicas: 1
1111
maxReplicas: 10
12-
targetCPUUtilizationPercentage: 50
12+
metrics:
13+
- type: Resource
14+
resource:
15+
name: cpu
16+
target:
17+
type: Utilization
18+
averageUtilization: 50

0 commit comments

Comments
 (0)