Skip to content

Commit

Permalink
fix: update to api-ingress CRD latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ssvaidyanathan committed Aug 14, 2023
1 parent 67c3dc3 commit 52ea80f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions api-ingress/kubernetes-manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
---
# Optional: PodDisruptionBudget will instruct Kubernetes to ensure at least 1 replica
# is available when possible
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: api-ingressgateway
Expand All @@ -70,7 +70,7 @@ spec:
---
# Optional: HorizontalPodAutoscaler will automatically scale the gateway replica count based on
# CPU utilization
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: api-ingressgateway
Expand All @@ -79,7 +79,9 @@ spec:
metrics:
- resource:
name: cpu
targetAverageUtilization: 80
target:
type: Utilization
averageUtilization: 80
type: Resource
minReplicas: 3
scaleTargetRef:
Expand Down

0 comments on commit 52ea80f

Please sign in to comment.