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 b2e4f07bb9
commit 157d9f75c1
3 changed files with 5 additions and 3 deletions
+1 -1
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
+1 -1
View File
@@ -43,7 +43,7 @@ metadata:
app: proxy
spec:
scaleTargetRef:
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
name: proxy-deployment
maxReplicas: 10