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 authored and tekton-robot committed Jul 14, 2024
1 parent 5095a31 commit 4fef46a
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 4fef46a

Please sign in to comment.