Commit 4c15e05 1 parent 130297b commit 4c15e05 Copy full SHA for 4c15e05
File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ resources:
7
7
- persistent-volume.yaml
8
8
- wp-helmrelease.yaml
9
9
- wp-apache-dashboard-cm.yaml
10
+ - wp-vpa.yaml
Original file line number Diff line number Diff line change
1
+ apiVersion : autoscaling.k8s.io/v1
2
+ kind : VerticalPodAutoscaler
3
+ metadata :
4
+ name : wp-${wp_name}
5
+ spec :
6
+ targetRef :
7
+ apiVersion : " apps/v1"
8
+ kind : Deployment
9
+ name : wp-${wp_name}
10
+ updatePolicy :
11
+ updateMode : " Auto"
12
+ resourcePolicy :
13
+ containerPolicies :
14
+ - containerName : " wordpress"
15
+ minAllowed :
16
+ cpu : 50m
17
+ memory : 128Mi
18
+ maxAllowed :
19
+ cpu : 500m
20
+ memory : 512Mi
21
+ controlledResources : ["cpu", "memory"]
22
+ - containerName : " metrics"
23
+ minAllowed :
24
+ cpu : 10m
25
+ memory : 32Mi
26
+ maxAllowed :
27
+ cpu : 500m
28
+ memory : 250Mi
29
+ controlledResources : ["cpu", "memory"]
You can’t perform that action at this time.
0 commit comments