Skip to content

Commit

Permalink
Fix HPA apiVersion
Browse files Browse the repository at this point in the history
this will fix the hpa apiVersion using deprecated
resource, move to v2 and spec accordingly
  • Loading branch information
piyush-garg committed Jul 14, 2024
1 parent 47ac2ea commit 12f4a4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ spec:
app.kubernetes.io/part-of: tekton-pipelines

---
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: tekton-pipelines-webhook
Expand All @@ -232,6 +232,8 @@ spec:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 100
target:
type: Utilization
averageUtilization: 100

---
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ spec:
app.kubernetes.io/part-of: tekton-pipelines

---
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: tekton-pipelines-webhook
Expand All @@ -236,6 +236,8 @@ spec:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 100
target:
type: Utilization
averageUtilization: 100

---

0 comments on commit 12f4a4b

Please sign in to comment.