Merge pull request #1580 from scottyah/kubernetes-autoscaler-fix

updated API version, parameter structure
This commit is contained in:
Alexey Pustovalov 2024-12-05 05:12:31 +02:00
parent 4852a71bd1
commit 60312938b2

View File

@ -1263,7 +1263,7 @@ spec:
path: /var/run path: /var/run
type: '' type: ''
--- ---
apiVersion: autoscaling/v2beta1 apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: zabbix-web name: zabbix-web
@ -1279,7 +1279,9 @@ spec:
- type: Resource - type: Resource
resource: resource:
name: cpu name: cpu
targetAverageUtilization: 70 target:
type: Utilization
averageUtilization: 70
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim