Use the save API version for the HPA controller and the deployment (#807)

This supposedly can fix our deployment problem. Tested on alpha.

Also updated the deployment script to replace the service object as
well.
This commit is contained in:
Lai Jiang 2020-09-16 09:15:35 -04:00 committed by GitHub
parent 5765be52d2
commit b6ed1982c3
3 changed files with 5 additions and 3 deletions

View file

@ -43,7 +43,7 @@ metadata:
app: proxy-canary
spec:
scaleTargetRef:
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
name: proxy-deployment-canary
maxReplicas: 10

View file

@ -43,7 +43,7 @@ metadata:
app: proxy
spec:
scaleTargetRef:
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
name: proxy-deployment
maxReplicas: 10